Back to the list of connectors[1]

APC UPS Enterprise

Description

This connector enables hardware monitoring through APC UPS SNMP interface.

This connector supersedes:

Target

Typical platform: APC UPS

Operating system: Out-Of-Band

Prerequisites

Leverages: UPS SNMP Enabled

Technology and protocols: SNMP

This connector is not available for the local host (it is applicable to remote hosts only).

Examples

CLI

metricshub HOSTNAME -t management -c +APCUPS --snmp v2c --community public

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: management
        selectConnectors: [ APCUPS ] # Optional, to load only this connector
        protocols:
          snmp:
            version: v2c # Read documentation for v1, v2c and v3
            community: public # or probably something more secure

Connector Activation Criteria

The APC UPS connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • An SNMP Get on the OID 1.3.6.1.4.1.318.1.1.1.1.1.1.0 must return a value that matches with the UPS (regular expression)

Metrics

Type Collected Metrics Specific Attributes
battery
  • hw.battery.charge
  • hw.battery.time_left
  • hw.status{hw.type="battery", state="degraded|failed|ok"}
  • hw.status{hw.type="battery", state="present"}
  • hw.parent.type
  • id
  • model
  • name
  • type
  • vendor
enclosure
  • hw.status{hw.type="enclosure", state="degraded|failed|ok"}
  • hw.status{hw.type="enclosure", state="present"}
  • id
  • info
  • model
  • name
  • serial_number
  • type
  • vendor
power_supply
  • hw.power_supply.utilization
  • hw.status{hw.type="power_supply", state="present"}
  • hw.parent.type
  • id
  • name
  • power_supply_type
temperature
  • hw.status{hw.type="temperature", state="present"}
  • hw.temperature
  • hw.temperature.limit{limit_type="high.critical"}
  • hw.temperature.limit{limit_type="high.degraded"}
  • hw.parent.type
  • id
  • name
  • sensor_location
voltage
  • hw.status{hw.type="voltage", state="present"}
  • hw.voltage
  • hw.voltage.limit{limit_type="high.degraded"}
  • hw.voltage.limit{limit_type="low.critical"}
  • hw.parent.type
  • id
  • name
  • sensor_location
No results.