Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check the status of Uninterruptible Power Supply
1.0
2015-07-01
- Nagios 3.x
- Nagios 4.x
GPL
14603
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!
check_snmp_ups is written in Bash and is distributed under the GPLv2 license. This plugin have been created by Yoann LAMY.
Usage: ./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t battery
-H ADDRESS
Name or IP address of host (default: 127.0.0.1)
-C STRING
Community name for the host's SNMP agent (default: public)
-t STRING
Different status (battery, charge, power, source, temperature) (default: battery)
-w INTEGER
Warning battery level in percent and UPS Warning temperature level in degres celsius (default: 0)
-c INTEGER
Critical battery level in percent and UPS Critical temperature level in degres celsius (default: 0)
-h
Print this help screen
-V
Print version and license information
This plugin uses 'snmpget' and 'snmpwalk' commands included with the NET-SNMP package.
This plugin support performance data output (charge, power, temperature).
Examples :
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t battery
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t charge -w 70 -c 30
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t power -w 0 -c 0
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t source
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t temperature -w 0 -c 0
This nagios plugins comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of the plugins under the terms of the GNU General Public License v2.
Usage: ./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t battery
-H ADDRESS
Name or IP address of host (default: 127.0.0.1)
-C STRING
Community name for the host's SNMP agent (default: public)
-t STRING
Different status (battery, charge, power, source, temperature) (default: battery)
-w INTEGER
Warning battery level in percent and UPS Warning temperature level in degres celsius (default: 0)
-c INTEGER
Critical battery level in percent and UPS Critical temperature level in degres celsius (default: 0)
-h
Print this help screen
-V
Print version and license information
This plugin uses 'snmpget' and 'snmpwalk' commands included with the NET-SNMP package.
This plugin support performance data output (charge, power, temperature).
Examples :
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t battery
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t charge -w 70 -c 30
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t power -w 0 -c 0
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t source
./check_snmp_ups -H xxx.xxx.xxx.xxx -C public -t temperature -w 0 -c 0
This nagios plugins comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of the plugins under the terms of the GNU General Public License v2.
Reviews (1)
byjriker1, December 23, 2015
Love this script. Have an Eaton PowerWare 9125 UPS and most of the scripts failed to return anything for this one. Only item I had to change was the temperature OID to .1.3.6.1.4.1.534.1.6.1.0 for my situation.
Nicely done.
Nicely done.