wthat the hack is an oid.... :))))
This commit is contained in:
parent
b2a68e03c1
commit
4a4b3a5a53
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class SnmpgetService(Service):
|
||||||
errorIndication, errorStatus, errorIndex, varBinds = cmdGen.getCmd(
|
errorIndication, errorStatus, errorIndex, varBinds = cmdGen.getCmd(
|
||||||
cmdgen.CommunityData(self.community),
|
cmdgen.CommunityData(self.community),
|
||||||
cmdgen.UdpTransportTarget((self.host, self.port)),
|
cmdgen.UdpTransportTarget((self.host, self.port)),
|
||||||
cmdgen.MibVariable('.1.3.6.1.4.1.2021.10.1.3.1') # linux system load
|
cmdgen.MibVariable(self.oid)
|
||||||
)
|
)
|
||||||
|
|
||||||
if errorIndication:
|
if errorIndication:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue