From 946c5e54a89bed5615198221c285a6ac052a7db9 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 11 Oct 2017 06:45:39 +0200 Subject: [PATCH] daily autocommit --- icinga2/icinga2.conf | 2 +- icinga2/zones.conf | 27 ++++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/icinga2/icinga2.conf b/icinga2/icinga2.conf index a809b96..019072f 100644 --- a/icinga2/icinga2.conf +++ b/icinga2/icinga2.conf @@ -60,4 +60,4 @@ include_recursive "repository.d" * the preferred way is to create separate directories and files in the conf.d * directory. Each of these files must have the file extension ".conf". */ -include_recursive "conf.d" +#include_recursive "conf.d" diff --git a/icinga2/zones.conf b/icinga2/zones.conf index d81674b..480d091 100644 --- a/icinga2/zones.conf +++ b/icinga2/zones.conf @@ -3,11 +3,32 @@ * on 2017-10-10 22:56:42 +0200 */ -object Endpoint NodeName { + +object Endpoint "ns1.uhu-banane.de" { + host = "ns1.uhu-banane.de" + port = "5665" +} + +object Zone "master" { + endpoints = [ "ns1.uhu-banane.de" ] +} + +object Endpoint "ns3.uhu-banane.de" { + host = "ns3.uhu-banane.de" + port = "5665" +} + +object Endpoint "sarah.uhu-banane.de" { + host = "sarah.uhu-banane.de" + port = "5665" } -object Zone ZoneName { - endpoints = [ NodeName ] +object Zone "icinga_clients_de" { + endpoints = [ "ns3.uhu-banane.de", "sarah.uhu-banane.de" ] + parent = "master" } +object Zone "global-templates" { + global = true +} -- 2.39.5