Back to the list of connectors

Generic UPS

Description

This connector provides hardware monitoring of MIB-2 Standard UPS through an SNMP interface.

Connector ID: GenericUPS

This connector is superseded by:

Target

Typical platform: Any UPS which supports UPS-MIB (RFC1628)

Operating system: Out-of-Band

Prerequisites

Leverages:

Technology and protocols: SNMP

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

Examples

CLI

hws HOSTNAME -t management -f GenericUPS --snmp v2c --community public

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: management
  selectedConnectors: [ GenericUPS ] # Optional, to load only this connector
  snmp:
    version: v1 # Read documentation for v2 and v3
    community: public # or probably something more secure

Connector Activation Criteria

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

  • An SNMP Get-Next on the OID 1.3.6.1.2.1.33 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes (Labels)
Enclosure
  • hw.enclosure.energy
  • hw.status{hw.type="enclosure",state="ok|degraded|failed"}
  • hw.status{hw.type="enclosure",state="present"}
  • info
  • model
  • type
  • vendor
Battery
  • hw.battery.charge
  • hw.battery.time_left{state="discharging"}
  • hw.status{hw.type="battery",state="ok|degraded|failed"}
  • hw.status{hw.type="battery",state="present"}
  • type
Temperature Sensor
  • hw.status{hw.type="temperature",state="present"}
  • hw.temperature
  • hw.temperature.limit{limit_type="high.critical"}
  • hw.temperature.limit{limit_type="high.degraded"}
  • sensor_location
Voltage Sensor
  • hw.status{hw.type="voltage",state="present"}
  • hw.voltage
  • hw.voltage.limit{limit_type="high.critical"}
  • hw.voltage.limit{limit_type="low.critical"}
  • sensor_location
No results.