From 4c255bd3feafb976e0030b699807d0bb8d3957a2 Mon Sep 17 00:00:00 2001 From: Tobias Wiese Date: Sun, 10 May 2020 23:50:53 +0200 Subject: hosts: monitor master node Monitor the host where the icinga2 master runs. Signed-off-by: Tobias Wiese --- zones.d/global-templates/hosts.conf | 3 +++ zones.d/master/hosts.conf | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 zones.d/global-templates/hosts.conf create mode 100644 zones.d/master/hosts.conf diff --git a/zones.d/global-templates/hosts.conf b/zones.d/global-templates/hosts.conf new file mode 100644 index 0000000..e301dcf --- /dev/null +++ b/zones.d/global-templates/hosts.conf @@ -0,0 +1,3 @@ +template Host "generic-host" { + check_command = "hostalive" +} diff --git a/zones.d/master/hosts.conf b/zones.d/master/hosts.conf new file mode 100644 index 0000000..8a71c7e --- /dev/null +++ b/zones.d/master/hosts.conf @@ -0,0 +1,6 @@ +object Host "new-babbage.server.tobiaswiese.net" { + import "generic-host" + + address = "185.244.192.195" + address6 = "2a03:4000:27:5fc::1" +} -- cgit v1.2.3