summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 4778fcf..9176466 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -469,6 +469,8 @@ error_scan (char buf[MAX_INPUT_BUFFER], const char *addr)
469 die (STATE_CRITICAL, _("CRITICAL - Host Unreachable (%s)"), addr); 469 die (STATE_CRITICAL, _("CRITICAL - Host Unreachable (%s)"), addr);
470 else if (strstr (buf, "unknown host" )) 470 else if (strstr (buf, "unknown host" ))
471 die (STATE_CRITICAL, _("CRITICAL - Host not found (%s)"), addr); 471 die (STATE_CRITICAL, _("CRITICAL - Host not found (%s)"), addr);
472 else if (strstr (buf, "Time to live exceeded"))
473 die (STATE_CRITICAL, _("CRITICAL - Time to live exceeded (%s)"), addr);
472 474
473 if (strstr (buf, "(DUP!)") || strstr (buf, "DUPLICATES FOUND")) { 475 if (strstr (buf, "(DUP!)") || strstr (buf, "DUPLICATES FOUND")) {
474 if (warn_text == NULL) 476 if (warn_text == NULL)