From d8bd62d955c806f765b76ce9a6cc4a4111a8c918 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 15 Jun 2015 11:11:49 +0200 Subject: [PATCH] Documentation: Extend Custom Attributes with the boolean type fixes #9393 --- doc/3-monitoring-basics.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/3-monitoring-basics.md b/doc/3-monitoring-basics.md index b93d080ef..1af403ae7 100644 --- a/doc/3-monitoring-basics.md +++ b/doc/3-monitoring-basics.md @@ -152,14 +152,14 @@ In addition to built-in attributes you can define your own attributes: Valid values for custom attributes include: -* Strings and numbers -* Arrays and dictionaries -* Functions +* [Strings](19-language-reference.md#string-literals), [numbers](19-language-reference.md#numeric-literals) and [booleans](19-language-reference.md#boolean-literals) +* [Arrays](19-language-reference.md#array) and [dictionaries](19-language-reference.md#dictionary) +* [Functions](3-monitoring-basics.md#custom-attributes-functions) ### Functions as Custom Attributes -Icinga 2 lets you specify functions for custom attributes. The special case here -is that whenever Icinga 2 needs the value for such a custom attribute it runs +Icinga 2 lets you specify [functions](19-language-reference.md#functions) for custom attributes. +The special case here is that whenever Icinga 2 needs the value for such a custom attribute it runs the function and uses whatever value the function returns: object CheckCommand "random-value" { -- 2.40.0