nagios syntax is weirdly specific at times
This commit is contained in:
parent
cb8b68bc18
commit
5327f28dfb
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue