harsszegi
2012-03-06 12:05:57 UTC
harsszegi [http://community.zenoss.org/people/harsszegi] created the discussion
"snmpget directly from Python"
To view the discussion, visit: http://community.zenoss.org/message/64965#64965
--------------------------------------------------------------
Hi,
I wish to display device specific values on a skin in my ZenPack as up-to-date as it can be.
My approach would be to issue the "snmpget" directly on the given OID, thus not relying on the
modeler, event manager, etc. infrastructure (it is insane to remodel the complete device
periodically, event manager is also doing per class shell script exection, which is not good for me).
So. How can I "snmpget" from Python to get an OID from my device? Also is there an example
to do this? I.e. snmpget from the device's IP, with proper snmp version/communicate set-up, etc.
so that I only have to set the OID, nothing else.
Thanks,
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64965#64965]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"snmpget directly from Python"
To view the discussion, visit: http://community.zenoss.org/message/64965#64965
--------------------------------------------------------------
Hi,
I wish to display device specific values on a skin in my ZenPack as up-to-date as it can be.
My approach would be to issue the "snmpget" directly on the given OID, thus not relying on the
modeler, event manager, etc. infrastructure (it is insane to remodel the complete device
periodically, event manager is also doing per class shell script exection, which is not good for me).
So. How can I "snmpget" from Python to get an OID from my device? Also is there an example
to do this? I.e. snmpget from the device's IP, with proper snmp version/communicate set-up, etc.
so that I only have to set the OID, nothing else.
Thanks,
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64965#64965]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]