01-31-2012 08:22 AM
Hello,
To have a management tool polling by SNMP some information like CPU load and memory load, I tried to find out the OID.
The supervisory card is a WS-X45-SUP7-E with a dual core CPU and 2G of memory.
IOS is IOS-XE 3.2.2
sh proc cpu
Core 0: CPU utilization for five seconds: 3%; one minute: 2%; five minutes: 2%
Core 1: CPU utilization for five seconds: 11%; one minute: 7%; five minutes: 6%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
1 911 917 993 0.00 0.00 0.00 0 init
2 0 83 11 0.00 0.00 0.00 0 kthreadd
.......
sh mem
System memory : 2011604K total, 780166K used, 1231443K free, 85548K kernel reserved
Lowest(b) : 699273216
Total(K) Used(K) Free(K)
Process 1204692 520737 683961
Config 806912 259430 547482
From an snmpwalk to the supervisory module, I get:
enterprises.9.9.13.1.3.1.2.46 = STRING: "CPU"
SNMPv2-SMI::enterprises.9.9.109.1.2.1.1.2.5000.10986 = STRING: "cpumemd"
SNMPv2-SMI::enterprises.9.9.109.1.3.1.1.2.5000.10986.10986 = STRING: "cpumemd"
SNMPv2-SMI::enterprises.9.9.109.1.3.1.1.2.5000.10986.11425 = STRING: "cpumemd"
SNMPv2-SMI::enterprises.9.9.109.1.2.1.1.2.5000.5464 = STRING: "oscore_p"
SNMPv2-SMI::enterprises.9.9.109.1.2.1.1.2.5000.5492 = STRING: "eicored"
SNMPv2-SMI::enterprises.9.9.109.1.3.1.1.2.5000.5464.5464 = STRING: "oscore_p"
SNMPv2-SMI::enterprises.9.9.109.1.2.1.1.2.5000.10986 = STRING: "cpumemd"
SNMPv2-SMI::enterprises.9.9.109.1.3.1.1.2.5000.10986.10986 = STRING: "cpumemd"
SNMPv2-SMI::enterprises.9.9.109.1.3.1.1.2.5000.10986.11425 = STRING: "cpumemd"
SNMPv2-SMI::enterprises.9.9.109.1.2.1.1.2.5000.5464 = STRING: "oscore_p"
SNMPv2-SMI::enterprises.9.9.109.1.2.1.1.2.5000.5492 = STRING: "eicored"
SNMPv2-SMI::enterprises.9.9.109.1.3.1.1.2.5000.5464.5464 = STRING: "oscore_p"
but this do not help me.
Does anyone have some OID or nagios template already for the new card ?
The Nagios template I use for others switches do not get the good field
Regards,
jean-David
02-07-2012 12:49 AM
enterprises.9.9.13.1.3.1.2.46 = STRING: "CPU"
is the value for "ciscoEnvMonTemperatureStatusDescr" which is not what you want;
for the list of supported and verified MIB for the IOS XE 3.2.x images have a look here (it is for the ASR routers, but I think it is a good hint if something is missing)
ftp://ftp.cisco.com/pub/mibs/supportlists/asr1000/asr1000-supportlist.html#IOS_XE_3.2.x
for monitoring the CPU:
you have to get the index of each CPU from the entPhysicalTable of the ENTITIY-MIB
snmpwalk 1.3.6.1.2.1.47.1.1.1.1
with the index you can pick up the object you want to monitor from cmpCPUTotalTable of the CISCO-PROCESS-MIB
snmpwalk 1.3.6.1.4.1.9.9.109.1.1.1.1
see this document for details:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a94.shtml#multiple
for memory, you have to do the same with the ciscoMemoryPoolTable [1.3.6.1.4.1.9.9.48.1.1]
see also these docs with information on monitoring memory:
http://www.cisco.com/en/US/customer/tech/tk648/tk362/technologies_tech_note09186a0080094a95.shtml
http://support.ipmonitor.com/tutorials/684f20eeb613444dae5518d6bdf6c766.aspx
02-07-2012 10:19 AM
Hello Martin,
Thank you for those information and link.
I'll have a look at them.
Regards,
Jean-David
08-09-2012 01:53 AM
Hello,
did you manage to get BOTH threads values?
WS-X45-SUP7-E cpu is dual core and "show process cpu" shows "Core 0" and "Core 1" values but polling
cpmCPUTotalPhysicalIndex
only 1 value (5000) is given because there's only 1 PHYSICAL cpu, so unfortunately cpmCPUTotal5minRev is for Core 0 only....
Any ideas about getting Core 1 cpu value?
Thanks
Manuel
01-09-2014 03:19 AM
Hi,
Did you manage to find a solution for this.?
I have the exact same problem with polling for the CPU total for the 2 cores on a
Catalyst 4500 L3 Switch ...
Found,,
Release Notes for the Catalyst 4500X Switch, Cisco IOS XE 3.4.xSG
http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/release/note/OL_27989-01.html
SNMPGET queries for CISCO-PROCESS-MIB fail with the message "No Such Instance currently exists at this OID."
Workaround: CSCtz67068
So will try again with lates IOS applied on device.
;-)
Jesper
07-12-2017 11:17 PM
Hi,
Do you have a solution for this issue? i have the same issue with WS-C4500X-32
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