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
}
CPU Utilization for Switches and Firewall
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
CPU Utilization for Switches and Firewall
You do not have the required permissions to view the files attached to this post.
Last edited by raamardhani7 on Mon Jul 23, 2018 12:01 am, edited 1 time in total.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CPU Utilization for Switches and Firewall
Can you run the check_snmp command from the command line to verify that the OID is actually present on your device?
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: CPU Utilization for Switches and Firewall
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)
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)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CPU Utilization for Switches and Firewall
This output reflects that the OID you are looking for is not available on the device you are polling.
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: CPU Utilization for Switches and Firewall
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.
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.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CPU Utilization for Switches and Firewall
Can you click the show errors on the Apply "Configuration" page and show that output.
Thanks
Thanks