Some APC UPS probes I made based on the one from above… They all seem to work I just haven’t actually tested them.
Create a new probe with the type of function and paste the lines.
Name is line 1,
Available is line 2,
Error is line 3,
value is line 4,
Unit is line5, but if you want similar values to show up on the same graph give them the same Unit description.
Checks to see if there is voltage on the input.
APC_Vin
if(oid(“1.3.6.1.4.1.318.1.1.1.3.2.1.0”)>0, 1, 0)
if(oid(“1.3.6.1.4.1.318.1.1.1.3.2.1.0”)>0, “”, “No Power”)
oid(“1.3.6.1.4.1.318.1.1.1.3.2.1.0”)
total
Measure battery temperature , should fix it to complain if too hot…
APC Battery Temperature
if(oid(“1.3.6.1.4.1.318.1.1.1.2.2.2.0”)>0, 1, 0)
if(oid(“1.3.6.1.4.1.318.1.1.1.2.2.2.0”)>0, “”, “No Temp reading”)
oid(“1.3.6.1.4.1.318.1.1.1.2.2.2.0”)
total
Battery Capacity errors if battery less than half. needs testing.
APC Capacity
if(oid(“1.3.6.1.4.1.318.1.1.1.2.2.1.0”)>0, 1, 0)
if(oid(“1.3.6.1.4.1.318.1.1.1.2.2.1.0”)>50, “”, “Battery less than half”)
oid(“1.3.6.1.4.1.318.1.1.1.2.2.1.0”)
%
Total load on UPS, complains if load is over 80. Need to test.
APC_Load
if(oid(“1.3.6.1.4.1.318.1.1.1.4.2.3.0”)>0, 1, 0)
if(oid(“1.3.6.1.4.1.318.1.1.1.4.2.3.0”)<80, “”, “Over Load”)
oid(“1.3.6.1.4.1.318.1.1.1.4.2.3.0”)
%