Hardware health over SNMP (snmp_hardware)
Reads the health of a device's hardware from its vendor's SNMP objects: temperatures, fans, power supplies, voltages and, on servers and storage appliances, disks and RAID volumes. One kind serves every vendor. The vendor decides which objects are read; what the sensor makes of them is the same, so a limit, a template or a notification does not depend on the make.
Vendor (vendor) | Reads | Devices |
|---|---|---|
cisco | CISCO-ENVMON-MIB (voltage, temperature, fan and power supply states), CISCO-ENTITY-SENSOR-MIB (sensors by physical entity, with the alarm of a crossed threshold), and the standard ENTITY-SENSOR-MIB when the device has no Cisco one | Routers and switches with the environment monitor MIB, and IOS, IOS XE and NX-OS devices with entity sensors |
dell | The iDRAC MIB (674.10892.5): the server's global status, temperature, cooling, power supply and voltage probes, physical and virtual disks, RAID controller batteries; or the older OpenManage layout (674.10892.1) for the chassis parts | PowerEdge servers |
hpe | CPQHLTH-MIB and CPQIDA-MIB: the server's health condition, temperatures, fans, power supplies, array controllers, logical and physical drives | ProLiant servers (iLO, host agent) |
netapp | NETAPP-MIB: the global status, over-temperature, failed fans and power supplies, the NVRAM battery, failed disks | Data ONTAP filers |
synology | The Synology system, disk and RAID MIBs: status, temperature, fans, power, each disk's status, SMART health and temperature, each volume | DiskStation |
qnap | NAS-MIB: temperatures, fans, power supplies, each disk's SMART state and temperature; the older objects for firmware that has only those | QNAP NAS |
entity | The standard ENTITY-SENSOR-MIB only: temperature, fan and voltage sensors with their operational status | Any device that has it |
What it looks like

The sensor's page after a few polls, reading a Synology DiskStation. In the dark theme: the sensor's page. The form for adding it, with its parameters filled in: light, dark.
How the status is decided
Every part the device lists becomes OK, Warning or Critical, by the vendor's own scale (the mapping is in the table below). The device's own overall verdict, where it has one (Dell's global status, HPE's health condition, NetApp's global status, Synology's system status), counts as a part too. The status is the worst of them, and it is the sensor's own verdict: Warning for a part that is degraded or non-critical, Down for one that has failed or is critical. A part that is not there (an empty power supply bay, a fan that is not present) is left out, not counted as a fault.
| Vendor | OK | Warning | Critical |
|---|---|---|---|
| Cisco environment monitor | normal | warning | critical, shutdown, not functioning |
| Cisco and standard entity sensors | operational | a Cisco threshold of severity minor or other is crossed | not operational, or a threshold of severity major or critical is crossed |
| Dell | ok | non-critical (and the probe states above or below a non-critical threshold) | critical, non-recoverable, failed |
| HPE | ok | degraded | failed |
| NetApp | ok | non-critical, a battery that is partly discharged, near its end of life or overcharged | critical, non-recoverable, failed fans, power supplies or disks, over-temperature, a battery at its end of life |
| Synology | normal (disks also initialised or not initialised; RAID also a scheduled check) | disk SMART warning; a RAID set that is degraded, repairing, expanding or being built | system, power or fan failed; a disk crashed, its system partition failed or SMART critical; a RAID set that has crashed |
| QNAP | disk SMART good; fan and power status 0 | SMART warning | SMART abnormal or error; fan or power failed; a disk that cannot be read |
Channels
| Key | Name | Unit | Default limits |
|---|---|---|---|
status | Hardware status | none | value map: 1 OK, 2 Warning, 3 Critical |
temperature_max_c | Hottest temperature | °C | none: the devices' own states carry their thresholds |
disk_temperature_max_c | Hottest disk | °C | warning above 50, error above 60 |
fan_problems | Fans with a problem | none | none |
power_problems | Power supplies with a problem | none | none |
voltage_problems | Voltages with a problem | none | none |
disk_problems | Disks and volumes with a problem | none | none |
other_problems | Other parts with a problem | none | none |
A count is unknown, not zero, when the device lists no part of that kind (a switch has no disks): a limit on it does not fire, and the graph shows a gap, not a flat line at zero. The message names the first parts that have a problem (critical: Fan 2 (critical), CPU (warning), and 2 more), and for a healthy device says what it has (all well: 4 fans, 2 power supplies, 6 temperature probes, hottest 41 °C).
Parameters
| Parameter | Default | Meaning |
|---|---|---|
vendor | required | cisco, dell, hpe, netapp, synology, qnap or entity. |
port | 161 | UDP port of the SNMP agent. |
Suggested interval: 300 seconds. Credential: SNMP. Discovery adds this sensor, with the vendor set, to a Cisco device that has the environment monitor MIB or runs IOS, IOS XE or NX-OS, to a Dell server whose iDRAC answers (by its system object identifier: a modular chassis controller is not a server), to an HPE server, to a NetApp filer (not an E-series array), a Synology (found by its own system status object on a net-snmp agent) and a QNAP. The device templates are in templates/devices.
On the target
Switch SNMP on, with a read-only community or a v3 user. See SNMP setup. Server hardware reports through the management controller or the vendor's agent: for Dell the iDRAC (Settings, Services, SNMP Agent), for HPE the iLO (Management, SNMP Settings) or the Insight Management Agents on the host. The Windows or Linux host itself does not answer these objects.
Failures
| Message | Meaning |
|---|---|
the device offers none of the <vendor> hardware objects (kind protocol) | The wrong vendor, or the hardware agent is not switched on for SNMP. A Cisco small-business switch has no environment monitor MIB; use entity if it has entity sensors. |
| SNMP errors | As for snmp_interface. |
Verification
| Vendor | Checked against |
|---|---|
synology | Recordings of two real DiskStations replayed by an SNMP simulator, live (one with two disks and two volumes, one with twenty-three disks and volumes), and a third recorded with the system status only, as text. Scripted answers for the states. |
hpe | Recordings of real ProLiant iLO agents (iLO 4 with 3 fans, 2 power supplies, 28 temperature sensors and 6 array parts; larger iLO 4 and iLO 5 recordings; an iLO 6 with 6 fans and 25 sensors and no array objects), live. Scripted answers for the conditions. |
qnap | A recording of a real QNAP with five fans, four power supplies, two temperature sensors and twenty disks, live (the current objects). Scripted answers for the older objects. |
entity | Recordings of an Arista switch (6 fans, 47 temperature and 64 voltage sensors), an Aruba CX switch (12 fans), an HP ProCurve switch, a Palo Alto firewall and a Dell SONiC switch, live. This is also the code that reads Cisco's entity sensor table: the two tables have the same columns. |
cisco | Scripted only, from the object definitions of CISCO-ENVMON-MIB and CISCO-ENTITY-SENSOR-MIB. The simulator has no recording of a router or switch that serves them (its Cisco recordings are small-business switches, wireless controllers and access points), so no Cisco device was seen. The live tests check that those recordings give the sensor's own failure, not a value. |
dell | Scripted only, from the object definitions of the iDRAC MIB. The simulator has no iDRAC recording (its Dell recordings are a modular chassis, storage arrays, UPSes and printers), and the recording of the OpenManage MIB holds two objects. The live tests check that the modular chassis and a Windows host give the sensor's own failure. |
netapp | Scripted only, from the object definitions of NETAPP-MIB. The simulator's NetApp recordings answer sysDescr and nothing else, and the live test checks that the sensor says so. |
Not seen on any device: a part that has failed or is degraded. Every recording is of a healthy device, so the Warning and Critical paths of each vendor were exercised with scripted answers only, built from the vendors' object definitions, which this repository's MIB reader read to find the object identifiers and the numbering of the states. Also not seen: SNMPv3, a Cisco, Dell or NetApp device of any kind, and a RAID set that is rebuilding.
The live tests read the simulator through PROBEWARD_TEST_SNMPSIM_HOST, PROBEWARD_TEST_SNMPSIM_PORT and PROBEWARD_TEST_SNMPSIM_COMMUNITIES (see tests/snmpsim_live.rs), and skip without them. The recordings are GPL and are not in this repository.