address: 86.59.118.152
parents: gw-sil
hostgroups: computers, buildd, wheezy
- merikanto:
- address: 86.59.118.147
- parents: gw-sil
- hostgroups: computers, dl360, acpid-hosts, nfs-client, rsyncd-hosts, xinetd-hosts, service, squeeze, autofs
- merikanto2:
- address: 86.59.118.150
- parents: merikanto
- hostgroups: secondary-IPs
# }}}
# {{{ gw-telegraaf2
vasks:
address: 206.12.19.113
parents: ganeti2
hostgroups: computers, service, bind9-hosts, kvmdomains, wheezy
- morricone:
- address: 206.12.19.9
- parents: sw-ubcece-kais
- hostgroups: computers, hasbootfs, hasvarfs, hassrvfs, aacraid, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service, squeeze, uploadqueue
stabile:
address: 206.12.19.13
parents: sw-ubcece-kais
barriere:
address: 206.12.19.135
parents: ganeti2
- hostgroups: computers, service, kvmdomains, wheezy, hassrvfs
+ hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, porterbox
diabelli:
address: 206.12.19.136
parents: traetta
normal_check_interval: 60
-
name: setup - local hostname etc-hosts
- nrpe: 'if getent ahosts `hostname` | grep -q 127.0; then echo "Warning: local hostname resolves to 127/8 address"; exit 1; else echo "OK: Hostname resolves to non-127/8 address."; exit 1; fi'
- #hostgroups: computers
- hosts: bm-bl7
+ nrpe: 'if getent ahosts `hostname` | grep -q 127.0; then echo "Warning: local hostname resolves to 127/8 address"; exit 1; else echo "OK: Hostname resolves to non-127/8 address."; exit 0; fi'
+ hostgroups: computers
excludehosts: wagner, vasks
normal_check_interval: 60
-
check: check_tcp!873
hostgroups: rsyncd-hosts
depends: process - xinetd
- excludehosts: merikanto, rietz
+ excludehosts: rietz
-
name: network service - rsync
check: check_tcp!873
hosts: rietz2
depends: rietz:process - xinetd
- -
- name: network service - rsync
- check: check_tcp!873
- hosts: merikanto2
- depends: merikanto:process - xinetd
-
name: network service - rsync
check: check_tcp!873
nrpe: "(/usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0 > /dev/null || /usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0) && /usr/lib/nagios/plugins/check_procs -a schroot -s ZNs -c 0"
hostgroups: buildd
contact_groups: +buildd
+ normal_check_interval: 5
+ max_check_attempts: 24
+ retry_check_interval: 5
-
name: processes - lvcreate
nrpe: "/usr/lib/nagios/plugins/check_procs -m 'ELAPSED' -c 500 -C lvcreate -u root -a 'lvcreate'"