I have an IBM bladecenter and want to graph the temp, voltage, fan, and other core components. When I do a snmpwalk against the chassis, I get the below information SNMPv2-SMI::enterprises.2.3.51.2.2.1.1.2.0 = STRING: "26.00 Centigrade" SNMPv2-SMI::enterprises.2.3.51.2.2.1.5.1.0 = STRING: "15.00 Centigrade" SNMPv2-SMI::enterprises.2.3.51.2.2.2.1.1.0 = STRING: "+5.00 Volts" SNMPv2-SMI::enterprises.2.3.51.2.2.2.1.2.0 = STRING: "+3.35 Volts" SNMPv2-SMI::enterprises.2.3.51.2.2.2.1.3.0 = STRING: "+12.22 Volts" SNMPv2-SMI::enterprises.2.3.51.2.2.2.1.5.0 = STRING: "-4.97 Volts" SNMPv2-SMI::enterprises.2.3.51.2.2.2.1.6.0 = STRING: "+2.44 Volts" SNMPv2-SMI::enterprises.2.3.51.2.2.2.1.8.0 = STRING: "+1.76 Volts" SNMPv2-SMI::enterprises.2.3.51.2.2.3.1.0 = STRING: " 55% of maximum" SNMPv2-SMI::enterprises.2.3.51.2.2.3.2.0 = STRING: " 56% of maximum"
It seems that since snmp is returning strings instead of integers, that graphing is failing. Can anyone help me convert these strings to numbers? Ideally some kind of regex parser would work great -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=33627#33627 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
