diff --git a/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 b/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 index 1d58cb7091..50c0d29db4 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/all.cfg.j2 @@ -3,7 +3,7 @@ ############### ## {{ env }} {% for key, value in groups.iteritems()|sort %} -{% if groups[key] != [] and key != 'newcloud-compute' and key != 'newcloud-control' and key != 'newcloud' and key != 'nixnagios' %} +{% if groups[key] != [] and key not in ['newcloud-compute', 'newcloud-control', 'newcloud-undercloud', 'newcloud', 'nixnagios'] %} define hostgroup{ hostgroup_name {{ key }} alias {{ key }}