diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 14:45:49 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-11-17 14:45:49 (GMT) |
commit | e030c2d17c10446bda840d66f6753b9bf573d715 (patch) | |
tree | edb7ec72eb41c74854663e1f5c6b25cfbf1e5223 /plugins | |
parent | 1c53c4f541db3afdc3a2975121b69064d53f7ef3 (diff) | |
download | monitoring-plugins-e030c2d17c10446bda840d66f6753b9bf573d715.tar.gz |
Add thresholds even if value is missingrefs/pull/1697/head
Diffstat (limited to 'plugins')
-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 6aa43ed..ba7af37 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, |