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 /zones.d | |
| 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>
Diffstat (limited to 'zones.d')
| -rw-r--r-- | zones.d/backup-master.server.tobiaswiese.net/hosts.conf | 13 |
1 files changed, 13 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 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" +} |
