summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 776c57a)
raw | patch | inline | side by side (parent: 776c57a)
author | Matthew Kent <mattkent@users.sourceforge.net> | |
Tue, 21 Dec 2004 05:00:46 +0000 (05:00 +0000) | ||
committer | Matthew Kent <mattkent@users.sourceforge.net> | |
Tue, 21 Dec 2004 05:00:46 +0000 (05:00 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1044 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_dns.c | patch | blob | history |
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index b0ab23cab6df4111ac8a633b3b48726b1e432062..20cb6dd87a513de9f9027153d089c74ec1cf5092 100644 (file)
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
/* Connection was refused */
else if (strstr (input_buffer, "Connection refused") ||
+ strstr (input_buffer, "Couldn't find server") ||
strstr (input_buffer, "Refused") ||
(strstr (input_buffer, "** server can't find") &&
strstr (input_buffer, ": REFUSED")))
/* Host or domain name does not exist */
else if (strstr (input_buffer, "Non-existent") ||
strstr (input_buffer, "** server can't find") ||
- strstr (input_buffer,"NXDOMAIN"))
+ strstr (input_buffer,"NXDOMAIN"))
die (STATE_CRITICAL, _("Domain %s was not found by the server\n"), query_address);
/* Network is unreachable */