This commit is contained in:
Julian Brost 2026-05-22 09:34:36 -04:00 committed by GitHub
commit efeb0d13a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 4 deletions

View file

@ -500,7 +500,7 @@ up macros and their respective values:
2. Service object
3. Host object
4. Command object
5. Global custom variables in the `Vars` constant
5. IcingaApplication object
This execution order allows you to define default values for custom variables
in your command objects.

View file

@ -506,7 +506,6 @@ ZonesDir |**Read-only.** Contains the path of the zones.d directory.
Constant | Description
--------------------|-------------------
Vars |**Read-write.** Contains a dictionary with global custom variables. Not set by default.
NodeName |**Read-write.** Contains the cluster node name. Set to the local hostname by default.
ReloadTimeout |**Read-write.** Defines the reload timeout for child processes. Defaults to `300s`.
Environment |**Read-write.** The name of the Icinga environment. Included in the SNI host name for outbound connections. Not set by default.

View file

@ -126,7 +126,6 @@ icolor green "\s(/=)\s"
icolor yellow "(PrefixDir|SysconfDir|ZonesDir|LocalStateDir|RunDir|PkgDataDir|StatePath|ObjectsPath)"
icolor yellow "(PidPath|NodeName|ApplicationType|EnableNotifications|EnableEventHandlers|EnableFlapping)"
icolor yellow "(EnableHostChecks|EnableServiceChecks|EnablePerfdata|UseVfork|RunAsUser|RunAsGroup|PluginDir)"
icolor yellow "(Vars\s+)"
## Boolean
icolor blue "(true|false)"

View file

@ -266,7 +266,7 @@ syn keyword icinga2PathConstant ObjectsPath PidPath PkgDataDir PrefixDir Program
syn keyword icinga2PathConstant VarsPath ZonesDir
" Global constants
syn keyword icinga2GlobalConstant Vars NodeName Environment RunAsUser RunAsGroup MaxConcurrentChecks ApiBindHost ApiBindPort EventEngine AttachDebugger
syn keyword icinga2GlobalConstant NodeName Environment RunAsUser RunAsGroup MaxConcurrentChecks ApiBindHost ApiBindPort EventEngine AttachDebugger
" Application runtime constants
syn keyword icinga2GlobalConstant PlatformName PlatformVersion PlatformKernel PlatformKernelVersion BuildCompilerName BuildCompilerVersion BuildHostName