diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/163415-diff-check_dns | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/163415-diff-check_dns')
-rw-r--r-- | web/attachments/163415-diff-check_dns | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web/attachments/163415-diff-check_dns b/web/attachments/163415-diff-check_dns new file mode 100644 index 0000000..1c1beb2 --- /dev/null +++ b/web/attachments/163415-diff-check_dns | |||
@@ -0,0 +1,13 @@ | |||
1 | *** check_dns.c.orig Sun Jan 15 10:30:55 2006 | ||
2 | --- check_dns.c Sun Jan 15 10:55:07 2006 | ||
3 | *************** | ||
4 | *** 173,178 **** | ||
5 | --- 173,179 ---- | ||
6 | |||
7 | /* If we got here, we should have an address string, | ||
8 | and we can segfault if we do not */ | ||
9 | + strip(address); | ||
10 | if (address==NULL || strlen(address)==0) | ||
11 | die (STATE_CRITICAL, | ||
12 | _("DNS CRITICAL - '%s' output parsing exited with no address\n"), | ||
13 | |||