we were doing well with nomail so lets try noswap

This commit is contained in:
Stephen Smoogen 2017-04-30 02:19:34 +00:00
parent b81f4e6042
commit 7075c0e6f0
3 changed files with 12 additions and 17 deletions

View file

@ -1,20 +1,9 @@
# define service { define service {
# hostgroup swap hostgroup noswap
# service_description Swap service_description No Swap
# check_command check_by_nrpe!check_swap check_command check_by_nrpe!check_swap
# use criticaltemplate use criticaltemplate
# } }
#define service {
# hostgroup buildservers
# service_description Swap
# check_command check_by_nrpe!check_swap
# use criticaltemplate
# notification_period 16x7
# contact_groups fedora-sysadmin-email
# retry_check_interval 5
# max_check_attempts 12
#}
define service { define service {
hostgroup retrace hostgroup retrace

View file

@ -2,3 +2,4 @@ define hostgroup {
hostgroup_name nomail hostgroup_name nomail
alias No Mail alias No Mail
members *, {% for host in groups['bastion'] %}!{{host}}, {% endfor %}{% for host in groups['smtp-mm'] %}!{{host}}, {% endfor %}{% for host in vars['phx2_management_hosts'] %}!{{host}}{% if not loop.last %},{% endif %} {% endfor %} members *, {% for host in groups['bastion'] %}!{{host}}, {% endfor %}{% for host in groups['smtp-mm'] %}!{{host}}, {% endfor %}{% for host in vars['phx2_management_hosts'] %}!{{host}}{% if not loop.last %},{% endif %} {% endfor %}
}

View file

@ -0,0 +1,5 @@
define hostgroup {
hostgroup_name noswap
alias No Swap
members {% for host in groups['twisted-buildbots'] %}{{host}}, {% endfor %}{% for host in groups['persistent-cloud'] %}{{host}}, {% endfor %}{% for host in groups['copr-dist-git'] %}{{host}}, {% endfor %}{% for host in groups['jenkins-master'] %}{{host}}, {% endfor %}{% for host in groups['maintainer-test'] %}{{host}}, {% endfor %}{% for host in groups['copr'] %}{{host}}, {% endfor %}{% for host in groups['copr-dist-git-stg'] %}{{host}}, {% endfor %}{% for host in groups['jenkins-slave'] %}{{host}}, {% endfor %}{% for host in groups['ipsilon-dev'] %}{{host}}, {% endfor %}{% for host in groups['copr-stg'] %}{{host}}, {% endfor %}
}