Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_cisco_fan

Rating
2 votes
Favoured:
0
Current Version
1.0
Compatible With
  • Nagios 3.x
License
Other
Hits
37210
Files:
FileDescription
check_cisco_fan.shBash script to check FAN by SNMP.
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!
This is a script to monitor FAN on Cisco Catalyst switches via SNMP.
--------------------------------------------------------------------------------

THIS PLUGIN IS PROVIDED "AS IS", WITHOUT ANY WARRANTY, AND WITHOUT ANY SUPPORT.

--------------------------------------------------------------------------------

This check is write in bash (Linux) and use snmp tools.
Snmp tools are in most linux repos :
Fedora/Centos: yum install net-snmp-utils
Debian/Ubuntu: apt-get install snmp

MIB : CISCO-ENVMON-MIB

Test with : Nagios 3.x on Debian GNU/Linux, and Cisco catalyst 3750


--------------------------------------------------------------------------------

USAGE :
./script SNMPcomunity IPaddress

example :
./script public 192.168.1.1


--------------------------------------------------------------------------------

LICENCE : CC BY-SA 3.0
http://creativecommons.org/licenses/by-sa/3.0/

--------------------------------------------------------------------------------
Reviews (1)
bynishith, February 16, 2016
I don't get output on Cisco 2960, 3550 and 3750 Switches.

Below is the error.
#################################
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.9.9.13.1.4.1.3.2016892988
#################################