summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-11-07 20:48:07 +0000
committermh <mh@immerda.ch>2008-11-07 20:48:07 +0000
commit8b22ead8851da639f41acd734dfe84cac4b05409 (patch)
treed6ae1b06dafedf0b4d5cc9946e40e56f6813b645 /manifests/init.pp
parente031bdc42d97a0cfd9b1ed054f99d15a452f53dd (diff)
moved commands to puppet
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
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 <<||>>