summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-11-17 13:09:11 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2021-11-17 13:23:24 (GMT)
commit0214ec1918abf589f15b70948ddba641a9729ce3 (patch)
tree926768319f224d53aff711e6f4ee64f11cc1ccc5 /plugins/check_ping.c
parent27d96dcf23c44c74d0a2be7ea94f47798e37030a (diff)
downloadmonitoring-plugins-0214ec1918abf589f15b70948ddba641a9729ce3.tar.gz
Show RTA as unknown if it can not be determined
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 7d58b10..6aa43ed 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("|"); 174 printf("| rta=U;;;;;");
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,