Documentation: Escaping of dollar signs as characters.

Fixes #5373
This commit is contained in:
Michael Friedrich 2013-12-19 14:31:35 +01:00
parent 0045d029ab
commit 084ba6af94
1 changed files with 6 additions and 3 deletions

View File

@ -36,9 +36,12 @@ Here is an example of a command definition which uses user-defined macros:
> may have arbitrary names and arguments are no longer specified in the
> `check_command` setting.
Macro names must be enclosed in two `$` signs, e.g. `$plugindir$`. When
executing commands Icinga 2 checks the following objects in this
order to look up macros:
Macro names must be enclosed in two `$` signs, e.g. `$plugindir$`. When using
the `$` sign as single character, you need to escape it with an additional dollar
sign (`$$`).
When executing commands Icinga 2 checks the following objects in this order to look
up macros:
1. User object (only for notifications)
2. Service object