This article applies as of PRTG 22
Monitoring additional counters of APC UPS hardware
The SNMP APC Hardware sensor already monitors the most important counters of uninterruptible power supply (UPS) devices by default. The corresponding SNMP library (APC UPS.oidlib) contains object identifiers (OID) for battery capacity and temperature, the remaining runtime, counters for voltage (input and output), and more.
However, many more OIDs are available for APC UPS devices. See the PowerNet-MIB on oidview.com that provides the Management Information Base (MIB) file from the American Power Conversions Corp. (APC).
How to add OIDs to PRTG
You have two options to monitor additional counters via available OIDs. If you know exactly which APC UPS values you want to monitor in addition to the default SNMP library of PRTG, you can either
- create an SNMP Custom sensor to monitor a single OID, or
- add OIDs to the standard library and select the corresponding counters when you add an SNMP Library sensor to PRTG.
Create an SNMP Custom sensor
For the SNMP Custom sensor, you need the OID for the desired counter.
- Add this sensor to the device in PRTG that represents your APC UPS.
- Provide the respective OID in the sensor's settings under section OID Settings.
This sensor then monitors the corresponding counter.
Add an SNMP Library sensor
Alternatively, you can add the desired OIDs to the default APC UPS library so that the corresponding counters are always available when you create an SNMP Library sensor.
- Copy the APC UPS.oidlib file to the \snmplibs subfolder of the PRTG program directory.
- Name it APC UPS Custom.oidlib, for example.
- Open this SNMP library with MIB Importer.
- Add the desired OID(s) (see the MIB Importer manual for details).
- After you import this new library, add an SNMP Library sensor to PRTG and select the created library.
You can now select the new counters to create sensors for them.
Since the PowerNet MIB for APC UPS devices is large, we provide a list for some OIDs below. Depending on your specific setup, they might be useful to you for monitoring in addition to the default counters:
- If the monitored UPS is a member of a sync group, the following values are useful:
- Output power of the system:
- Sample OIDs to monitor Automatic Transfer Switches (ATS) (source power from a secondary source without interrupting critical loads if the primary source power becomes unavailable):
- For a big UPS, the following OIDs are useful (doors open or closed):
Add these OIDs to the existing APC UPS library or create an SNMP Custom sensor for single counters as described above to monitor the desired values with PRTG.