diff options
-rw-r--r-- | roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 index 0e53dc55e..dee66e3b8 100644 --- a/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hosts/cloud-hosts.cfg.j2 @@ -1,7 +1,7 @@ {% for host in groups['all'] %} {% if hostvars[host].datacenter == 'cloud' or hostvars[host].datacenter == 'fedorainfracloud' %} define host { - use defaulttemplate + use mincheck host_name {{ host }} {% if hostvars[host].ansible_hostname is defined %} alias {{ hostvars[host].ansible_hostname }} |