diff options
| author | Tobias Wiese <tobias@tobiaswiese.com> | 2020-05-10 23:50:53 +0200 |
|---|---|---|
| committer | Tobias Wiese <tobias@tobiaswiese.com> | 2020-05-10 23:50:53 +0200 |
| commit | 4c255bd3feafb976e0030b699807d0bb8d3957a2 (patch) | |
| tree | a0aa98c89010def414398197f1c96e4598769c1d /zones.d | |
| parent | 66de499311cf25f9aa15ffd3c7134c7a64765732 (diff) | |
hosts: monitor master node
Monitor the host where the icinga2 master runs.
Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
Diffstat (limited to 'zones.d')
| -rw-r--r-- | zones.d/global-templates/hosts.conf | 3 | ||||
| -rw-r--r-- | zones.d/master/hosts.conf | 6 |
2 files changed, 9 insertions, 0 deletions
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" +} |
