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

NUT UPS monitoring

Author: slerena Create in: 11/19/2012 Update in: 01/01/1970
Rating:
Module type : Local module


Use these modules to create modules for each value. Explore output (it depends on each model of UPS) with:

upsc [email protected]

And rewrite modules as your own criteria.

Module data

module_begin
module_name UPS Online
module_type generic_proc
module_exec upsc [email protected] | grep "ups.status" | grep "OL" | wc -l
module_end

module_begin
module_name UPS Load
module_type generic_data
module_exec upsc [email protected] | grep "ups.load" | awk '{ print $2 }'
module_end

module_begin
module_name UPS Input_Voltage
module_type generic_data
module_exec upsc [email protected] | grep "input.voltage.nominal" | awk '{ print $2 }'
module_end

module_begin
module_name UPS Output_Voltage
module_type generic_data
module_exec upsc [email protected] | grep "output.voltage" | awk '{ print $2 }'
module_end