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

check_cisco_envmon

Rating
1 vote
Favoured:
1
Hits
141697
Files:
FileDescription
check_cisco_envmon.plcheck_cisco_envmon.pl version 0.2
check_cisco_envmon.0.3.plcheck_cisco_envmon.pl version 0.3
check_cisco_envmon.0.4.plcheck_cisco_envmon.pl version 0.4
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_cisco_envmon script that uses CISCO-ENVMON-MIB (ePN compliant)
Requires Net::SNMP.

Check environmental status of Cisco via SNMP.

Usage:
check_cisco_envmon.pl -H -C
check_cisco_envmon.pl --help
check_cisco_envmon.pl --version

-H (--hostname) Hostname to query - (required)
-C (--community) SNMP read community or v3 auth (defaults to public)

(v3 specified as username:authpassword:... )
username = SNMPv3 security name
authpassword = SNMPv3 authentication pass phrase (or hexidecimal key)
authprotocol = SNMPv3 authentication protocol (md5 (default) or sha)
privpassword = SNMPv3 privacy pass phrase (or hexidecmal key)
privprotocol = SNMPv3 privacy protocol (des (default) or aes)

-v (--snmp_version) 1 for SNMP v1

2 for SNMP v2c (default)
3 for SNMP v3

-s (--sps) Single power supply used
-V (--version) Plugin version
-h (--help) usage help

Primary MIB reference - CISCO-ENVMON-MIB

Version 0.4 added snmpv3 support
Version 0.3 Typo of UNKNOWN - fixed

$snmp was not checked for being defined - fixed (thanks Sylvian Collilieux)

Version 0.2 conformed with ePN
Reviews (1)
byDantePasquale, November 7, 2012
I'm getting a status of 'null' in Nagios, but when run from the comnand line and checking return code via 'echo $?' the command returns 0 for OK and the text string says OK. What's wrong in my config?