From 0618f4a9e439cd5f836b0f14069bf46f6425ab58 Mon Sep 17 00:00:00 2001 From: Tobias Wiese Date: Sun, 14 Jun 2020 23:25:47 +0200 Subject: 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 --- zones.d/backup-master.server.tobiaswiese.net/hosts.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 zones.d/backup-master.server.tobiaswiese.net/hosts.conf (limited to 'zones.d/backup-master.server.tobiaswiese.net/hosts.conf') 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" +} -- cgit v1.2.3