|
|
@@ -485,7 +485,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 || is_ticks) {
|
|
|
+ if (thlds[i]->warning || thlds[i]->critical || calculate_rate || is_ticks || offset != 0.0) {
|
|
|
ptr = strpbrk (show, "-0123456789");
|
|
|
if (ptr == NULL)
|
|
|
die (STATE_UNKNOWN,_("No valid data returned (%s)\n"), show);
|