|
|
@@ -463,7 +463,7 @@ main (int argc, char **argv)
|
|
|
/* Process this block for numeric comparisons */
|
|
|
/* Make some special values,like Timeticks numeric only if a threshold is defined */
|
|
|
if (thlds[i]->warning || thlds[i]->critical || calculate_rate) {
|
|
|
- ptr = strpbrk (show, "0123456789");
|
|
|
+ ptr = strpbrk (show, "-0123456789");
|
|
|
if (ptr == NULL)
|
|
|
die (STATE_UNKNOWN,_("No valid data returned (%s)\n"), show);
|
|
|
while (i >= response_size) {
|