Search found 2 matches

by DanSuper
Mon Jun 14, 2021 8:40 pm
Forum: Open Source Nagios Projects
Topic: cisco-check.pl returns error when CPU usage is 0
Replies: 2
Views: 2346

Re: cisco-check.pl returns error when CPU usage is 0

Thanks for reply, but doesn't work.

I'm trying to make it report 0% CPU usage when this is the case, but I don't want it to return 0% CPU usage when actually no value is returned.
by DanSuper
Thu May 13, 2021 2:50 am
Forum: Open Source Nagios Projects
Topic: cisco-check.pl returns error when CPU usage is 0
Replies: 2
Views: 2346

cisco-check.pl returns error when CPU usage is 0

Cisco routers return an integer for CPU usage. The Icinga check-cisco.pl script works well when CPU usage is between 1% to 99%, but sometimes the usage is legitimately 0%. It's only an integer, no float so guess 0.4% would be rounded down to 0. I can test this with: snmpget -v 2c -c public myciscoro...