From 816f26888fa8658e99f3ee1febb7cdf771d3edd3 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 10 Feb 2017 14:52:38 +0100 Subject: [PATCH] doc/cli: add example for creating a host template --- doc/60-CLI.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/60-CLI.md b/doc/60-CLI.md index a9be042a..770fb949 100644 --- a/doc/60-CLI.md +++ b/doc/60-CLI.md @@ -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