diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 15:45:49 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 15:45:49 +0100 |
commit | e030c2d17c10446bda840d66f6753b9bf573d715 (patch) | |
tree | edb7ec72eb41c74854663e1f5c6b25cfbf1e5223 /plugins/check_ping.c | |
parent | 1c53c4f541db3afdc3a2975121b69064d53f7ef3 (diff) | |
download | monitoring-plugins-e030c2d17c10446bda840d66f6753b9bf573d715.tar.gz |
Add thresholds even if value is missing
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 6aa43ed8..ba7af373 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -171,7 +171,7 @@ main (int argc, char **argv) crta>0?TRUE:FALSE, crta, TRUE, 0, FALSE, 0)); } else { - printf("| rta=U;;;;;"); + printf("| rta=U;%f;%f;;", wrta, crta); } printf(" %s\n", perfdata ("pl", (long) pl, "%", wpl>0?TRUE:FALSE, wpl, |