An update of the previous script for monitoring the UPS health status includes now also the APC MIB base. ( Blog article )
The monitoring features for APC include now the monitoring of the Battery capacity %, Temperature and voltage. A comparison against the settable limits in terms of input lines ( availability ) and the load on the output lines ( load in % ).
The call configuration
/usr/lib/nagios/plugins/check_snmp_ups.pl -H 192.168.0.1 -C public -T apcups -f -O 70,80 -A 210
(nagios) OK – All seems fine Batt. Level: 97 % Batt.: 215 V Load1: 15 % Load2: 6 % Load3: 31 % Input1 233 V Input2 232 V Input3 236 V| capacity=97;80;50;0;100 batt_temp=33;45;55;0;100 batt_volt=215;0;210;; load1=15;70;80;0;100 load2=6;70;80;0;100 load3=31;70;80;0;100 in_voltage1=233;210;0;0;380 in_voltage2=232;210;0;0;380 in_voltage3=236;210;0;0;380
Command returned exit status 0
The used arguments are: -f ( enable perfdata ), -O to set the warning and critical limit of the load on the output lines, -A the lower limit of the acceptable Voltage ( this value is used for Battery voltage and input lines ).
The warning/critical values for battery temp are by default 45 and 55, its capacity 80% and 50%
Monitoring results
The performance graphs obtained from the command call for battery capacity, temperature and voltage:
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.
Author
Patrick Zambelli
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.
Choosing an inverter is a tough and complex task. I used Power Calculator by MSP Web Store and it helped me a lot in selecting the correct UPS inverter for my home.
Choosing an inverter is a tough and complex task. I used Power Calculator by MSP Web Store and it helped me a lot in selecting the correct UPS inverter for my home.