IAD2this should work.. I bet it wont
This commit is contained in:
parent
2f02466f90
commit
7b4872c557
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
define servicegroup {
|
||||
servicegroup_name fp-wiki
|
||||
alias Fedora Project Wiki
|
||||
members {% for host in groups['proxies'] %}{{host}}, http-fedoraproject.org-wiki , {% endfor %}{% for host in groups['proxies'] %}{{host}}, http-fedoraproject.org-wiki-non-cached {% if not loop.last %} , {% 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 {% if not loop.last %} , {% endif %}{% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue