Hello!
I wrote following easy script:
import netsnmp
oid = netsnmp.VarList(netsnmp.Varbind('.1.3.6.1.2.1.2.2.1.2'))
result = netsnmp.snmpwalk(oid,
Version = 2,
DestHost="192.168.22.253",
Community="public")
print result
print oid[0]
I get
<netsnmp.client.Varbind object at 0x7f62067e9750>
for
print oid[0]
I can't find documentation about netsnmp.client.Varbind .
How can I print it's content?
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users