summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2012-06-25 01:14:12 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-06-25 01:14:12 +0200
commitbf7c4f95aea64e784c66c7ee27da5259ce07f4e1 (patch)
tree01085159faf8adc60bb9b87ae9ad7f80918ef8b7 /plugins/check_ping.c
parent991054fa6e3d8b3288679ebfe6d84bcfe3ca5d20 (diff)
parentc69890a4b4e3b303ae82cc7eec773486e08c80bb (diff)
downloadmonitoring-plugins-bf7c4f95aea64e784c66c7ee27da5259ce07f4e1.tar.gz
Merge remote-tracking branch 'github/waja/master'
Conflicts: NEWS
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 bfdee492..23dcd6a8 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -533,6 +533,8 @@ error_scan (char buf[MAX_INPUT_BUFFER], const char *addr)
533 die (STATE_CRITICAL, _("CRITICAL - Host not found (%s)"), addr); 533 die (STATE_CRITICAL, _("CRITICAL - Host not found (%s)"), addr);
534 else if (strstr (buf, "Time to live exceeded")) 534 else if (strstr (buf, "Time to live exceeded"))
535 die (STATE_CRITICAL, _("CRITICAL - Time to live exceeded (%s)"), addr); 535 die (STATE_CRITICAL, _("CRITICAL - Time to live exceeded (%s)"), addr);
536 else if (strstr (buf, "Destination unreachable: "))
537 die (STATE_CRITICAL, _("CRITICAL - Destination Unreachable (%s)"), addr);
536 538
537 if (strstr (buf, "(DUP!)") || strstr (buf, "DUPLICATES FOUND")) { 539 if (strstr (buf, "(DUP!)") || strstr (buf, "DUPLICATES FOUND")) {
538 if (warn_text == NULL) 540 if (warn_text == NULL)