aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> 2021-11-17 15:45:49 +0100
committerGravatar RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> 2021-11-17 15:45:49 +0100
commite030c2d17c10446bda840d66f6753b9bf573d715 (patch)
treeedb7ec72eb41c74854663e1f5c6b25cfbf1e5223 /plugins
parent1c53c4f541db3afdc3a2975121b69064d53f7ef3 (diff)
downloadmonitoring-plugins-e030c2d17c10446bda840d66f6753b9bf573d715.tar.gz
Add thresholds even if value is missing
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_ping.c2
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,