I actually used the one from the cheeseshop

so easy_install pysnmp pyasn1

as far as index nope but for instance this would work just fine

snmpwalk -v2c -c public localhost IF-MIB::ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 28210409
IF-MIB::ifInOctets.2 = Counter32: 3093221600
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0

[r...@dynasty ~]# /opt/zenoss/libexec/snmp_branch.py -c public -d localhost -p 
161 -o 1.3.6.1.2.1.2.2.1.10
|default0=28609897 default1=3095032105 default2=0 default3=0

or

[r...@dynasty ~]# /opt/zenoss/libexec/snmp_branch.py -c public -d localhost -p 
161 -o 1.3.6.1.2.1.2.2.1.10 --label "lo,eth0,sit0,virbr0"
|lo=28615361 eth0=3095054833 sit0=0 virbr0=0




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=31834#31834

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to