I removed the default cisco router template as we have a mixed environment of Cat OS and IOS cisco switches. The default template does not pull in the Cat OS snmp values correctly as the OID's are slightly different. In the newer IOS, the oid appears to be 1.3.6.1.4.1.9.9.109.1.1.1.1.8 (http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.109.1.1.1.1.8&translate=Translate&submitValue=SUBMIT) while on the older Cat OS it appears to be 1.3.6.1.4.1.9.9.109.1.1.1.1.5 (http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.109.1.1.1.1.5&translate=Translate&submitValue=SUBMIT&submitClicked=true).
> snmpwalk -m ALL -v2c -c public catos_hostname 1.3.6.1.4.1.9.9.109.1.1.1.1.5 > CISCO-PROCESS-MIB::cpmCPUTotal5min.1 = Gauge32: 6 > snmpwalk -m ALL -v2c -c public ios_hostname 1.3.6.1.4.1.9.9.109.1.1.1.1.8 > CISCO-PROCESS-MIB::cpmCPUTotal5minRev.1 = Gauge32: 6 percent I created a custom template for each. For instance, I created a template for the IOS devices and called it "IOS". I defined the DataSource name as cpmCPUTotal5minRev and set the OID as 1.3.6.1.4.1.9.9.109.1.1.1.1.8. I created a Datapoint called "cpmCPUTotal5minRev" as type "Gauge". I then created a Graph Definition named "CPU Usage" and added cpmCPUTotal5minRev as a Graph Point. Then I bound the template to the device and watched the zenperfsnmp log. I would get errors such as the following: > 2008-04-16 09:20:51 WARNING zen.zenperfsnmp: Error reading value for > "cpmCPUTotal5minRev" on hostname (oid .1.3.6.1.4.1.9.9.109.1.1.1.1.8 is bad) >From everything I can tell, the oid is in fact correct (based of of snmpwalk >querying the value. I have also defined the correct community for the device. > I attempted to add a .0 on the end of the oid based off some other docs I >read, but it doesn't seem to apply here as it didn't work...I would still get >the same errors in the logs and I couldn't snmpwalk. I also tried deleting >the .pickle files as mentioned in other threads, but I continue to receive >this error. I don't see any of the other errors that users were seeing in the >zenhub logs >(http://community.zenoss.com/forums/viewtopic.php?t=5268&postdays=0&postorder=asc&highlight=oid&start=15). > I continue to receive these errors and my graphs are blank. Is there something I'm overlooking or setting up incorrectly? Does anyone have any recommendations for further troubleshooting? -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=18585#18585 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
