From a222442e7066b55272efa004c97d0e3665a9b0bb Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 26 May 2014 14:40:57 +0200 Subject: [PATCH] Comment out the NodeName constant. Fixes #6306 --- etc/icinga2/constants.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/icinga2/constants.conf b/etc/icinga2/constants.conf index b15b00250..f6fc32303 100644 --- a/etc/icinga2/constants.conf +++ b/etc/icinga2/constants.conf @@ -6,8 +6,10 @@ /* 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 */ -const NodeName = "localhost" +/* 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 zone name. */ const ZoneName = NodeName -- 2.40.0