Page 1 of 1

CPU Utilization for Switches and Firewall

Posted: Thu Jul 19, 2018 11:57 pm
by raamardhani7
Hi Team,
We are not able to monitor CPU Utilization on Critical Switch and Firewalls with below configuration it's giving o/p as "SNMP OK - Such Instance currently exists at this OID". We also want graph to be monitored. Please suggest.
Cisco Switch CPU Monitoring
OID - cpmCPUTotal5minRev
MIB - CISCO-PROCESS-MIB
------------------------
Cisco Firewall CPU Monitoring
OID - cpmCPUTotalTable
MIB - CISCO-PROCESS-MIB

In Nagios, we are using below configurations. We tried by passing arguments in check_command for warning and critical but it didn't work.

define service {
host_name liebertA
service_description Liebert Current Temp
use xiwizard_snmp_service
check_command check_xi_service_snmp! -o cpmCPUTotal5minRev -C *N4gi0s* -P 2c -m CISCO-PROCESS-MIB
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard snmp
register 1
}

Re: CPU Utilization for Switches and Firewall

Posted: Fri Jul 20, 2018 8:49 am
by scottwilkerson
Can you run the check_snmp command from the command line to verify that the OID is actually present on your device?

Re: CPU Utilization for Switches and Firewall

Posted: Mon Jul 23, 2018 12:05 am
by raamardhani7
Hi Scott,
I have attached screenshot for the output we are getting on Nagios XI. We want to monitor graph for this and also want to set thresholds for warning and critical I tried to do that on this same but getting error message as below
[nagios@lusrcpnagmn01 ~]$ /usr/local/nagios/libexec/check_snmp -H 10.10.10.113 -o cpmCPUTotal5minRev -C *N4gi0s* -P 2c -m CISCO-PROCESS-MIB -w 80 -c 90
o/p - No valid data returned (Such Instance currently exists at this OID)

Re: CPU Utilization for Switches and Firewall

Posted: Mon Jul 23, 2018 7:01 am
by scottwilkerson
This output reflects that the OID you are looking for is not available on the device you are polling.

Re: CPU Utilization for Switches and Firewall

Posted: Tue Jul 24, 2018 2:28 am
by raamardhani7
Hi Scott,

We are getting o/p through below query but when we try to apply configuration we are getting attached error.
"-o cpmCPUTotal5minRev.1 -C *N4gi0s* -P 2c -m CISCO-PROCESS-MIB"
I am attaching o/p and error after applying configuration. Please suggest why we are getting this error.

Re: CPU Utilization for Switches and Firewall

Posted: Tue Jul 24, 2018 7:01 am
by scottwilkerson
Can you click the show errors on the Apply "Configuration" page and show that output.

Thanks