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" }