diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-05 00:54:09 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-05 00:54:09 (GMT) |
commit | 2ab4d8fc278413b01ff9c4e4496f892398f80a4c (patch) | |
tree | 6d402f5bf1b4673d00f97bbb84b1ea6b4badd060 /plugins/check_ping.c | |
parent | e9e1fe6ef5720adf355b605ffdbe94cd608cc46c (diff) | |
download | monitoring-plugins-2ab4d8fc278413b01ff9c4e4496f892398f80a4c.tar.gz |
fix patch 998291
fix patch 1078934 expect check_ssh fix and check_nt perfdata should stay
on one word like in nagios
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1004 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 2 |
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) |