9 Replies Latest reply on Feb 7, 2012 8:24 PM by shuth

    CPU Question for Cisco Cat 6509 switches

      Regarding the CPU (Min/Max/Average) CPU load Graph for the node details.  How is this calculated? is it using a Cisco vendor MIB?  What is difference between this metric and the metric from the Cisco MIB Old-Cisco-CPU-MIB-avgBusy5 (1.3.6.1.4.1.9.2.1.58)  Some of my network engineering are claiming that the CPU graph stats from CPU Load (Min/Max/Average) are not the same as the stats are done from the switch command link... (i.e. show processes cpu)

        • Re: CPU Question for Cisco Cat 6509 switches
          bshopp

          It depends on the device, but yes we use the Cisco vendor MIB.  We attempt the newer MIB first and if that does not respond, we attempt the older version, but below are the OID's we use.

          Newer Cisco CPU:

          • OID_cpmCPUTotal1min = "1.3.6.1.4.1.9.9.109.1.1.1.1.4"
          • OID_cpmCPUTotal5min = "1.3.6.1.4.1.9.9.109.1.1.1.1.5"
          • OID_cpmCPUTotal1minRev = "1.3.6.1.4.1.9.9.109.1.1.1.1.7"
          • OID_cpmCPUTotal5minRev = "1.3.6.1.4.1.9.9.109.1.1.1.1.8"

          Older Cisco CPU:

          • OID_CiscoAvgBusy1 = "1.3.6.1.4.1.9.2.1.57.0"
          • OID_CiscoAvgBusy5 = "1.3.6.1.4.1.9.2.1.58.0"

          1 of 1 people found this helpful
            • Re: CPU Question for Cisco Cat 6509 switches

              Thanks for the information.. this is very helpful

              • Re: CPU Question for Cisco Cat 6509 switches
                Spiky

                sorry to drag this up, 

                today i used snmp mib browse to find these and i can see as far as

                1.3.6.1.4.1.9

                any reason i cant see past that?  there is nothing in the list?

                 

                all i have is

                 

                0

                19

                20

                21

                • Re: CPU Question for Cisco Cat 6509 switches
                  AlexSl

                  Hi bshopp

                  Can I change/set OID manually?

                  • Re: CPU Question for Cisco Cat 6509 switches
                    shuth

                    Sorry for resurrecting a fairly old post but I believe the posts are relevant.

                    How do the values retrieved correlate to the data displayed in the charts? Which value is stored in the database for CPU load?

                    I was testing on a Cisco 3845 (I know not a 6500 but the same OIDs should still be valid to my knowledge for the Cisco CPU) and got a discrepancy between the device and NPM.

                    Excuse the large amount of data below but the first section contains data from the device console and the second section contains the data from the database/generated chart.

                    I presume the issue lies in the polling timing? The poller would've polled before the spike at 11:32 PM giving the value of 4%, and again after the spike at 11:37 PM giving 22%. The spike shown on the device console happened between this time so the 5min peak of 29% is never captured?

                    Also, I presume the min/max/average data is calculated when the sample interval is larger than the polling interval, and that's why all the values are the same if the sample interval is the same as or less than the polling interval?

                     

                    From the device:

                    node#sh proc cpu
                    CPU utilization for five seconds: 4%/0%; one minute: 5%; five minutes: 4%
                    CPU utilization for five seconds: 4%/0%; one minute: 5%; five minutes: 4%
                    CPU utilization for five seconds: 99%/6%; one minute: 15%; five minutes: 6%
                    CPU utilization for five seconds: 99%/5%; one minute: 28%; five minutes: 9%
                    CPU utilization for five seconds: 99%/10%; one minute: 77%; five minutes: 28%
                    CPU utilization for five seconds: 97%/10%; one minute: 79%; five minutes: 29%
                    CPU utilization for five seconds: 17%/2%; one minute: 72%; five minutes: 29%
                    CPU utilization for five seconds: 4%/0%; one minute: 57%; five minutes: 28%
                    CPU utilization for five seconds: 3%/0%; one minute: 25%; five minutes: 24%
                    CPU utilization for five seconds: 3%/0%; one minute: 23%; five minutes: 24%
                    CPU utilization for five seconds: 3%/0%; one minute: 20%; five minutes: 23%
                    CPU utilization for five seconds: 3%/0%; one minute: 9%; five minutes: 19%
                    CPU utilization for five seconds: 3%/0%; one minute: 9%; five minutes: 19%
                    CPU utilization for five seconds: 3%/0%; one minute: 8%; five minutes: 19%

                    From the NPM chart/raw data:

                    7-Feb-12    11:27 PM    4
                    7-Feb-12    11:28 PM   
                    7-Feb-12    11:29 PM   
                    7-Feb-12    11:30 PM   
                    7-Feb-12    11:31 PM   
                    7-Feb-12    11:32 PM    4
                    7-Feb-12    11:33 PM   
                    7-Feb-12    11:34 PM   
                    7-Feb-12    11:35 PM   
                    7-Feb-12    11:36 PM   
                    7-Feb-12    11:37 PM    22
                    7-Feb-12    11:38 PM   
                    7-Feb-12    11:39 PM   
                    7-Feb-12    11:40 PM   
                    7-Feb-12    11:41 PM   
                    7-Feb-12    11:42 PM    10
                    7-Feb-12    11:43 PM   
                    7-Feb-12    11:44 PM   
                    7-Feb-12    11:45 PM   
                    7-Feb-12    11:46 PM   
                    7-Feb-12    11:47 PM    10
                    7-Feb-12    11:48 PM   
                    7-Feb-12    11:49 PM   
                    7-Feb-12    11:50 PM   
                    7-Feb-12    11:51 PM   
                    7-Feb-12    11:52 PM    6
                    7-Feb-12    11:53 PM   
                    7-Feb-12    11:54 PM   
                    7-Feb-12    11:55 PM   
                    7-Feb-12    11:56 PM   
                    7-Feb-12    11:57 PM    4

                    Cheers