mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Rename to Environment constant
This commit is contained in:
parent
cd94b7731e
commit
b350512b11
@ -407,10 +407,10 @@ Constant | Description
|
||||
--------------------|-------------------
|
||||
Vars |**Read-write.** Contains a dictionary with global custom attributes. Not set by default.
|
||||
NodeName |**Read-write.** Contains the cluster node name. Set to the local hostname by default.
|
||||
Environment |**Read-write**. The name of the Icinga environment. Included in the SNI host name when making outbound connections. Defaults to `production`.
|
||||
RunAsUser |**Read-write.** Defines the user the Icinga 2 daemon is running as. Set in the Icinga 2 sysconfig.
|
||||
RunAsGroup |**Read-write.** Defines the group the Icinga 2 daemon is running as. Set in the Icinga 2 sysconfig.
|
||||
MaxConcurrentChecks |**Read-write.** The number of max checks run simultaneously. Defaults to `512`.
|
||||
ApiEnvironment |**Read-write**. The name of the Icinga environment for ApiListener. Included in the SNI host name when making outbound connections. Defaults to `production`.
|
||||
ApiBindHost |**Read-write.** Overrides the default value for the ApiListener `bind_host` attribute. Not set by default.
|
||||
ApiBindPort |**Read-write.** Overrides the default value for the ApiListener `bind_port` attribute. Not set by default.
|
||||
|
||||
|
@ -49,7 +49,7 @@ class ApiListener : ConfigObject
|
||||
};
|
||||
|
||||
[config] String environment {
|
||||
default {{{ return Application::GetConst("ApiEnvironment"); }}}
|
||||
default {{{ return Application::GetConst("Environment"); }}}
|
||||
};
|
||||
|
||||
[config] bool accept_config;
|
||||
|
Loading…
x
Reference in New Issue
Block a user