Files
fedora-infra_ansible/inventory/group_vars/nagios
Kevin Fenzi 580cd252c5 Inventory group/host variables: Sort yaml
This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 13:27:57 -08:00

118 lines
4.0 KiB
Plaintext

---
csi_primary_contact: Fedora Admins - admin@fedoraproject.org
csi_purpose: Monitoring system
csi_security_category: High
deployment_type: prod
dns_external:
- ns-iad01.fedoraproject.org
- ns-iad02.fedoraproject.org
- ns02.fedoraproject.org
- ns05.fedoraproject.org
# When you have a group which comes up with empty members in all.cfg, it
# is because it contains all hosts which aren't pinganble. You may want
# to add that group to this list. Other items on this list are ones
# where it is an enormous group not needed.
# Exclude these ansible host groups in hostgroups/all.cfg
exclude_iad2_hostgroups:
- centos_ipa_client_stg
- zabbix_stg
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- can_send:
- logger.log
group: sysadmin
owner: root
service: shell
- can_send:
- nagios.host.state.change
- nagios.service.state.change
group: nagios
owner: root
service: nagios
#iad2_management_slowping:
# - ppc8-01-fsp.mgmt.fedoraproject.org
# - ppc8-02-fsp.mgmt.fedoraproject.org
# - ppc8-03-fsp.mgmt.fedoraproject.org
iad2_external:
- bastion01.fedoraproject.org
- bastion02.fedoraproject.org
- dl-iad01.fedoraproject.org
- dl-iad02.fedoraproject.org
- dl-iad03.fedoraproject.org
- dl-iad04.fedoraproject.org
- dl-iad05.fedoraproject.org
- infrastructure.fedoraproject.org
- koji.fedoraproject.org
- kojipkgs.fedoraproject.org
- ns-iad01.fedoraproject.org
- ns-iad02.fedoraproject.org
- pkgs.fedoraproject.org
- proxy01.fedoraproject.org
- proxy10.fedoraproject.org
- secondary01.fedoraproject.org
#
# This is a list of hosts which are in the IAD2 160 mgmt network
# we do not have them in ansible because it tries to connect
# and they don't do ansible
#
iad2_management_hosts:
- backup01.mgmt.iad2.fedoraproject.org
- bkernel01.mgmt.iad2.fedoraproject.org
- bkernel02.mgmt.iad2.fedoraproject.org
- bvmhost-x86-01.mgmt.iad2.fedoraproject.org
- bvmhost-x86-02.mgmt.iad2.fedoraproject.org
- bvmhost-x86-03.mgmt.iad2.fedoraproject.org
- bvmhost-x86-04.mgmt.iad2.fedoraproject.org
- bvmhost-x86-05.mgmt.iad2.fedoraproject.org
- bvmhost-x86-06.mgmt.iad2.fedoraproject.org
- bvmhost-x86-07.mgmt.iad2.fedoraproject.org
- dell-fx01-fc01.mgmt.iad2.fedoraproject.org
- dell-fx01-fc02.mgmt.iad2.fedoraproject.org
- dell-fx01-fc03.mgmt.iad2.fedoraproject.org
- dell-fx01-fc04.mgmt.iad2.fedoraproject.org
- dell-fx01-fc05.mgmt.iad2.fedoraproject.org
- dell-fx01-fc06.mgmt.iad2.fedoraproject.org
- dell-fx01-fc07.mgmt.iad2.fedoraproject.org
- dell-fx01-fc08.mgmt.iad2.fedoraproject.org
- dell-fx01.mgmt.iad2.fedoraproject.org
- dell-fx02-fc01.mgmt.iad2.fedoraproject.org
- dell-fx02-fc02.mgmt.iad2.fedoraproject.org
- dell-fx02-fc03.mgmt.iad2.fedoraproject.org
- dell-fx02-fc04.mgmt.iad2.fedoraproject.org
- dell-fx02-fc05.mgmt.iad2.fedoraproject.org
- dell-fx02-fc06.mgmt.iad2.fedoraproject.org
- dell-fx02-fc07.mgmt.iad2.fedoraproject.org
- dell-fx02-fc08.mgmt.iad2.fedoraproject.org
- dell-fx02.mgmt.iad2.fedoraproject.org
- openqa-x86-worker01.mgmt.iad2.fedoraproject.org
- qvmhost-x86-01.mgmt.iad2.fedoraproject.org
- qvmhost-x86-02.mgmt.iad2.fedoraproject.org
- vmhost-x86-01.mgmt.iad2.fedoraproject.org
- vmhost-x86-02.mgmt.iad2.fedoraproject.org
- vmhost-x86-03.mgmt.iad2.fedoraproject.org
- vmhost-x86-04.mgmt.iad2.fedoraproject.org
- vmhost-x86-05.mgmt.iad2.fedoraproject.org
- vmhost-x86-06.mgmt.iad2.fedoraproject.org
- vmhost-x86-07.mgmt.iad2.fedoraproject.org
#
# These are management interfaces we only want
# to test ping against. No http/https
#
iad2_management_limited:
- opengear01.mgmt.iad2.fedoraproject.org
- sign-vault01.mgmt.iad2.fedoraproject.org
ipa_client_shell_groups:
- sysadmin-noc
- sysadmin-veteran
ipa_client_sudo_groups:
- sysadmin-noc
ipa_host_group: nagios
ipa_host_group_desc: Nagios Monitoring
lvm_size: 20000
mem_size: 2048
num_cpus: 2
primary_auth_source: ipa
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [80, 443]