cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5140
Views
6
Helpful
3
Replies

Nexus 9k High cpu oid

vinayjaiswal
Level 3
Level 3

Hi There,

I just wanted to monitor high cpu logs of  nexus 9k with snmp server . Can you help me to get correct OID  to get high cpu logs.

 

Thanks in adv.

 

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Hello Vinay,

There is no OID for a high CPU alarm, as there is no universal rule that would define what CPU load value is "high". What you can do, of course, is poll the CPU load value (5sec, 1min, 5min average) through SNMP and raise an alarm on your NMS if the CPU load gets over a threshold you define yourself.

The CPU load OIDs are:

  • .1.3.6.1.2.1.47.1.1.1.1.6 (5sec average), cpmCPUTotal5secRev
  • .1.3.6.1.2.1.47.1.1.1.1.7 (1min average), cpmCPUTotal1minRev
  • .1.3.6.1.2.1.47.1.1.1.1.8 (5min average), cpmCPUTotal5minRev

Each of these OIDs is a table - essentially a tree that you need to walk, and you will get multiple rows for individual CPUs in the system. To understand what CPUs these individual lines correspond to, you will need to cross-correlate their index (the last value in the OID) with the index of individual components listed in the 1.3.6.1.2.1.47.1.1.1.1.7 table (entPhysicalName).

Please feel welcome to ask further!

Best regards,
Peter

View solution in original post

3 Replies 3

Peter Paluch
Cisco Employee
Cisco Employee

Hello Vinay,

There is no OID for a high CPU alarm, as there is no universal rule that would define what CPU load value is "high". What you can do, of course, is poll the CPU load value (5sec, 1min, 5min average) through SNMP and raise an alarm on your NMS if the CPU load gets over a threshold you define yourself.

The CPU load OIDs are:

  • .1.3.6.1.2.1.47.1.1.1.1.6 (5sec average), cpmCPUTotal5secRev
  • .1.3.6.1.2.1.47.1.1.1.1.7 (1min average), cpmCPUTotal1minRev
  • .1.3.6.1.2.1.47.1.1.1.1.8 (5min average), cpmCPUTotal5minRev

Each of these OIDs is a table - essentially a tree that you need to walk, and you will get multiple rows for individual CPUs in the system. To understand what CPUs these individual lines correspond to, you will need to cross-correlate their index (the last value in the OID) with the index of individual components listed in the 1.3.6.1.2.1.47.1.1.1.1.7 table (entPhysicalName).

Please feel welcome to ask further!

Best regards,
Peter

Hi Peter,

 

Appreciate for your reply.

 

Thanks.

 

Regards,

Vijay

This OID code works to monitor CPU on Nexus Cisco ACI?

Review Cisco Networking for a $25 gift card