Network Connections, Stats and Bandwidth

check_cisco_nexus_hardware

Description:

This plug-in checks a collection of sensors included on Cisco Nexus. It checks voltage, temperature, fans and PSU.

Performance data are also given.

Current Version

1.0

Last Release Date

2012-08-01

Compatible With

  • Nagios 3.x

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Notes
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.
Reviews (6) Add a Review
Works on 3064
by VO, July 31, 2017
Works on Nexus 3064 NX-OS 7.x

But some sensors give strange results:
| Ethernet1/1_Lane_1_Transceiver_Temperature_Sensor_300000007=39347celsius;;;;
Ethernet1/1_Lane_1_Transceiver_Bias_Current_Sensor_300000004=34984amperes;;;;
Ethernet1/1_Lane_1_Transceiver_Receive_Power_Sensor_300000013=-2700dBm;;;;
Ethernet1/1_Lane_1_Transceiver_Transmit_Power_Sensor_300000014=-1592dBm;;;;
Ethernet1/1_Lane_1_Transceiver_Voltage_Sensor_300000003=3308voltsDC;;;;

Looks like some multipliers are wrong and the sensors above show value times 1000.
Helpful? Yes  No 
works great but I had to make a change
by alaselva, November 30, 2016
I had to add
# nagios: -epn
otherwise it returned "Service check did not exit properly"
and also change the use lib to
use lib "/usr/lib/nagios/plugins";

Regards
Helpful? Yes  No 
Running for me
by charn, December 31, 2015
for alls, the perl plugins Nagios::Plugin doesn't exist now,
you can download the lastest realease with all dependencies -> Monitoring::Plugin (perl -MCPAN -e 'install Monitoring::Plugin') and modify line 28 "use Nagios:: Plugin by Monitoring::Plugin"
thanks for your bitcode !
Helpful? Yes  No 
Great check
by CS01, October 31, 2014
Check works perfectly for our two Nexus switches. Much appreciated.
Helpful? Yes  No 
Fine
by rrobert, August 31, 2013
Ran fine out of the box. As usual with Perl, need it installed.
Helpful? Yes  No 
Didn't Run
by jakobau, July 31, 2013
[root@kl ~]# /usr/local/bin/check_cisco_nexus_cpu.pl
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/local/bin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/bin/check_cisco_nexus_cpu.pl line 25.
BEGIN failed--compilation aborted at /usr/local/bin/check_cisco_nexus_cpu.pl line 25.
0 of 1 found this review helpful.
Helpful? Yes  No 1
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (7)
Favorites
0
Views
76,080