MRTG Configuration for APC UPS

After having a bit of trouble trying to work out how to Monitor my APC 1400RM UPS I eventually worked out how to do it.

Examples:

################################
# Battery temperature
################################
 Target[APCUPS1400BattTemp]: 1.3.6.1.4.1.318.1.1.1.2.2.2.0&1.3.6.1.4.1.318.1.1.1.2.2.2.0:public@10.1.1.15
Directory[APCUPS1400BattTemp]: APC_UPS
MaxBytes[APCUPS1400BattTemp]: 100
Title[APCUPS1400BattTemp]: Battery Temperature
XSize[APCUPS1400BattTemp]: 600
YSize[APCUPS1400BattTemp]: 300
PageTop[APCUPS1400BattTemp]: <H1>Battery Temperature</H1>
Options[APCUPS1400BattTemp]: growright, gauge, nopercent, absolute, expscale
YLegend[APCUPS1400BattTemp]: Temp
Legend1[APCUPS1400BattTemp]: Temperature
Legend2[APCUPS1400BattTemp]: .
Legend3[APCUPS1400BattTemp]: Max value per interval on graph
Legend4[APCUPS1400BattTemp]: .
LegendI[APCUPS1400BattTemp]: UPS Battery Temperature
LegendO[APCUPS1400BattTemp]: .
 
 
################################
# Battery capacity
################################
YLegend[APCUPS1400CapacityLoad]: Percent
ShortLegend[APCUPS1400CapacityLoad]: %
Directory[APCUPS1400CapacityLoad]: APC_UPS
XSize[APCUPS1400CapacityLoad]: 600
YSize[APCUPS1400CapacityLoad]: 300
Legend1[APCUPS1400CapacityLoad]: Battery Capacity
Legend2[APCUPS1400CapacityLoad]: Load
Legend3[APCUPS1400CapacityLoad]: Max Capacity
Legend4[APCUPS1400CapacityLoad]: Max Load
LegendI[APCUPS1400CapacityLoad]: Battery Capacity
LegendO[APCUPS1400CapacityLoad]: Load
WithPeak[APCUPS1400CapacityLoad]: ywm
Unscaled[APCUPS1400CapacityLoad]: dwmy
MaxBytes[APCUPS1400CapacityLoad]: 110
Options[APCUPS1400CapacityLoad]: growright, gauge, nopercent
Title[APCUPS1400CapacityLoad]: Battery Capacity & Load
Target[APCUPS1400CapacityLoad]: 1.3.6.1.4.1.318.1.1.1.2.2.1.0&1.3.6.1.4.1.318.1.1.1.4.2.3.0:public@10.1.1.15
PageTop[APCUPS1400CapacityLoad]: <H1>Battery Capacity & Load</H1>
 
 
################################
# Input & output frequency
################################
YLegend[APCUPS1400Frequency]: Hertz
ShortLegend[APCUPS1400Frequency]: Hz
Directory[APCUPS1400Frequency]: APC_UPS
XSize[APCUPS1400Frequency]: 600
YSize[APCUPS1400Frequency]: 300
Legend1[APCUPS1400Frequency]: Input Frequency
Legend2[APCUPS1400Frequency]: Output Frequency
Legend3[APCUPS1400Frequency]: Max Input Frequency
Legend4[APCUPS1400Frequency]: Max Output Frequency
LegendI[APCUPS1400Frequency]: Input Hz
LegendO[APCUPS1400Frequency]: Output Hz
WithPeak[APCUPS1400Frequency]: ywm
MaxBytes[APCUPS1400Frequency]: 100
Unscaled[APCUPS1400Frequency]: dwmy
Options[APCUPS1400Frequency]: growright, gauge, nopercent
Title[APCUPS1400Frequency]: Input & Output Frequency
Target[APCUPS1400Frequency]: 1.3.6.1.4.1.318.1.1.1.3.2.4.0&1.3.6.1.4.1.318.1.1.1.4.2.2.0:public@10.1.1.15
PageTop[APCUPS1400Frequency]: <H1>Input & Output Frequency</H1>
 
 
################################
# Minimum & Maximum line voltage
################################
YLegend[APCUPS1400LineVolt]: Volts AC
ShortLegend[APCUPS1400LineVolt]: VAC
Directory[APCUPS1400LineVolt]: APC_UPS
XSize[APCUPS1400LineVolt]: 600
YSize[APCUPS1400LineVolt]: 300
Legend1[APCUPS1400LineVolt]: Minimum Line Voltage
Legend2[APCUPS1400LineVolt]: Maximum Line Voltage
Legend3[APCUPS1400LineVolt]: Minimum Line Voltage
Legend4[APCUPS1400LineVolt]: Maximum Line Voltage
LegendI[APCUPS1400LineVolt]: Min VAC
LegendO[APCUPS1400LineVolt]: Max VAC
WithPeak[APCUPS1400LineVolt]: ywm
MaxBytes[APCUPS1400LineVolt]: 500
Options[APCUPS1400LineVolt]: growright, gauge, nopercent, expscale
Title[APCUPS1400LineVolt]: Minimum & Maximum line voltage
Target[APCUPS1400LineVolt]: 1.3.6.1.4.1.318.1.1.1.3.2.3.0&1.3.6.1.4.1.318.1.1.1.3.2.2.0:public@10.1.1.15
PageTop[APCUPS1400LineVolt]: <H1>Minimum & Maximum line voltage</H1>
 
 
################################
# Last-Reason-On-Battery
################################
YLegend[APCUPS1400LastBattReason]: Reason
ShortLegend[APCUPS1400LastBattReason]:
Directory[APCUPS1400LastBattReason]: APC_UPS
XSize[APCUPS1400LastBattReason]: 600
YSize[APCUPS1400LastBattReason]: 300
Legend1[APCUPS1400LastBattReason]: Last-Reason-On-Battery
Legend2[APCUPS1400LastBattReason]: Last-Reason-On-Battery
Legend3[APCUPS1400LastBattReason]: Last-Reason-On-Battery
Legend4[APCUPS1400LastBattReason]: Last-Reason-On-Battery
LegendI[APCUPS1400LastBattReason]: LROB
LegendO[APCUPS1400LastBattReason]: LROB
WithPeak[APCUPS1400LastBattReason]: ywm
MaxBytes[APCUPS1400LastBattReason]: 11
Unscaled[APCUPS1400LastBattReason]: dwmy
Options[APCUPS1400LastBattReason]: growright, gauge, nopercent,
Title[APCUPS1400LastBattReason]: Last Reason On Battery
Target[APCUPS1400LastBattReason]: 1.3.6.1.4.1.318.1.1.1.3.2.5.0&1.3.6.1.4.1.318.1.1.1.3.2.5.0:public@10.1.1.15
PageTop[APCUPS1400LastBattReason]: <H1>Last Reason On Battery</H1>
<TABLE>
<TR><TD VALIGN="top">Description:</TD><TD>Last Reason On Battery Values<BR>
1) No Transfer<BR>
2) High Line Voltage<BR>
3) 40% - 100% Line Power<BR>
4) 0% - 40% Line Power<BR>
5) <5 Sec Shallow Voltage Sag<BR>
6) <5 Sec Deep Voltage Sag<BR>
7) <5 Sec Small Voltage Spike<BR>
8) <5 Sec Large Voltage Spike<BR>
9) UPS Self Test<BR>
10) Significant Voltage Delta</TD></TR>
</TABLE>