Use groupkey all
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
961a31313d
commit
c9fdb3a256
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ define hostgroup{
|
|||
define hostgroup{
|
||||
hostgroup_name mincheckgrp
|
||||
alias mincheckgrp
|
||||
members {% for host in groups[key] %}{% if hostvars[host].nagios_Check_Services['nrpe'] == true %}{{host}}, {% endif %}{% endfor %}
|
||||
members {% for host in groups['all'] %}{% if hostvars[host].nagios_Check_Services['nrpe'] == true %}{{host}}, {% endif %}{% endfor %}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue