From 867ed87892d4895b9404fbc0f5b58dca599d885c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 13 May 2015 08:43:58 +0200 Subject: [PATCH] Re-add disk and icinga services in the Windows config fixes #9259 --- etc/icinga2/conf.d/win32/services.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/etc/icinga2/conf.d/win32/services.conf b/etc/icinga2/conf.d/win32/services.conf index 48345fff3..929be5400 100644 --- a/etc/icinga2/conf.d/win32/services.conf +++ b/etc/icinga2/conf.d/win32/services.conf @@ -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"