From: Michael Friedrich Date: Thu, 24 Nov 2016 15:40:40 +0000 (+0100) Subject: Add a note for *Command template imports for < 2.6.0 X-Git-Tag: v2.6.0~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa32effd9b3c1e67af89694bc0d77ed2f2b21d36;p=icinga2 Add a note for *Command template imports for < 2.6.0 fixes #13297 --- diff --git a/doc/9-object-types.md b/doc/9-object-types.md index fbcd8e1ce..98e00c556 100644 --- a/doc/9-object-types.md +++ b/doc/9-object-types.md @@ -81,6 +81,10 @@ chapter. A check command definition. Additional default command custom attributes can be defined here. +> **Note** +> +> Icinga 2 versions < 2.6.0 require the import of the [plugin-check-command](10-icinga-template-library.md#itl-plugin-check-command) template. + Example: object CheckCommand "check_http" { @@ -436,6 +440,10 @@ Endpoint objects cannot currently be created with the API. An event command definition. +> **Note** +> +> Icinga 2 versions < 2.6.0 require the import of the [plugin-event-command](10-icinga-template-library.md#itl-plugin-event-command) template. + Example: object EventCommand "restart-httpd-event" { @@ -1080,6 +1088,10 @@ Runtime Attributes: A notification command definition. +> **Note** +> +> Icinga 2 versions < 2.6.0 require the import of the [plugin-notification-command](10-icinga-template-library.md#itl-plugin-notification-command) template. + Example: object NotificationCommand "mail-service-notification" {