Skip to content

incorrect fan status showing when running plugin from command line #37

@Vani2468

Description

@Vani2468

We are using check_hpasm plugin to check HP proliant hardware Monitoring, but when we run plugin from command line we are getting critical message even though in ILO there is no issue.

OMD[testworker@XXXX]:$ /omd/plugins/check_hpasm --hostname testhost --community test --perfdata -t 600 --eventrange=1d/12h
CRITICAL - fan 3 (system) needs attention, fan 4 (system) needs attention, fan 5 (system) needs attention, fan 6 (system) needs attention, fan 7 (system) needs attention, System: 'proliant dl360 gen10', S/N: 'test', ROM: 'U32 v3.30' | pc_1=55;800;800 pc_2=28;800;800 fan_1=0% fan_2=0% fan_3=50% fan_4=50% fan_5=50% fan_6=50% fan_7=50% temp_1_ambient=21;42;42 temp_2_cpu=40;70;70 temp_6_memory=28;90;90 temp_12_system=35;60;60 temp_14_system=26;60;60 temp_15_ambient=24;60;60 temp_16_system=32;115;115 temp_18_system=27;115;115 temp_19_system=29;115;115 temp_22_system=38;100;100 temp_23_system=67;110;110 temp_24_system=39;90;90 temp_25_system=57;100;100 temp_26_system=40;85;85 temp_28_ioBoard=40;100;100 temp_29_system=31;90;90 temp_30_ioBoard=63;100;100 temp_31_ioBoard=37;90;90 temp_32_ioBoard=75;100;100 temp_33_ioBoard=33;90;90 temp_38_system=35;75;75 temp_43_powerSupply=23;100;100 temp_44_powerSupply=28;75;75
OMD[vieworker@XXXX]:
$

Kindly advice how to fix the issue to get the OK state in the output.

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