diff options
| author | Tobias Wiese <tobias@tobiaswiese.com> | 2020-06-14 23:25:47 +0200 |
|---|---|---|
| committer | Tobias Wiese <tobias@tobiaswiese.com> | 2020-06-14 23:25:47 +0200 |
| commit | 0618f4a9e439cd5f836b0f14069bf46f6425ab58 (patch) | |
| tree | 22d7f14da315a2c270672385b3daf6b010c9329c | |
| parent | 797eb127cbad9b9e076e2a17595a9cf846971e93 (diff) | |
hosts/backup-master: monitor backup-master
Add monitoring for backup-master.
The server is not reachable from the outside. Therefore network checks
don't make any sense.
The hosts check_command is set to dummy. If the host goes done, this
will be noticed, because the icinga agent looses connection to it's
parent.
Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
| -rw-r--r-- | zones.conf | 6 | ||||
| -rw-r--r-- | zones.d/backup-master.server.tobiaswiese.net/hosts.conf | 13 |
2 files changed, 19 insertions, 0 deletions
@@ -17,6 +17,12 @@ object Zone "master" { * Agents */ +object Endpoint "backup-master.server.tobiaswiese.net" { } +object Zone "backup-master.server.tobiaswiese.net" { + parent = "master" + endpoints = [ "backup-master.server.tobiaswiese.net" ] +} + object Endpoint "keen-morse.server.tobiaswiese.net" { } object Zone "keen-morse.server.tobiaswiese.net" { parent = "master" diff --git a/zones.d/backup-master.server.tobiaswiese.net/hosts.conf b/zones.d/backup-master.server.tobiaswiese.net/hosts.conf new file mode 100644 index 0000000..b59a5fb --- /dev/null +++ b/zones.d/backup-master.server.tobiaswiese.net/hosts.conf @@ -0,0 +1,13 @@ +object Host "backup-master.server.tobiaswiese.net" { + import "generic-host" + + // Not reachable from the outside + //address = "" + //address6 = "" + // so we can't use hostalive + check_command = "dummy" + + vars.os = "debian" + vars.os_family = "debian" + vars.kernel = "linux" +} |
