nagios syntax is weirdly specific at times

This commit is contained in:
Stephen Smoogen 2020-05-15 20:10:40 -04:00
parent cb8b68bc18
commit 5327f28dfb

View file

@ -1,7 +1,7 @@
define servicegroup {
servicegroup_name fp-wiki
alias Fedora Project Wiki
members {% for host in groups['proxies']|sort %}{% if hostvars[host].nagios_Can_Connect == true %}{{host}}, http-fedoraproject.org-wiki, {{host}}, http-fedoraproject.org-wiki-non-cached, {% endif %}{% endfor %}
members {% for host in groups['proxies']|sort %}{% if hostvars[host].nagios_Can_Connect == true %}{{host}}, http-fedoraproject.org-wiki, {% endif %}{% endfor %}{% for host in groups['proxies']|sort %}{% if hostvars[host].nagios_Can_Connect == true %} {{host}}, http-fedoraproject.org-wiki-non-cached, {% endif %}{% endfor %}
}