mirror of https://github.com/Icinga/icinga2.git
parent
0045d029ab
commit
084ba6af94
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue