From cae02c64fd2d3052dbd36f28f0521e9dae47ff80 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 25 Apr 2008 20:49:53 +0000 Subject: defined check_ntp --- manifests/init.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'manifests/init.pp') 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 <<||>> -- cgit v1.2.3