]> granicus.if.org Git - icinga2/commitdiff
Documentation: Link supported expression operators from sections about apply rules
authorJonas Meurer <jonas@freesources.org>
Tue, 7 Oct 2014 11:38:02 +0000 (13:38 +0200)
committerMichael Friedrich <michael.friedrich@gmail.com>
Sat, 11 Oct 2014 17:02:33 +0000 (19:02 +0200)
fixes #7327

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
AUTHORS
doc/6-configuring-icinga-2.md

diff --git a/AUTHORS b/AUTHORS
index fa213293ffd035b966ec839765c5be0b53a6a3df..e30f585d3a229796dca5f1ebbdc25727add02c71 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,6 +13,7 @@ Jan Wagner <waja@cyconet.org>
 Jason Young <jyoung15@gmail.com>
 Jean-Marcel Flach <jean-marcel.flach@netways.de>
 Johannes Meyer <johannes.meyer@netways.de>
+Jonas Meurer <jonas@freesources.org>
 Marcus van Dam <marcus@marcusvandam.nl>
 Markus Frosch <markus@lazyfrosch.de>
 Michael Friedrich <michael.friedrich@netways.de>
index 4a9bab41a49cb269bae1dbf9ccdb4e028959255e..76c0c405c0ff0163f25c053f22333f9bb9809a53 100644 (file)
@@ -462,7 +462,8 @@ another group of objects.
 
 In this example the `assign where` condition is a boolean expression which is
 evaluated for all objects of type `Host` and a new service with name "ping"
-is created for each matching host.
+is created for each matching host. [Expression operators](#expression-operators)
+may be used in `assign where` conditions.
 
 The `to` keyword and the target type may be omitted if there is only one target
 type, e.g. for the `Service` type.
@@ -498,7 +499,8 @@ and `ignore where` conditions.
 In this example the `assign where` condition is a boolean expression which is evaluated
 for all objects of the type `Host`. Each matching host is added as member to the host group
 with the name "linux-servers". Membership exclusion can be controlled using the `ignore where`
-condition.
+condition. [Expression operators](#expression-operators) may be used in `assign where` and
+`ignore where` conditions.
 
 Source Type       | Variables
 ------------------|--------------
@@ -525,6 +527,9 @@ Non-empty array      | [ "Hello" ]       | true
 Empty dictionary     | {}                | false
 Non-empty dictionary | { key = "value" } | true
 
+For a list of supported expression operators for `assign where` and `ignore where`
+statements, see [expression operators](#expression-operators).
+
 ### <a id="comments"></a> Comments
 
 The Icinga 2 configuration format supports C/C++-style and shell-style comments.