mirror of https://github.com/Icinga/icinga2.git
parent
5d10558342
commit
72ef0d31fd
|
@ -157,7 +157,10 @@ The `constants.conf` configuration file can be used to define global constants:
|
|||
/* The directory which contains the plugins from the Monitoring Plugins project. */
|
||||
const PluginDir = "/usr/lib/nagios/plugins"
|
||||
|
||||
/* Our local instance name. This should be the common name from the API certificate */
|
||||
/* Our local instance name. This should be the common name
|
||||
* from the API certificate. Not required for a single
|
||||
* instance setup.
|
||||
*/
|
||||
const NodeName = "localhost"
|
||||
|
||||
/* Our local zone name. */
|
||||
|
|
|
@ -6,10 +6,11 @@
|
|||
/* The directory which contains the plugins from the Monitoring Plugins project. */
|
||||
const PluginDir = "/usr/lib/nagios/plugins"
|
||||
|
||||
/* Our local instance name. By default this is the server's hostname as returned by `hostname --fqdn`.
|
||||
* This should be the common name from the API certificate.
|
||||
*/
|
||||
//const NodeName = "localhost"
|
||||
/* Our local instance name. This should be the common name
|
||||
* from the API certificate. Not required for a single
|
||||
* instance setup.
|
||||
*/
|
||||
const NodeName = "localhost"
|
||||
|
||||
/* Our local zone name. */
|
||||
const ZoneName = NodeName
|
||||
|
|
Loading…
Reference in New Issue