aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-02-03 11:37:06 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-02-03 11:37:06 +0000
commit7c4048e94599d8e190b70d261fa5312d9d26bc38 (patch)
treeb913b606f9c4d00dfbf9586c74cc7f4d6ea55650
parentcbfb34d9642674608d80e75269eb3c61084b240d (diff)
downloadsitesummary-7c4048e94599d8e190b70d261fa5312d9d26bc38.tar.gz
sitesummary-7c4048e94599d8e190b70d261fa5312d9d26bc38.tar.bz2
sitesummary-7c4048e94599d8e190b70d261fa5312d9d26bc38.tar.xz
Accept single DNS server setups.
-rwxr-xr-xnagios-plugins/check_etc_resolv2
1 files changed, 1 insertions, 1 deletions
diff --git a/nagios-plugins/check_etc_resolv b/nagios-plugins/check_etc_resolv
index b032111..18ac87d 100755
--- a/nagios-plugins/check_etc_resolv
+++ b/nagios-plugins/check_etc_resolv
@@ -17,7 +17,7 @@ $host = '/usr/bin/host';
$debug = 0;
# There should be at least this many servers in the list
-$mincount = 2;
+$mincount = 1;
# Try to call host this many times before reporting any bugs
$trycount = 3;