From e9ff347a17e35f28089ca4c2b1c787ba83bc9bb1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 May 2021 15:47:26 +0200 Subject: [PATCH] modif dns --- roles/icinga/files/cfg/hostgroups_icinga.cfg | 10 +++++----- roles/icinga/files/cfg/services_icinga.cfg | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/icinga/files/cfg/hostgroups_icinga.cfg b/roles/icinga/files/cfg/hostgroups_icinga.cfg index c202b20..a7df306 100644 --- a/roles/icinga/files/cfg/hostgroups_icinga.cfg +++ b/roles/icinga/files/cfg/hostgroups_icinga.cfg @@ -60,11 +60,11 @@ define hostgroup{ members srv-2012 } -#define hostgroup{ -# hostgroup_name switch -# alias switch -# members netgear -#} +define hostgroup{ + hostgroup_name dns-win + alias dns-win + members srv-2012 +} define hostgroup{ hostgroup_name uptimegrp diff --git a/roles/icinga/files/cfg/services_icinga.cfg b/roles/icinga/files/cfg/services_icinga.cfg index 4ea25d8..b69e5d8 100644 --- a/roles/icinga/files/cfg/services_icinga.cfg +++ b/roles/icinga/files/cfg/services_icinga.cfg @@ -79,7 +79,7 @@ define service{ define service{ use generic-service - hostgroup_name windows-servers + hostgroup_name dns-win service_description Service DNS check_command check_nt!SERVICESTATE!-l W32Time,"Client DNS" }