]> granicus.if.org Git - icinga2/commitdiff
Comment out the NodeName constant.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 26 May 2014 12:40:57 +0000 (14:40 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 26 May 2014 12:40:57 +0000 (14:40 +0200)
Fixes #6306

etc/icinga2/constants.conf

index b15b0025014e111df8dc11922bc928e6af9d1127..f6fc32303b45d43adbb1267cc6972c098f9dbdb8 100644 (file)
@@ -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