]> granicus.if.org Git - icinga2/commitdiff
Make sample configuration more readable.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 24 Sep 2013 09:24:22 +0000 (11:24 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 24 Sep 2013 09:24:22 +0000 (11:24 +0200)
Fixes #4724

etc/icinga2/icinga2.conf.dist
etc/icinga2/icinga2.conf.win32

index 757b9fad4f860721a310bf89238a57214319a2c6..a95d1eb43acb0ef705addf647ac027a026cc11ae 100644 (file)
@@ -30,15 +30,38 @@ object CompatLog "compat-log" { }
  * And finally we define some host that should be checked.
  */
 object Host "localhost" {
-  services["ping4"] = { templates = [ "ping4" ] },
-  services["ping6"] = { templates = [ "ping6" ] }, 
-  services["http"] = { templates = [ "http_ip" ] }, 
-  services["ssh"] = { templates = [ "ssh" ] }, 
-  services["load"] = { templates = [ "load" ] }, 
-  services["processes"] = { templates = [ "processes" ] }, 
-  services["users"] = { templates = [ "users" ] }, 
-  services["disk"] = { templates = [ "disk" ] }, 
-  
+  services["ping4"] = {
+    templates = [ "ping4" ]
+  },
+
+  services["ping6"] = {
+    templates = [ "ping6" ]
+  },
+
+  services["http"] = {
+    templates = [ "http_ip" ]
+  },
+
+  services["ssh"] = {
+    templates = [ "ssh" ]
+  },
+
+  services["load"] = {
+    templates = [ "load" ]
+  },
+
+  services["processes"] = {
+    templates = [ "processes" ]
+  },
+
+  services["users"] = {
+    templates = [ "users" ]
+  },
+
+  services["disk"] = {
+    templates = [ "disk" ]
+  },
+
   macros = {
     address = "127.0.0.1",
     address6 = "::1",
index ecd9a3ba87b0d62b2c7cefa41ca19c1e46a920e2..492d119b155109788a98c60f382238ac3775f997 100644 (file)
@@ -37,7 +37,9 @@ object Component "compat" {
  * And finally we define some host that should be checked.
  */
 object Host "localhost" inherits "itl-host" {
-  services["ping4"] = { templates = [ "ping4" ] },
+  services["ping4"] = {
+    templates = [ "ping4" ]
+  },
 
   macros = {
     address = "127.0.0.1"