1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
:

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

upsc myups@localhost

And rewrite modules as your own criteria.

Module data

module_begin 
module_name UPS Online 
module_type generic_proc 
module_exec upsc myups@localhost | grep "ups.status" | grep "OL" | wc -l 
module_end
module_begin 
module_name UPS Load 
module_type generic_data 
module_exec upsc myups@localhost | grep "ups.load" | awk '{ print $2 }' 
module_end
module_begin 
module_name UPS Input_Voltage 
module_type generic_data 
module_exec upsc myups@localhost | grep "input.voltage.nominal" | awk '{ print $2 }' 
module_end
module_begin 
module_name UPS Output_Voltage 
module_type generic_data 
module_exec upsc myups@localhost | grep "output.voltage" | awk '{ print $2 }' 
module_end
(Visited 259 times, 1 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X