Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/03-monitoring-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion doc/17-language-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion tools/syntax/nano/icinga2.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
2 changes: 1 addition & 1 deletion tools/syntax/vim/syntax/icinga2.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading