From 8b22ead8851da639f41acd734dfe84cac4b05409 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 7 Nov 2008 20:48:07 +0000 Subject: moved commands to puppet --- manifests/init.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests/init.pp') diff --git a/manifests/init.pp b/manifests/init.pp index 702e875..bc39b1f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -109,6 +109,16 @@ class nagios::base { 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'; + check_http_url: + command_line => '$USER1$/check_http -H $ARG1$ -u $ARG2$'; + check_http_url_regex: + command_line => '$USER1$/check_http -H $ARG1$ -u $ARG2$ -e $ARG3$'; + check_https_url: + command_line => '$USER1$/check_http --ssl -H $ARG1$ -u $ARG2$'; + check_https_url_regex: + command_line => '$USER1$/check_http --ssl -H $ARG1$ -u $ARG2$ -e $ARG3$'; + check_https: + command_line => '$USER1$/check_http -S -H $HOSTADDRESS$'; } Nagios_command <<||>> -- cgit v1.2.3