diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 7 |
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 <<||>> |