When using check_nwc_health (12.9.1) in --mode hardware-health against an HPE Aruba 6200M (R8Q70A) switch, all fan sensors are reported as status empty, resulting in a CRITICAL state even though the hardware is healthy.
./check_nwc_health \ --community 'XXXX' \ --hostname 'XXXX' \ --mode 'hardware-health' \ --multiline \ --protocol '2c'
CRITICAL - fan 1.2.1/Tray-1/2/1 status is empty fan 1.2.2/Tray-1/2/2 status is empty fan 2.2.1/Tray-2/2/1 status is empty fan 2.2.2/Tray-2/2/2 status is empty fan 3.2.1/Tray-3/2/1 status is empty fan 3.2.2/Tray-3/2/2 status is empty fan 4.2.1/Tray-4/2/1 status is empty fan 4.2.2/Tray-4/2/2 status is empty
The plugin should correctly detect the fan operational status or ignore non-reporting fan sensors rather than triggering a CRITICAL due to an empty SNMP value.
Tried using blacklist option --blacklist [ENVIRONMENTALSUBSYSTEM] but the error persists.
It seems that the SNMP OIDs for environmental sensors (fans) on newer ArubaOS-Switch or ArubaOS-CX firmware may return empty strings instead of numeric states.
When using check_nwc_health (12.9.1) in --mode hardware-health against an HPE Aruba 6200M (R8Q70A) switch, all fan sensors are reported as status empty, resulting in a CRITICAL state even though the hardware is healthy.
./check_nwc_health \ --community 'XXXX' \ --hostname 'XXXX' \ --mode 'hardware-health' \ --multiline \ --protocol '2c'CRITICAL - fan 1.2.1/Tray-1/2/1 status is empty fan 1.2.2/Tray-1/2/2 status is empty fan 2.2.1/Tray-2/2/1 status is empty fan 2.2.2/Tray-2/2/2 status is empty fan 3.2.1/Tray-3/2/1 status is empty fan 3.2.2/Tray-3/2/2 status is empty fan 4.2.1/Tray-4/2/1 status is empty fan 4.2.2/Tray-4/2/2 status is emptyThe plugin should correctly detect the fan operational status or ignore non-reporting fan sensors rather than triggering a CRITICAL due to an empty SNMP value.
Tried using blacklist option --blacklist [ENVIRONMENTALSUBSYSTEM] but the error persists.
It seems that the SNMP OIDs for environmental sensors (fans) on newer ArubaOS-Switch or ArubaOS-CX firmware may return empty strings instead of numeric states.