summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-04-25 20:49:53 +0000
committermh <mh@immerda.ch>2008-04-25 20:49:53 +0000
commitcae02c64fd2d3052dbd36f28f0521e9dae47ff80 (patch)
tree0f09d4dc44d4cc2036ac8403a257d77ef5f420ba /manifests/init.pp
parent310117d43855c0ee538bb6e9096a72ec35d14d37 (diff)
defined check_ntp
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 67049e6..93e818b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -102,14 +102,17 @@ class nagios::base {
mode => 0755, owner => root, group => 0;
}
- nagios_command{ssh_port:
+ nagios_command{
+ ssh_port:
command_line => '$USER1/check_ssh -p $ARG1$ $HOSTADDRESS$';
# from apache2.pp
http_port:
command_line => '$USER1/check_http -p $ARG1$ -H $HOSTADDRESS$ -I $HOSTADDRESS$';
# from bind.pp
check_dig2:
- command_line => '$USER1/check_dig -H $HOSTADDRESS$ -l $ARG1$ --record_type=$ARG2$'
+ command_line => '$USER1/check_dig -H $HOSTADDRESS$ -l $ARG1$ --record_type=$ARG2$';
+ check_ntp:
+ command_line => '$USER1/check_ntp -H $HOSTADDRESS$ -w 0.5 -c 1 -j -1:100 -k -1:200';
}
Nagios_command <<||>>