Penguin
Annotated edit history of CactiUPS version 6, including all changes. View license author blame.
Rev Author # Line
6 ThomasBaden 1 I have an APC ups (a Back-UPS 350 USB, not that it really matters) which I monitor via apcupsd (note that you need a version of apcupsd > 3.10 to make use of a USB cable to your UPS. This doesn't exist in debian woody or unstable; go compile from source)
1 DanielLawson 2
6 ThomasBaden 3 I have a script [here|http://www.wlug.org.nz/archive/cacti_scripts/check_ups.pl] which will output some information from the UPS. The only useful parameters I could get via apcaccess were the Battery Charge, Nominal Battery Voltage, and Time Left, so these are the values that are output from the script. Other UPS's can report on other information such as AC Voltage and Frequency, the former of which might be quite useful.[1]
1 DanielLawson 4
5
6 [1] If anyone knows how to get AC Voltage information via apcupsd (or otherwise) from an APC Back-UPS 350 USB UPS, let me know --DanielLawson
2 LindsayDruett 7
8 ----
9 LindsayDruett has just done it on an MGE UPS
10
11 The best way around this is to create your own data sources, and enter in the relevent SNMP OIDs.
12
13 *I captured
14 **Battery Current ''__.1.3.6.1.4.1.705.1.5.6.0__''
15 **Battery Discharge Time (Seconds) ''__.1.3.6.1.4.1.705.1.5.1.0__''
16 **Battery Level (Percentage) ''__.1.3.6.1.4.1.705.1.5.2.0__''
17 **Battery Recharge Level (Percentage) ''__.1.3.6.1.4.1.705.1.5.4.0__''
18 **Battery Recharge Time (Seconds) ''__.1.3.6.1.4.1.705.1.5.3.0__''
19 **Battery Temperature ''__.1.3.6.1.4.1.705.1.5.7.0__''
20 **Battery Voltage ''__.1.3.6.1.4.1.705.1.5.5.0__''
21 **Input Current ''__.1.3.6.1.4.1.705.1.6.2.1.6.1__''
22 **Input Frequency ''__.1.3.6.1.4.1.705.1.6.2.1.3.1__''
23 **Input Maximum Voltage (for Surges) ''__.1.3.6.1.4.1.705.1.6.2.1.5.1__''
24 **Input Minimum Voltage (for Lags) ''__.1.3.6.1.4.1.705.1.6.2.1.4.1__''
25 **Input Voltage ''__.1.3.6.1.4.1.705.1.6.2.1.2.1__''
26 **Output Current ''__.1.3.6.1.4.1.705.1.7.2.1.5.1__''
27 **Output Frequency ''__.1.3.6.1.4.1.705.1.7.2.1.3.1__''
28 **Output Load (Percentage Used) ''__.1.3.6.1.4.1.705.1.7.2.1.4.1__''
29 **Output Voltage ''__.1.3.6.1.4.1.705.1.7.2.1.2.1__''
30
31 This was done with a single phase 2 KVA (2000 VA) UPS. (MGE2000 UPS with a 66074 SNMP/Web Management Card)%%%
32 A rule had to be added into the CDEF functions as the output values were ten times the real values (apart from percentage and seconds).%%%
33
34 *I created six graphs
35 **Battery Status
36 **Battery recharge/discharge times
37 **Input and Output Voltages
38 **Input and Output Current readings
39 **Input and Output Frequency
40 **UPS Load Percentage
41
42
43 More SNMP readings can be done, especially on larger installations where three phase and/or external batteries are involved.
3 LindsayDruett 44
4 LindsayDruett 45 [Cacti Templates for MGE UPSes can be obtained here|http://www.wired.net.nz/downloads/cacti/templates/MGE_UPS/]%%%
46 This template will support both Single Phase UPSes and Three Phase UPSes.
3 LindsayDruett 47
5 LindsayDruett 48 IETF UPS Templates will be available soon...