aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorGravatar RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> 2021-11-17 14:09:11 +0100
committerGravatar RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> 2021-11-17 14:23:24 +0100
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 7d58b103..6aa43ed8 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("|");
+ printf("| rta=U;;;;;");
}
printf(" %s\n", perfdata ("pl", (long) pl, "%",
wpl>0?TRUE:FALSE, wpl,