Home Directory Plugins Hardware UPS CyberPower UPS

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

CyberPower UPS

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2017-08-24
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
2413
Files:
FileDescription
check_cps.plcheck_cps.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Based on the APC UPS check, this plugin has been modified to work with CyberPower UPS systems.
Perl program for checking the status of a CyberPower UPS.
check_cps.pl - v1.0

Nagios script to check status of an CyberPower Systems Uninteruptable Power Supply.

Usage:
-H Address of hostname of UPS (required)
-C SNMP community string (required)
-l Command (optional, see command list)
-p SNMP port (optional, defaults to port 161)
-t Connection timeout (optional, default 10s)
-w Warning threshold (optional)
-c Critical threshold (optional)
-u Script / connection errors will return unknown rather than critical

Commands (supplied with -l argument):

status
Shows output status of UPS (On battery power, bypass, etc)

health
Shows result of last diagnostic test and date run. Optional warning or critical
values for days since last test was run. Will also warn if battery needs replacing.

battery
Shows current batery replacement status

model
Shows the model number of the UPS

serial
Shows the serial number of the UPS

transfer
Shows the current line transfer status

temp
Shows the current temp of the UPS in Celcius

load[:###]
Shows output load in percentage of maximum load. Optional warning or critical
values in percentages of total load.

If an integer value of the maximum output wattage capacity of the UPS is included
after a colon (:), then the output in watts will be included in the result.

No command is supplied, the script return OKAY with the UPS model information.

Example:
check_cps.pl -H ups1.domain.local -C public -l health

Not all required options were specified.