Is there a way to run a Job or similar on a schedule that will pull a Show command from a Cisco device and fire off an alert if the value is above a value?
We got a HA pair of Cisco Catalyst 9800-80s wireless controllers that have been beyond a nightmare to deploy. We as well as many other owners of the 9800s have been tripping on Bug after Bug, all the way to finding new ones. SolarWinds been great on setting up some custom proactive alerts through SysLog and physical as well as emotional state of the WLCs.
Long story short, we are faced with a new issue with a run away WNCD process. (I am not the wireless guy, just the DC, Core routing and switching wrangler/engineer asked to setup an alert).
Here is what I am trying to do:
1. On a schedule, run "show processes cpu platform sorted | include wncd"
2. Get this output:
ciscowlc9800#show processes cpu platform sorted | include wncd
27225 26489 11% 8% 8% S 440964 wncd_2
26874 26019 6% 8% 8% S 483104 wncd_1
26402 25441 1% 1% 1% S 365224 wncd_0
28352 27962 0% 0% 0% S 293096 wncd_7
28148 27733 0% 0% 0% S 290808 wncd_6
27920 27504 0% 0% 0% S 292968 wncd_5
27692 27275 0% 0% 0% S 292624 wncd_4
27466 26963 0% 0% 0% S 500068 wncd_3
3. If any of the percentages is say above 40%, fire off an email alert.
If you have an even better idea, please let me know. I know there are may other ways to do this.
The physical CPU does not climb when the WNCD process goes crazy. I searched the OIDs through an SNMP walk and could not find anything that I could use from there, even through Google-Foo (unless you know more that I do).