-
-
Notifications
You must be signed in to change notification settings - Fork 414
Description
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.