New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Can I monitor the selftests of my APC?

Votes:

0

Your Vote:

Up

Down

My APC UPS is running selftests on a regular schedule. I'd like to be able to monitor the results so I know when to replace the battery. Is that possible?

apc oid selftest usv

Created on Mar 24, 2017 7:31:09 AM by  Stephan Linke [Paessler Support]

Last change on Mar 24, 2017 7:48:51 AM by  Stephan Linke [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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
  1. Create a new SNMP Custom Sensor on the device
  2. Set the OID to 1.3.6.1.4.1.318.1.1.1.7.2.3.0
  3. If you like, enable the change trigger notification
  4. Hit Continue
  5. Save the lookup below as prtg.standardlookups.apc.selftest.ovl to
    C:\Program Files (x86)\PRTG Network Monitor\lookups
  6. 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 NameDescription
1.3.6.1.4.1.318.1.1.1.7.2.3.0Result 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>

Created on Mar 24, 2017 7:43:58 AM by  Stephan Linke [Paessler Support]

Last change on Mar 24, 2017 7:46:33 AM by  Stephan Linke [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.