From 0ac3ceb44cf11cd9112f363791e71269b3877bb9 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 10 Jan 2020 13:49:37 +0100 Subject: [PATCH] fix cisco sensor critical --- centreon/common/cisco/standard/snmp/mode/components/sensor.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/centreon/common/cisco/standard/snmp/mode/components/sensor.pm b/centreon/common/cisco/standard/snmp/mode/components/sensor.pm index 2d55029f1..5deacacde 100644 --- a/centreon/common/cisco/standard/snmp/mode/components/sensor.pm +++ b/centreon/common/cisco/standard/snmp/mode/components/sensor.pm @@ -282,6 +282,7 @@ sub check { if (defined($snmp_result->{$mapping->{entSensorValueUpdateRate}->{oid} . '.' . $_}) && $snmp_result->{$mapping->{entSensorValueUpdateRate}->{oid} . '.' . $_} == 0) { ($warn, $crit) = ('', ''); + $verify_th_update->{$_}->{status} = 'ok'; } if (!$self->{output}->is_status(value => $verify_th_update->{$_}->{status}, compare => 'ok', litteral => 1)) {