07-07-2015 08:47 AM - edited 02-21-2020 05:31 AM
Hi ;)
I've been struggling to find information about ways to configure Thresholds for CPU and Memory notifications using CISCO 7000 series NX-OS devices.
I found a CISCO .pdf document, explaining how to do so, but is made specifically for IOS, and I don't seem to be able to find the NX-OS Equivalent.
The document is the next one:
Do you know of any way to adapt those commands to NX-OS? Is it possible?, or they are unique for IOS?
The commands I'm talking about are these:
Router (config)# snmp−server enable traps cpu threshold
Router (config)# snmp−server host <host-address> <community> cpu
Router (config)# process cpu threshold type total rising 80 interval 10 falling 20 interval 10
Router (config)# process cpu statistics limit entry−percentage 40 size 300
---
Thanks, any help will be greatly appreaciated!
07-13-2015 10:39 PM
Take a look at this doc:
Thank you for rating helpful posts!
07-14-2015 11:22 AM
Thanks for the answer, it was helpful indeed;
Still, if Im not mistaken, those are a list of Show to commands to manually check the current situation of the CPU, but I failed to find any 'traps' or 'logging service' that notifies automatically when something outside of the ordinary is happening.
Am I wrong?, Does Nexus have some kind of similar functionality?
Thanks again! ;)
07-14-2015 03:40 PM
Did you see the sample eem script that they had in the document. It looks promising:
This is an example script that captures intermittent high CPU usage. The values used as well as the commands issued can be modified depending on the requirements:
event manager applet HIGH-CPU event snmp oid 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 get-type exact entry-op ge entry-val 80 exit-val 30 poll-interval 5 action 1.0 syslog msg High CPU hit $_event_pub_time action 2.0 cli enable action 3.0 cli show clock >> bootflash:high-cpu.txt action 4.0 cli show processes cpu sort >> bootflash:high-cpu.txt
Thank you for rating helpful posts!
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