cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3643
Views
0
Helpful
3
Replies

OID for monitoring the CPU usage

rsarao
Level 1
Level 1

Hi all,

I have been trying to monitor the CPU usage of cisco FTDs. Right now, I am using the "cpmCPUTotal5minRev" to get the results. I want to know if there is a way to monitor the per thread CPU utilization?

For example: If I want to get the following results of "TOP" command, is there any other OID that can be used?

top - up 13 days, 11:26, 1 user, load average: 0.89, 1.09, 1.09
Tasks: 201 total, 1 running, 297 sleeping, 0 stopped, 3 zombie
%Cpu0 : 41.1 us, 10.9 sy, 2.6 ni, 44.7 id, 0.3 wa, 0.0 hi, 0.3 si, 0.0 st
%Cpu1 : 0.3 us, 1.7 sy, 0.0 ni, 98.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 0.7 us, 0.0 sy, 0.0 ni, 99.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.3 us, 0.0 sy, 0.0 ni, 99.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 1.3 us, 8.6 sy, 2.0 ni, 88.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu5 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st

Thanks in Advance

3 Replies 3

marce1000
Hall of Fame
Hall of Fame

 

 - FYI : https://www.cisco.com/c/en/us/products/collateral/security/firepower-ngfw/white-paper-c11-741739.html

           https://www.cisco.com/c/en/us/products/collateral/security/firepower-ngfw/white-paper-c11-741739.html#_Toc5440015

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

rsarao
Level 1
Level 1

Thanks for the answer @marce1000 . I read that documentation, and have been using same the OID: '.1.3.6.1.4.1.9.9.109.1.1.1.1.8.1'.
https://oidref.com/1.3.6.1.4.1.9.9.109.1.1.1.1.8   -> "cpmCPUTotal5minRev"


My concern is using that OID, I am getting only the output of only one cpu core. However, there are multiple CPU's on the FTD device I am trying to do the snmpwalk. 
Command:    snmpwalk -v2c -c <community> <ip> .1.3.6.1.4.1.9.9.109.1.1.1.1.8.1
result:            SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.8.1 = Gauge32: 30

 

I should be getting the information of all cpu's cores usage using that oid.

 

rsarao
Level 1
Level 1

Got the answer to my above query of why I am not able to see every core usage. I was using the OID for only first core. But, I am still not able to find any OID that can report the per thread utilizations like I stated in my original question.

top - up 13 days, 11:26, 1 user, load average: 0.89, 1.09, 1.09
Tasks: 201 total, 1 running, 297 sleeping, 0 stopped, 3 zombie
%Cpu0 : 41.1 us, 10.9 sy, 2.6 ni, 44.7 id, 0.3 wa, 0.0 hi, 0.3 si, 0.0 st
%Cpu1 : 0.3 us, 1.7 sy, 0.0 ni, 98.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 0.7 us, 0.0 sy, 0.0 ni, 99.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.3 us, 0.0 sy, 0.0 ni, 99.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 1.3 us, 8.6 sy, 2.0 ni, 88.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu5 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st