This commit is contained in:
garnier-quentin 2019-10-14 09:06:46 +02:00
parent 7baf324ef4
commit 65778cbe56
1 changed files with 1 additions and 1 deletions

View File

@ -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 . ')'