### MetricsHub
MetricsHub 1.0.00

Home

Connectors directory[1] Full listing of connectors[2]

## Generic UPS

### Description

This connector enables hardware monitoring for MIB-2 Standard UPS through an SNMP interface.

community[3] datacenter[4] hardware[5]

Source[6]

### Target

Typical platform: SNMP[7]

Operating system: Out-Of-Band

### Prerequisites

Leverages: N/A

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 +GenericUPS --snmp v2c --community public

#### metricshub.yaml

    resourceGroups:
      <RESOURCE_GROUP>:
        resources:
          <HOSTNAME-ID>:
            attributes:
              host.name: <HOSTNAME> # Change with actual host name
              host.type: management
            connectors: [ +GenericUPS ] # 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 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
--- | --- | ---
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` `name` `type`
enclosure | `hw.enclosure.energy` `hw.enclosure.power` `hw.status{hw.type="enclosure", state="degraded|failed|ok"}` `hw.status{hw.type="enclosure", state="present"}` | `id` `info` `model` `name` `type` `vendor`
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.critical"}` `hw.voltage.limit{limit_type="low.critical"}` | `hw.parent.type` `id` `name` `sensor_location`

monitoring observability opentelemetry otel
Links:

- [1] ../metricshub-connectors-directory.html
- [2] ../metricshub-connectors-full-listing.html
- [3] tags/community.html
- [4] tags/datacenter.html
- [5] tags/hardware.html
- [6] https://github.com/sentrysoftware/metricshub-community-connectors/tree/main/src/main/connector/hardware/GenericUPS/GenericUPS.yaml
- [7] platforms/snmp.html

## Search Results for {{siteSearch | truncate:'50'}}

{{resultArray.length}}
{{parent.title}} {{parent.title}}

{{result.title}}

{{result.body | truncate:'400'}}

{{parent.title}}
{{result.title}}
{{result.body | truncate:'100'}}

No results.