]> granicus.if.org Git - icinga2/commitdiff
Re-add disk and icinga services in the Windows config
authorGunnar Beutner <gunnar@beutner.name>
Wed, 13 May 2015 06:43:58 +0000 (08:43 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Wed, 13 May 2015 06:43:58 +0000 (08:43 +0200)
fixes #9259

etc/icinga2/conf.d/win32/services.conf

index 48345fff370b9027246f0eb598f397f9ea9cb8b4..929be5400b2729f054f66ae74d4d665630390e7f 100644 (file)
@@ -39,6 +39,22 @@ apply Service "ping6" {
   assign where host.address6
 }
 
+apply Service for (disk => config in host.vars.disks) {
+  import "generic-service"
+
+  check_command = "disk-windows"
+
+  vars += config
+}
+
+apply Service "icinga" {
+  import "generic-service"
+
+  check_command = "icinga"
+
+  assign where host.name == NodeName
+}
+
 apply Service "load" {
   import "generic-service"