diff --git a/doc/03-monitoring-basics.md b/doc/03-monitoring-basics.md index db7675354a9..81dd2f1f39c 100644 --- a/doc/03-monitoring-basics.md +++ b/doc/03-monitoring-basics.md @@ -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. diff --git a/doc/17-language-reference.md b/doc/17-language-reference.md index 162350edc2f..4e5d20c0546 100644 --- a/doc/17-language-reference.md +++ b/doc/17-language-reference.md @@ -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. diff --git a/tools/syntax/nano/icinga2.nanorc b/tools/syntax/nano/icinga2.nanorc index cff78be3b64..c3c654234cb 100644 --- a/tools/syntax/nano/icinga2.nanorc +++ b/tools/syntax/nano/icinga2.nanorc @@ -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)" diff --git a/tools/syntax/vim/syntax/icinga2.vim b/tools/syntax/vim/syntax/icinga2.vim index 5201d6fc836..61d25bb2a52 100644 --- a/tools/syntax/vim/syntax/icinga2.vim +++ b/tools/syntax/vim/syntax/icinga2.vim @@ -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