diff options
| -rw-r--r-- | zones.d/backup-master.server.tobiaswiese.net/hosts.conf | 1 | ||||
| -rw-r--r-- | zones.d/global-templates/commands.conf | 3 | ||||
| -rw-r--r-- | zones.d/global-templates/services.conf | 8 | ||||
| -rw-r--r-- | zones.d/keen-morse.server.tobiaswiese.net/hosts.conf | 1 | ||||
| -rw-r--r-- | zones.d/master/hosts.conf | 1 | ||||
| -rw-r--r-- | zones.d/www1001.server.tobiaswiese.net/hosts.conf | 1 |
6 files changed, 15 insertions, 0 deletions
diff --git a/zones.d/backup-master.server.tobiaswiese.net/hosts.conf b/zones.d/backup-master.server.tobiaswiese.net/hosts.conf index b59a5fb..179cbe8 100644 --- a/zones.d/backup-master.server.tobiaswiese.net/hosts.conf +++ b/zones.d/backup-master.server.tobiaswiese.net/hosts.conf @@ -10,4 +10,5 @@ object Host "backup-master.server.tobiaswiese.net" { vars.os = "debian" vars.os_family = "debian" vars.kernel = "linux" + vars.init = "systemd" } diff --git a/zones.d/global-templates/commands.conf b/zones.d/global-templates/commands.conf new file mode 100644 index 0000000..1fe8b56 --- /dev/null +++ b/zones.d/global-templates/commands.conf @@ -0,0 +1,3 @@ +object CheckCommand "systemd" { + command = [ PluginDir + "/check_systemd" ] +} diff --git a/zones.d/global-templates/services.conf b/zones.d/global-templates/services.conf index a540ff5..23c2a91 100644 --- a/zones.d/global-templates/services.conf +++ b/zones.d/global-templates/services.conf @@ -47,6 +47,14 @@ apply Service "swap" { assign where host.vars.kernel == "linux" } +apply Service "systemd" { + import "generic-service" + + check_command = "systemd" + + assign where host.vars.init == "systemd" +} + /* OS specific basic health checks */ apply Service "apt" { import "generic-service" diff --git a/zones.d/keen-morse.server.tobiaswiese.net/hosts.conf b/zones.d/keen-morse.server.tobiaswiese.net/hosts.conf index 3dd24e2..223c17d 100644 --- a/zones.d/keen-morse.server.tobiaswiese.net/hosts.conf +++ b/zones.d/keen-morse.server.tobiaswiese.net/hosts.conf @@ -7,6 +7,7 @@ object Host "keen-morse.server.tobiaswiese.net" { vars.os = "debian" vars.os_family = "debian" vars.kernel = "linux" + vars.init = "systemd" vars.mailserver = "postfix" diff --git a/zones.d/master/hosts.conf b/zones.d/master/hosts.conf index faea915..0607b65 100644 --- a/zones.d/master/hosts.conf +++ b/zones.d/master/hosts.conf @@ -8,6 +8,7 @@ object Host "new-babbage.server.tobiaswiese.net" { vars.os = "debian" vars.os_family = "debian" vars.kernel = "linux" + vars.init = "systemd" vars.dns_zones = { "tobiaswiese.net" = { } diff --git a/zones.d/www1001.server.tobiaswiese.net/hosts.conf b/zones.d/www1001.server.tobiaswiese.net/hosts.conf index 5ab8718..d73190c 100644 --- a/zones.d/www1001.server.tobiaswiese.net/hosts.conf +++ b/zones.d/www1001.server.tobiaswiese.net/hosts.conf @@ -7,4 +7,5 @@ object Host "www1001.server.tobiaswiese.net" { vars.os = "debian" vars.os_family = "debian" vars.kernel = "linux" + vars.init = "systemd" } |
