Skip to main content

APC UPS

Plugin: go.d.plugin Module: snmp

Overview

Monitor APC UPS (ups) with Netdata over SNMP. Netdata recognizes the device automatically by its sysObjectID (recognized across 15 device identifiers) and collects the metrics this profile declares — on top of the generic SNMP baseline — with no manual OID configuration.

Netdata's SNMP collector matches the device to the apc-ups.yaml profile via sysObjectID/sysDescr, then polls the OIDs it declares.

This integration is supported on all platforms.

This integration supports multiple instances configured side-by-side.

Default Behavior

Auto-Detection

Auto-detected as APC UPS via sysObjectID/sysDescr.

Limits

The default configuration for this integration does not impose any limits.

Performance Impact

The default configuration for this integration is not expected to impose a significant performance impact on the system.

Setup

You can configure the snmp collector in two ways:

MethodBest forHow to
UIFast setup without editing filesGo to Nodes → Configure this node → Collectors → Jobs, search for snmp, then click + to add a job.
FileIf you prefer configuring via file, or need to automate deployments (e.g., with Ansible)Edit go.d/snmp.conf and add a job.
important

UI configuration requires paid Netdata Cloud plan.

Prerequisites

SNMP access

SNMP must be enabled on the device and reachable from the Netdata Agent acting as the site's SNMP hub.

Configuration

Options

Configure the SNMP collector with the device hostname and SNMP credentials. See the SNMP collector reference for all options.

via UI

Configure the snmp collector from the Netdata web interface:

  1. Go to Nodes.
  2. Select the node where you want the snmp data-collection job to run and click the (Configure this node). That node will run the data collection.
  3. The Collectors → Jobs view opens by default.
  4. In the Search box, type snmp (or scroll the list) to locate the snmp collector.
  5. Click the + next to the snmp collector to add a new job.
  6. Fill in the job fields, then click Test to verify the configuration and Submit to save.
    • Test runs the job with the provided settings and shows whether data can be collected.
    • If it fails, an error message appears with details (for example, connection refused, timeout, or command execution errors), so you can adjust and retest.

via File

The configuration file name for this integration is go.d/snmp.conf.

The file format is YAML. Generally, the structure is:

update_every: 1
autodetection_retry: 0
jobs:
- name: some_name1
- name: some_name2

You can edit the configuration file using the edit-config script from the Netdata config directory.

cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config go.d/snmp.conf
Examples

There are no configuration examples.

Alerts

There are no alerts configured by default for this integration.

Metrics

On top of the generic SNMP baseline (the Generic SNMP Device integration — interfaces, system, IP/TCP/UDP, host resources), this APC UPS profile adds the metrics below. Each is collected only where the device exposes the matching OID — inclusion means the profile requests it; availability depends on the device model and software.

43 metrics in 10 groups; each row is a chart context usable in alerts.

GroupMetrics
Hardware / Battery5
Hardware / OutletGroup1
Hardware / Sensor1
Network / TCP12
Network / UDP6
PowerFlow / Input5
PowerFlow / Output8
System / Battery3
System / Test1
System / Uptime1

Hardware / Battery

Metric (chart context)UnitScopeDescription
snmp.device_prof_upsAdvBatteryNumOfBadBattPacks{pack}deviceThe number of external battery packs connected to the UPS that are defective
snmp.device_prof_upsAdvBatteryNumOfBattPacks{pack}deviceThe number of external battery packs connected to the UPS
snmp.device_prof_upsAdvBatteryReplaceIndicator{status}deviceIndicates whether the UPS batteries need replacing
snmp.device_prof_upsAdvBatteryTemperatureCeldeviceThe current internal UPS temperature
snmp.device_prof_upsHighPrecExtdBatteryTemperatureCeldeviceThe current internal UPS temperature

Hardware / OutletGroup

Metric (chart context)UnitScopeDescription
snmp.device_prof_upsOutletGroupStatusGroupState{status}per outlet_group_nameOutlet group state

Hardware / Sensor

Metric (chart context)UnitScopeDescription
snmp.device_prof_uioSensorStatusTemperatureDegCCeldeviceThe sensor's current temperature reading

Network / TCP

Metric (chart context)UnitScopeDescription
snmp.device_prof_tcpActiveOpens{transition}/sdeviceTCP connections transitioning from CLOSED to SYN-SENT
snmp.device_prof_tcpAttemptFails{failure}/sdeviceFailed TCP connection attempts
snmp.device_prof_tcpCurrEstab{connection}deviceCurrent TCP connections in ESTABLISHED or CLOSE-WAIT state
snmp.device_prof_tcpEstabResets{reset}/sdeviceTCP connections reset from ESTABLISHED/CLOSE-WAIT
snmp.device_prof_tcpHCInSegs{packet}/sdeviceTCP segments received
snmp.device_prof_tcpHCOutSegs{packet}/sdeviceTCP segments sent
snmp.device_prof_tcpInErrs{error}/sdeviceTCP segments received with errors
snmp.device_prof_tcpInSegs{packet}/sdeviceTCP segments received
snmp.device_prof_tcpOutRsts{reset}/sdeviceTCP segments sent with RST flag
snmp.device_prof_tcpOutSegs{packet}/sdeviceTCP segments sent
snmp.device_prof_tcpPassiveOpens{transition}/sdeviceTCP connections transitioning from LISTEN to SYN-RCVD
snmp.device_prof_tcpRetransSegs{retransmit}/sdeviceTCP segments retransmitted

Network / UDP

Metric (chart context)UnitScopeDescription
snmp.device_prof_udpHCInDatagrams{packet}/sdeviceUDP datagrams received
snmp.device_prof_udpHCOutDatagrams{packet}/sdeviceUDP datagrams sent
snmp.device_prof_udpInDatagrams{packet}/sdeviceUDP datagrams received
snmp.device_prof_udpInErrors{error}/sdeviceUDP datagrams received but couldn't be delivered (not due to missing app)
snmp.device_prof_udpNoPorts{error}/sdeviceUDP datagrams received with no app on the destination port
snmp.device_prof_udpOutDatagrams{packet}/sdeviceUDP datagrams sent

PowerFlow / Input

Metric (chart context)UnitScopeDescription
snmp.device_prof_upsAdvInputFrequencyHzdeviceThe current input frequency to the UPS system
snmp.device_prof_upsAdvInputLineFailCause{status}deviceThe reason for the occurrence of the last transfer to UPS battery power
snmp.device_prof_upsAdvInputLineVoltageVdeviceThe current utility line voltage (AC)
snmp.device_prof_upsHighPrecInputFrequencyHzdeviceThe current input frequency to the UPS system
snmp.device_prof_upsHighPrecInputLineVoltageVdeviceThe current utility line voltage (AC)

PowerFlow / Output

Metric (chart context)UnitScopeDescription
snmp.device_prof_upsAdvOutputActivePowerWdeviceThe total output active power of the UPS system
snmp.device_prof_upsAdvOutputApparentPowerVAdeviceThe total output apparent power of all phases of the UPS system
snmp.device_prof_upsAdvOutputCurrentAdeviceThe current drawn by the load on the UPS
snmp.device_prof_upsAdvOutputEnergyUsagekWhdeviceThe output energy usage of the UPS
snmp.device_prof_upsAdvOutputFrequencyHzdeviceThe current output frequency of the UPS system
snmp.device_prof_upsAdvOutputLoad%deviceThe current UPS load expressed in percent of rated capacity
snmp.device_prof_upsAdvOutputVoltageVdeviceThe output voltage of the UPS system (AC)
snmp.device_prof_upsHighPrecOutputCurrentAdeviceThe current drawn by the load on the UPS

System / Battery

Metric (chart context)UnitScopeDescription
snmp.device_prof_upsAdvBatteryCapacity%deviceThe remaining battery capacity
snmp.device_prof_upsAdvBatteryRunTimeRemainingsdeviceThe UPS battery run time remaining before battery exhaustion
snmp.device_prof_upsBasicBatteryTimeOnBatterysdeviceThe elapsed time since the UPS has switched to battery power

System / Test

Metric (chart context)UnitScopeDescription
snmp.device_prof_upsAdvTestDiagnosticsResults{status}deviceThe results of the last UPS diagnostics test performed

System / Uptime

Metric (chart context)UnitScopeDescription
snmp.device_prof_systemUptimesdeviceTime since the system was last rebooted or powered on.

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.