diff --git a/zones.d/master/git/base-services.conf b/zones.d/master/git/base-services.conf index bccf7f7..c1481ea 100644 --- a/zones.d/master/git/base-services.conf +++ b/zones.d/master/git/base-services.conf @@ -13,3 +13,29 @@ apply Service "ping6" { assign where host.address6 } + +apply Service "ssh" { + import "generic-service" + + check_command = "ssh" + + assign where (host.address || host.address6) && host.vars.os == "Linux" +} + + + +apply Service for (http_vhost => config in host.vars.http_vhosts) { + import "generic-service" + + check_command = "http" + + vars += config +} + +apply Service for (disk => config in host.vars.disks) { + import "generic-service" + + check_command = "disk" + + vars += config +}