Pack files for monitor most importants caracteristcs in a UPS sistem.
You need ruby instaled and snmp gem instaled.
Clone project in folder where you want use.
git clone https://github.com/adrianocortes/nagios_ups.git
ruby <script_name> -help
Obs.: The value returned independent if are using battery
check_ups_minutes_remaining.rb -H XXX.XXX.XXX.XXX -C "public" -c 10 -w 20
Alert with WARN status if less than 20 minutes and alert with CRITICAL if less than 10 minutes
V.0.1
This product is open source!
All code is released under the MIT License. Details in LICENCE file.