summaryrefslogtreecommitdiff
path: root/manifests/defaults/commands.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-21 02:24:09 +0200
committermh <mh@immerda.ch>2010-10-21 02:24:09 +0200
commit6227899364bc721b9c728151a69c46386d96cf44 (patch)
tree2e1836203a98c41d2b77ce81d4120c35b045eba7 /manifests/defaults/commands.pp
parenta6fc95172382e10b3341e6f973b7d7f4159cf67b (diff)
add check_dns2
check_dns had some problems with down nameservers. This one properly checks the right nameserver.
Diffstat (limited to 'manifests/defaults/commands.pp')
-rw-r--r--manifests/defaults/commands.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/defaults/commands.pp b/manifests/defaults/commands.pp
index 9375858..06e45e9 100644
--- a/manifests/defaults/commands.pp
+++ b/manifests/defaults/commands.pp
@@ -98,6 +98,10 @@ class nagios::defaults::commands {
# from mysql module
check_mysql_health:
command_line => '$USER1$/check_mysql_health --hostname $ARG1$ --port $ARG2$ --username $ARG3$ --password $ARG4$ --mode $ARG5$ --database $ARG6$';
+
+ # better check_dns
+ check_dns2:
+ command_line => '$USER1$/check_dns2 -c $ARG1 A $ARG2';
}
# notification commands