and we have an attempt at this
This commit is contained in:
parent
00898d910e
commit
73920cf38b
3 changed files with 14 additions and 1 deletions
|
@ -257,3 +257,7 @@ vpn: False
|
|||
|
||||
# assume createrepo is true and this builder has the koji nfs mount to do that
|
||||
createrepo: True
|
||||
|
||||
# Nagios global variables
|
||||
nagios_has_named: false
|
||||
|
||||
|
|
|
@ -20,3 +20,5 @@ sudoers: "{{ private }}/files/sudo/sysadmin-dns"
|
|||
csi_security_category: High
|
||||
csi_primary_contact: Fedora Admins - admin@fedoraproject.org
|
||||
csi_purpose: Domain Name Service
|
||||
|
||||
nagios_has_named: true
|
||||
|
|
|
@ -5,7 +5,14 @@
|
|||
define hostgroup {
|
||||
hostgroup_name phx-virt
|
||||
alias PHX Virtual ServiceGroup
|
||||
members {% for host in groups['virtservers'] %} {{host}}, Disk space /, {{host}}, Total Processes, {{host}}, Check Raid, {{host}}, Swap, {{host}}, SSH, {% endfor %}
|
||||
members {% for host in groups['virtservers'] %}{% if hostvars[host].datacenter == 'phx2'%} {{host}}, Disk space /, {{host}}, Total Processes, {{host}}, Check Raid, {{host}}, Swap, {{host}}, SSH,{% endif %}{% endfor %}
|
||||
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name remote-virt
|
||||
alias PHX Virtual ServiceGroup
|
||||
members {% for host in groups['virtservers'] %}{% if hostvars[host].datacenter != 'phx2'%} {{host}}, Disk space /, {{host}}, Total Processes, {{host}}, Check Raid, {{host}}, Swap, {{host}}, SSH,{% endif %}{% endfor %}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue