summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-11-17 15:45:49 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-11-17 15:45:49 +0100
commite030c2d17c10446bda840d66f6753b9bf573d715 (patch)
treeedb7ec72eb41c74854663e1f5c6b25cfbf1e5223 /plugins/check_ping.c
parent1c53c4f541db3afdc3a2975121b69064d53f7ef3 (diff)
downloadmonitoring-plugins-e030c2d17c10446bda840d66f6753b9bf573d715.tar.gz
Add thresholds even if value is missing
Diffstat (limited to 'plugins/check_ping.c')
-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)
171 crta>0?TRUE:FALSE, crta, 171 crta>0?TRUE:FALSE, crta,
172 TRUE, 0, FALSE, 0)); 172 TRUE, 0, FALSE, 0));
173 } else { 173 } else {
174 printf("| rta=U;;;;;"); 174 printf("| rta=U;%f;%f;;", wrta, crta);
175 } 175 }
176 printf(" %s\n", perfdata ("pl", (long) pl, "%", 176 printf(" %s\n", perfdata ("pl", (long) pl, "%",
177 wpl>0?TRUE:FALSE, wpl, 177 wpl>0?TRUE:FALSE, wpl,