check_apcupsd 1.3
plugin to monitor APC Smart-UPSes using apcupsd with performance data output.
Using pnp4nagios there is the need to get performance data.
So I added some output for the performance data to the script.
It works fine but further improvement is welcome.
Usage:
./check_apcupsd [-c critical_value] [-h hostname] [-p port]
-n < bcharge|itemp|loadpct|timeleft > [-w warning_value]
Options
Flag | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
-c | Critical Threshold | |||||||||||
-h | Hostname from target host (default: localhost) | |||||||||||
-p | Target Port (default: 3551) | |||||||||||
-n |
|
|||||||||||
-w | Warning Threshold |