Home Directory Plugins Hardware UPS check_ups_snmp

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_ups_snmp

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2012-07-11
Compatible With
  • Nagios 3.x
License
Apache
Hits
104878
Files:
FileDescription
check_ups_snmp.shbash script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Single bash script to check:
* battery temperature (with critical/warning levels)
* battery charge status (e.g.: normal, low, depleated, etc)
* output type (e.g.: normal, bypass, battery, etc)
* number of active alarms
Works on Linux, requires:
* snmpget (usually included in "snmp")
* UPS-MIB mib (usually included in non-free repositories)

Tested on:
Chloride Linear MK II
Emerson GXT3

Usage: check_ups_snmp [-w XX -c XX] -O OperationType -H Hostname

OperationTypes:
batteryCharge - critical if different than NORMAL
temperature - warning and critical as per w/c parameters
outputType - critical if different than NORMAL
alarmsCount - critical if bigger than 0

Hostname: host to check

Parameters w and c are optional and used only when checking temperatures