Skip to content

“hardware-health” mode returns empty fan status on HPE Aruba (ANW R8Q70A 6200M 48G CL4 PoE 4SFP+) #359

Description

@giudig

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions