CPU Stats for Cisco Devices

I am trying to figure out how to get CPU data on The Dude. I have entered a community string in the switches I have and all appears to be well, except that it doesn’t show cpu utilization like my Windows Servers do. I can see all the interfaces and what not, but I really want to see the CPU to see it easier than going through the IOS. I have also done an SNMPWalk, although I’m not really sure if that does anything. Any suggestions?

Near the end of the 2nd page of the probe thread is the correct way to setup a cpu graph but I will put it here as well.

Add a Function just like this but with the oid you want to monitor, SNMP walk will show you Cisco has 3 CPU values, Five seconds, One minute, and Five minutes. OID 1.3.6.1.4.1.9.2.1.56, 1.3.6.1.4.1.9.2.1.57 and 1.3.6.1.4.1.9.2.1.58 Respectively.
avail.PNG
Then make a probe and add it as a service to your device.
cpu1.PNG
HTH
SD

Great! That basically answers my other post below as well. Follow up question: How did you find the number string for the MIB?. I created a service like you did, but for type I created SNMP, which didn’t quite work the way it should have. However, it let me searc all the MIBs. I downloaded the MIB package for Cisco which includes a bunch of different stuff, and i think a few more CPU MIBS, 1 sec, 5 sec, 1 min, 5 min, etc like you listed above. Thanks!


Jon

How do you get to your first picture? I can get to the create a function part where it allows me to select between SNMP, Locgi, Function, etc. but I can’t seen to find the first pic. Thanks.

Found it…silly me, but another question, stupid though it may be…what is the difference between a function and a probe. Can I create a fuction in order to shortand other stuff when I create a probe? Thanks for all your help, I currently have a love/hate relationship with this thing! (I still love it!!!)


Jon

Something else I found that may interest you. I downloaded from cisco the MIBs that they create. there is an OID that correlates to the same thing as what you have; it is 1.3.6.1.4.1.9.9.109..1.1.1.1.6-8. I think they are a newer version but am not sure. I am going to try these out as well, but so far no luck. Thanks.

Hey Jon,

The reason to use a function is if you just put the oid in the probe it will have some odd behavior, For example it will install on devices that do not have that OID and it will report as up even if the device is not on the network. You can find in the probe thread how things have evolved… Functions can do other things as well since you can write a whole string of statements. Another reason to read the entire probe thread :slight_smile: look at the disk probe on page 2!

As far as MIBs go I am happy with how things are working ATM. I have stuck a bunch of mibs into my folder and most things report their entire text instead of the number. I would stick with the older OIDs where possible since they will work with most gear. Usually when looking for a new OID I just google… “cisco cpu snmp oid” or what ever.

Another thing that might be of interest to you is I found that if I raise the priority of the service to High the graphing is more consistent. Although I am running Ciscoworks on the same box as the Dude.

Have a great day,
SD