]> granicus.if.org Git - icinga2/commitdiff
Update example config files.
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 14 Mar 2013 12:18:20 +0000 (13:18 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 14 Mar 2013 12:18:20 +0000 (13:18 +0100)
etc/icinga2/icinga2.conf.dist
etc/icinga2/icinga2.conf.win32

index d3bff8de8999e583f7a40e3a7c11b2607283d37a..02a47591434f89d0efb4a13180773e80a021afc2 100644 (file)
@@ -31,12 +31,14 @@ local object CompatComponent "compat" { }
  * And finally we define some host that should be checked.
  */
 object Host "localhost" {
-  services = {
-    "ping4", "ping6",
-    "http_ip", "ssh",
-    "load", "processes",
-    "users", "disk"
-  },
+  services["ping4"] = { templates = [ "ping4" ] },
+  services["ping4"] = { templates = [ "ping4" ] }, 
+  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",
index aeb6db792d1db7733fd2d1186ef255c403fe3f85..89a32de8a8c0ac51007dd33ef575533b470b0393 100644 (file)
@@ -37,7 +37,7 @@ local object Component "compat" {
  * And finally we define some host that should be checked.
  */
 object Host "localhost" inherits "itl-host" {
-  services = { "ping4" },
+  services["ping4"] = { templates = [ "ping4" ] },
 
   macros = {
     address = "127.0.0.1"