diff --git a/centreon-plugins/snmp_standard/mode/numericvalue.pm b/centreon-plugins/snmp_standard/mode/numericvalue.pm index 00406a8cf..d7335f409 100644 --- a/centreon-plugins/snmp_standard/mode/numericvalue.pm +++ b/centreon-plugins/snmp_standard/mode/numericvalue.pm @@ -159,7 +159,7 @@ sub check_data { $value = $1; } } - if ($value !~ /^\d+(\.\d+)?$/) { + if ($value !~ /^-?\d+(?:\.\d+)?$/) { $self->{output}->output_add( severity => 'UNKNOWN', short_msg => 'oid value is not numeric (' . $value . ')'