mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Fix #1671
This commit is contained in:
parent
4941216978
commit
2e2e01d66e
@ -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 . ')'
|
||||
|
Loading…
x
Reference in New Issue
Block a user