diff options
author | mh <mh@immerda.ch> | 2010-10-23 01:09:41 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-10-23 01:09:41 +0200 |
commit | 36522dfeac8f5b2405282b9d01cd6e83d50d3de6 (patch) | |
tree | e81d315e1cfedb058652dfc2b095893c091298c5 /manifests | |
parent | 9dfbd0d0e01f4d64b693779658bbd9c1faad7d08 (diff) |
define commands at the right place
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/defaults/commands.pp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/manifests/defaults/commands.pp b/manifests/defaults/commands.pp index 655da48..e0b97d1 100644 --- a/manifests/defaults/commands.pp +++ b/manifests/defaults/commands.pp @@ -17,14 +17,6 @@ class nagios::defaults::commands { 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_http_port_url_content: - command_line => '$USER1$/check_http -H $ARG1$ -p $ARG2$ -u $ARG3$ -s $ARG4$'; - check_https_port_url_content: - command_line => '$USER1$/check_http --ssl -H $ARG1$ -p $ARG2$ -u $ARG3$ -s $ARG4$'; - check_http_url_content: - command_line => '$USER1$/check_http -H $ARG1$ -u $ARG2$ -s $ARG3$'; - check_https_url_content: - command_line => '$USER1$/check_http --ssl -H $ARG1$ -u $ARG2$ -s $ARG3$'; check_mysql_db: command_line => '$USER1$/check_mysql -H $ARG1$ -P $ARG2$ -u $ARG3$ -p $ARG4$ -d $ARG5$'; check_ntp_time: @@ -99,6 +91,16 @@ class nagios::defaults::commands { # from apache module http_port: command_line => '$USER1$/check_http -p $ARG1$ -H $HOSTADDRESS$ -I $HOSTADDRESS$'; + + check_http_port_url_content: + command_line => '$USER1$/check_http -H $ARG1$ -p $ARG2$ -u $ARG3$ -s $ARG4$'; + check_https_port_url_content: + command_line => '$USER1$/check_http --ssl -H $ARG1$ -p $ARG2$ -u $ARG3$ -s $ARG4$'; + check_http_url_content: + command_line => '$USER1$/check_http -H $ARG1$ -u $ARG2$ -s $ARG3$'; + check_https_url_content: + command_line => '$USER1$/check_http --ssl -H $ARG1$ -u $ARG2$ -s $ARG3$'; + # from bind module check_dig2: command_line => '$USER1$/check_dig -H $HOSTADDRESS$ -l $ARG1$ --record_type=$ARG2$'; |