check_cisco_nexus_hardware

Bookmark and Share

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2012-08-01
Compatible With
  • Nagios 3.x
License
GPL
Hits
22188
This plug-in checks a collection of sensors included on Cisco Nexus. It checks voltage, temperature, fans and PSU.

Performance data are also given.
It has been successfully tested on Cisco Nexus 7000 and 5000.

Help:
$ ./check_cisco_nexus_hardware.pl -h
##############################################
# ADEO Services #
##############################################
Usage:./check_cisco_nexus_hardware.pl
-H (--hostname) Hostname to query - (required)
-C (--community) SNMP read community (defaults to public,
used with SNMP v1 and v2c
-v (--snmp_version) 1 for SNMP v1 (default)
2 for SNMP v2c
-k (--key) snmp V3 key
-p (--password) snmp V3 password
-u (--username) snmp v3 username
-V (--version) Plugin version
-h (--help) usage help

-l (--list) list probes
-i (--sysdescr) use sysdescr instead of sysname for label display

-d (--debug) debug level (1 -> 15)

Example usage:
./check_cisco_nexus_hardware.pl -H 10.XX.XX.XX -C SnmpV1V2Community -v 2

The sysName is written on output but you can choose to display the sysDescr instead with -i (sysDescr give Cisco nexus model and firmware release).

-l displays all sensors, fans and PSUs.