diff options
| author | Tobias Wiese <tobias@tobiaswiese.com> | 2020-05-14 13:56:41 +0200 |
|---|---|---|
| committer | Tobias Wiese <tobias@tobiaswiese.com> | 2020-05-14 13:56:41 +0200 |
| commit | 1d3f54ef5966e8b10304f0ed364a7ad7d3a9c73f (patch) | |
| tree | e42bcf6e5ef7343e26aab400370aed55738d938e /zones.d | |
| parent | 34fe8a57df416e7e2b8be0c954a1fa6d6d596c95 (diff) | |
elog: Monitor elog services
Monitor the services of elog:
- DNS Zone
- Phabricator
- Phabricator sshd
Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
Diffstat (limited to 'zones.d')
| -rw-r--r-- | zones.d/master/hosts.conf | 11 | ||||
| -rw-r--r-- | zones.d/master/services.conf | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/zones.d/master/hosts.conf b/zones.d/master/hosts.conf index eaa89ec..faea915 100644 --- a/zones.d/master/hosts.conf +++ b/zones.d/master/hosts.conf @@ -26,4 +26,15 @@ object Host "new-babbage.server.tobiaswiese.net" { } vars.pgsql = { } + + // elog + vars.dns_zones["elog.dev"] = { + dig_record_type = "SOA" + } + vars.extra_sshd["elog-phabricator"] = { } + vars.http_vhosts = { + "phabricator.elog.dev" = { + http_uri = "/status/" + } + } } diff --git a/zones.d/master/services.conf b/zones.d/master/services.conf index 6f2be19..fc362d8 100644 --- a/zones.d/master/services.conf +++ b/zones.d/master/services.conf @@ -51,6 +51,14 @@ apply Service "dns-" for (dns_zone => config in host.vars.dns_zones) { vars += config } +apply Service "ssh-" for (name => config in host.vars.extra_sshd) { + import "generic-network-service" + + check_command = "ssh" + + vars += config +} + template Service "http" { import "generic-network-service" |
