fix cisco sensor critical

This commit is contained in:
garnier-quentin 2020-01-10 13:49:37 +01:00
parent ff3b2ae8ed
commit 0ac3ceb44c
1 changed files with 1 additions and 0 deletions

View File

@ -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)) {