diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 14:09:11 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 14:23:24 +0100 |
commit | 0214ec1918abf589f15b70948ddba641a9729ce3 (patch) | |
tree | 926768319f224d53aff711e6f4ee64f11cc1ccc5 /plugins/check_ping.c | |
parent | 27d96dcf23c44c74d0a2be7ea94f47798e37030a (diff) | |
download | monitoring-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.c | 2 |
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, |