From ad529132be6419f790dbb5f3b08be8b2a14aaa36 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Wed, 20 Dec 2017 14:46:58 +0100 Subject: [PATCH] fix plugin --- hardware/sensors/comet/p8000/snmp/mode/sensors.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/sensors/comet/p8000/snmp/mode/sensors.pm b/hardware/sensors/comet/p8000/snmp/mode/sensors.pm index 7705e2840..4879450f1 100644 --- a/hardware/sensors/comet/p8000/snmp/mode/sensors.pm +++ b/hardware/sensors/comet/p8000/snmp/mode/sensors.pm @@ -51,7 +51,7 @@ sub custom_humidity_perfdata { } $self->{output}->perfdata_add( label => $self->{label} . $extra_label, unit => $unit, - value => $self->{result_values}->{$self->{label}}, + value => $self->{result_values}->{$self->{label} . '_absolute'}, warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning-' . $self->{label} . '_' . $self->{result_values}->{display_absolute}), critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical-' . $self->{label} . '_' . $self->{result_values}->{display_absolute}), min => 0, max => 100,