Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Miscelaneous

UPS monitoring

Author: slerena2 Create in: 08/15/2009 Update in: 01/01/1970
Rating:
Module type : Local module


UPS Monitor Program via serial interface (upsd) of Linux and other systems.

Module data

module_begin
module_name UPS_Power
module_type generic_proc
module_exec apcaccess | grep STATUS | grep ONLINE | wc -l
module_end

module_begin
module_name UPS_Charge
module_type generic_data
module_exec apcaccess | grep BCHARGE | awk '{ print $3 }'
module_end

module_begin
module_name UPS_TimeLeft
module_type generic_data
module_exec apcaccess | grep TIMELEFT | awk '{ print $3 }'
module_end

module_begin
module_name UPS_Temp
module_type generic_data
module_exec apcaccess | grep ITEMP | awk '{ print $3 }'
module_end