Revert "have to add group by group to see where break is"
This reverts commit 59af0e88ab
.
This commit is contained in:
parent
59af0e88ab
commit
7f5b96a8e4
1 changed files with 30 additions and 0 deletions
|
@ -13,6 +13,28 @@ define hostgroup{
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
define hostgroup{
|
||||||
|
hostgroup_name no_ping
|
||||||
|
alias no_ping
|
||||||
|
members {% for host in groups['all']|sort %}{% if hostvars[host].nagios_Check_Services['ping'] == true or hostvars[host].nagios_Can_Connect == true %}{{host}}, {% endif %}{% endfor %}
|
||||||
|
}
|
||||||
|
|
||||||
|
## Services with minimal monitoring
|
||||||
|
|
||||||
|
define hostgroup{
|
||||||
|
hostgroup_name cloud_aws_group
|
||||||
|
alias cloud_aws_group
|
||||||
|
members {% for host in groups['cloud_aws']|sort %}{{host}}, {% endfor %}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
define hostgroup{
|
||||||
|
hostgroup_name mincheckgrp
|
||||||
|
alias mincheckgrp
|
||||||
|
members {% for host in groups['all']|sort %}{% if hostvars[host].nagios_Check_Services['nrpe'] != true and hostvars[host].nagios_Can_Connect == true %}{{host}}, {% endif %}{% endfor %}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
define hostgroup{
|
define hostgroup{
|
||||||
hostgroup_name routers
|
hostgroup_name routers
|
||||||
alias routers
|
alias routers
|
||||||
|
@ -20,3 +42,11 @@ define hostgroup{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
## Management hardware
|
||||||
|
define hostgroup {
|
||||||
|
hostgroup_name phx2_mgmt_systems
|
||||||
|
alias phx2_mgmt_systems
|
||||||
|
members {% for host in vars['phx2_management_hosts']|sort %}{{host}}{% if not loop.last %},{% endif %} {% endfor %}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue