mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 00:54:30 +02:00
Revert "Fix configuration error on missing NodeName."
This reverts commit 72ef0d31fd19ed20b2d5b986990a7be15011da09. Refs #6393
This commit is contained in:
parent
1d9f7fb045
commit
63df43eea2
@ -157,10 +157,7 @@ The `constants.conf` configuration file can be used to define global constants:
|
|||||||
/* The directory which contains the plugins from the Monitoring Plugins project. */
|
/* The directory which contains the plugins from the Monitoring Plugins project. */
|
||||||
const PluginDir = "/usr/lib/nagios/plugins"
|
const PluginDir = "/usr/lib/nagios/plugins"
|
||||||
|
|
||||||
/* Our local instance name. This should be the common name
|
/* Our local instance name. This should be the common name from the API certificate */
|
||||||
* from the API certificate. Not required for a single
|
|
||||||
* instance setup.
|
|
||||||
*/
|
|
||||||
const NodeName = "localhost"
|
const NodeName = "localhost"
|
||||||
|
|
||||||
/* Our local zone name. */
|
/* Our local zone name. */
|
||||||
|
@ -6,11 +6,10 @@
|
|||||||
/* The directory which contains the plugins from the Monitoring Plugins project. */
|
/* The directory which contains the plugins from the Monitoring Plugins project. */
|
||||||
const PluginDir = "/usr/lib/nagios/plugins"
|
const PluginDir = "/usr/lib/nagios/plugins"
|
||||||
|
|
||||||
/* Our local instance name. This should be the common name
|
/* Our local instance name. By default this is the server's hostname as returned by `hostname --fqdn`.
|
||||||
* from the API certificate. Not required for a single
|
* This should be the common name from the API certificate.
|
||||||
* instance setup.
|
*/
|
||||||
*/
|
//const NodeName = "localhost"
|
||||||
const NodeName = "localhost"
|
|
||||||
|
|
||||||
/* Our local zone name. */
|
/* Our local zone name. */
|
||||||
const ZoneName = NodeName
|
const ZoneName = NodeName
|
||||||
|
Loading…
x
Reference in New Issue
Block a user