mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
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
|
> may have arbitrary names and arguments are no longer specified in the
|
||||||
> `check_command` setting.
|
> `check_command` setting.
|
||||||
|
|
||||||
Macro names must be enclosed in two `$` signs, e.g. `$plugindir$`. When
|
Macro names must be enclosed in two `$` signs, e.g. `$plugindir$`. When using
|
||||||
executing commands Icinga 2 checks the following objects in this
|
the `$` sign as single character, you need to escape it with an additional dollar
|
||||||
order to look up macros:
|
sign (`$$`).
|
||||||
|
|
||||||
|
When executing commands Icinga 2 checks the following objects in this order to look
|
||||||
|
up macros:
|
||||||
|
|
||||||
1. User object (only for notifications)
|
1. User object (only for notifications)
|
||||||
2. Service object
|
2. Service object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user