doc/cli: add example for creating a host template

This commit is contained in:
Michael Friedrich 2017-02-10 14:52:38 +01:00 committed by Thomas Gelf
parent da41e2f4db
commit 816f26888f
1 changed files with 8 additions and 0 deletions

View File

@ -284,6 +284,14 @@ The Icinga Director distincts between the following object types:
| `external_object` | An external object. Can be referenced and used, will not be |
| | deployed |
Example for creating a host template:
```sh
icingacli director host create 'Some template' \
--object_type template \
--check_command hostalive
```
Please take a lot of care when modifying object types, you should not do so for
a good reason. The CLI allows you to issue operations that are not allowed in the
web frontend. Do not use this unless you really understand its implications. And