Skip to content

Support APC Smart-UPS Ultra On-Line ambient.temperature via SNMP (PowerNet MIB v4.5.8) #3250

@bbvrpz10k

Description

@bbvrpz10k

For APC Smart-UPS Ultra On-Line units with Network Management Card 3, the current SNMP driver in NUT does not expose ambient.temperature, even though the device provides this metric via SNMP.

The OID used by current APC Network Management Card 3 is available in APC PowerNet MIB v4.5.8 (latest from Schneider Electric ). The existing driver appears to be based on an older version (PowerNet MIB v4.0.4), and does not include the correct OID mapping for ambient temperature.

Expected behavior

When querying a UPS via NUT (e.g., upsc), the output should include:
ambient.temperature: 28
…where the value is sourced from the SNMP OID:
.1.3.6.1.4.1.318.1.1.1.1.1.1.0
This OID is defined in APC PowerNet MIB v4.5.8 and consistently returns the ambient temperature on APC Smart-UPS Ultra On-Line devices with Network Management Card 3.

Actual behavior

Currently ambient.temperature is missing in upsc output for APC Smart-UPS Ultra On-Line devices, even though the SNMP OID exists and returns a valid value.

Environment

  • NUT version: latest stable (tested with 2.8.0 SNMP driver)
  • UPS model: APC Smart-UPS Ultra On-Line
  • Management Card: APC Network Management Card 3
  • SNMP version: v3 (and v1/v2c can also return the OID)
  • Relevant MIB: PowerNet MIB v4.5.8 (downloadable from Schneider Electric)

PowerNet MIB link:
https://www.se.com/us/en/download/document/APC_POWERNETMIB_EN/

Additional context

If needed, I can provide:

  • Tested SNMP walk output for relevant OIDs
  • If required, I can additionally validate the behavior using the previous candidate or pre-release version, in order to confirm expected behavior and exclude potential regressions prior to the update.

powernet458.mib.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    APCIncorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)Low-hanging fruitA proposal or issue that is good for newcomers to codebase or otherwise a quick winSNMP

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions