and we try yet another cargo cult dance to make the nagios gods happy

This commit is contained in:
Stephen Smoogen 2020-02-26 20:03:01 +00:00 committed by Pierre-Yves Chibon
parent dffa4d33ea
commit 83f0c19f07
2 changed files with 11 additions and 14 deletions

View file

@ -155,6 +155,8 @@ phx2_external:
# Exclude these ansible host groups in hostgroups/all.cfg
exclude_hostgroups:
- nixnagios
- aarch64_test
- cloud_aws
- copr_aws
- copr_back_aws
- copr_back_dev_aws
@ -167,21 +169,8 @@ exclude_hostgroups:
- copr_keygen_dev_aws
- dbgserver_stg
- ipsilon_dev
- maintainer_test
- retrace_stg
- retrace_stg_aws
- virt_guest
- virt_host
# Try a way to have a group where we want to define them but we expect them not to ping
no_ping:
- copr_aws
- copr_back_aws
- copr_back_dev_aws
- copr_dev_aws
- copr_dist_git_aws
- copr_dist_git_dev_aws
- copr_front_aws
- copr_front_dev_aws
- copr_keygen_aws
- copr_keygen_dev_aws
- ipsilon_dev

View file

@ -14,6 +14,14 @@ define hostgroup{
{% 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