04-01-2022 09:31 AM
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
04-01-2022 09:59 AM - edited 04-01-2022 10:00 AM
M.
04-01-2022 12:38 PM
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.
04-04-2022 10:12 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide