Small README fixes.

This commit is contained in:
Nick Chappell 2014-10-18 19:44:31 -07:00
parent f1b88abebf
commit 5a333c5169

View file

@ -329,8 +329,10 @@ assign_where => "\"linux_servers\" in host.${facter_variable}"",
The `checkcommand` defined type can create `checkcommand` objects. The `checkcommand` defined type can create `checkcommand` objects.
Example:
<pre> <pre>
#Create the http check command: #Create an HTTP check command:
icinga2::object::checkcommand { 'check_http': icinga2::object::checkcommand { 'check_http':
command => ['"/check_http"'], command => ['"/check_http"'],
arguments => {'"-H"' => '"$http_vhost$"', arguments => {'"-H"' => '"$http_vhost$"',
@ -361,23 +363,22 @@ icinga2::object::checkcommand { 'check_http':
'vars.http_sni' => 'false' 'vars.http_sni' => 'false'
} }
} }
</pre> </pre>
This vailible parameters are: Available parameters are:
* `template_to_import`: . * `template_to_import`
* `command`: . * `command`
* `cmd_path`: . * `cmd_path`
* `arguments`: . * `arguments`
* `env`: . * `env`
* `vars`: . * `vars`
* `timeout`: . * `timeout`
* `target_dir`: . * `target_dir`
* `target_file_name`: . * `target_file_name`
* `target_file_owner`: . * `target_file_owner`
* `target_file_group`: . * `target_file_group`
* `target_file_mode`: . * `target_file_mode`
####[`icinga2::object::host`](id:object_host) ####[`icinga2::object::host`](id:object_host)