This article applies to PRTG Network Monitor 16 or later
Introduction
This works with the SNMP Custom Sensor, which allows you to query a specific device OID. In combination with the Lookups, this will give you the metric you're looking for, nicely formatted.
Installation
Remarks
SNMP Sensors need to work in general on your appliance. Check out our SNMP Guide if you need to set this up first.
Setup
- Create a new SNMP Custom Sensor on the device
- Set the OID to 1.3.6.1.4.1.318.1.1.1.7.2.3.0
- If you like, enable the change trigger notification
- Hit Continue
- Save the lookup below as prtg.standardlookups.apc.selftest.ovl to
C:\Program Files (x86)\PRTG Network Monitor\lookups
- Click the small gear and set the lookup to prtg.standardlookups.apc.selftest
You're done! It should look something like this:
The finished sensor, monitoring the APC Battery Selftest
OID List
Parameter Name | Description |
1.3.6.1.4.1.318.1.1.1.7.2.3.0 | Result of the last self test. 1 - Passed 2 - Selftest failed 3 - Invalid Result! 4 - In Progress |
Lookup
<?xml version="1.0" encoding="UTF-8"?>
<ValueLookup id="prtg.standardlookups.apc.selftest" desiredValue="1" undefinedState="None">
<Lookups>
<SingleInt state="OK" value="1">
Selftest passed!
</SingleInt>
<SingleInt state="Error" value="2">
Selftest failed!
</SingleInt>
<SingleInt state="Warning" value="3">
Invalid Result!
</SingleInt>
<SingleInt state="OK" value="4">
Selftest in progress...
</SingleInt>
</Lookups>
</ValueLookup>
Add comment