we were doing well with nomail so lets try noswap
This commit is contained in:
parent
b81f4e6042
commit
7075c0e6f0
3 changed files with 12 additions and 17 deletions
|
@ -1,20 +1,9 @@
|
|||
# define service {
|
||||
# hostgroup swap
|
||||
# service_description Swap
|
||||
# check_command check_by_nrpe!check_swap
|
||||
# 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 {
|
||||
hostgroup noswap
|
||||
service_description No Swap
|
||||
check_command check_by_nrpe!check_swap
|
||||
use criticaltemplate
|
||||
}
|
||||
|
||||
define service {
|
||||
hostgroup retrace
|
||||
|
|
|
@ -2,3 +2,4 @@ define hostgroup {
|
|||
hostgroup_name nomail
|
||||
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 %}
|
||||
}
|
||||
|
|
|
@ -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 %}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue