projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
coincy has apache
[mirror/dsa-nagios.git]
/
config
/
nagios-master.cfg
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
415ffb3
..
0189860
100644
(file)
--- a/
config/nagios-master.cfg
+++ b/
config/nagios-master.cfg
@@
-322,6
+322,14
@@
servers:
address: 5.153.231.11
parents: gw-bytemark
hostgroups: computers, hassrvfs, kvmdomains, wheezy, autofs, nfs-client
address: 5.153.231.11
parents: gw-bytemark
hostgroups: computers, hassrvfs, kvmdomains, wheezy, autofs, nfs-client
+ backuphost:
+ address: 5.153.231.12
+ parents: gw-bytemark
+ hostgroups: computers, hassrvfs, kvmdomains, wheezy
+ philp:
+ address: 5.153.231.13
+ parents: gw-bytemark
+ hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts
# }}}
# {{{ gw-c3sl
santoro:
# }}}
# {{{ gw-c3sl
santoro:
@@
-563,7
+571,7
@@
servers:
partch:
address: 140.211.15.152
parents: gw-osuosl
partch:
address: 140.211.15.152
parents: gw-osuosl
- hostgroups: computers, wheezy, hassrvfs
+ hostgroups: computers, wheezy, hassrvfs
, porterbox
rietz:
address: 140.211.166.43
parents: gw-osuosl
rietz:
address: 140.211.166.43
parents: gw-osuosl
@@
-616,14
+624,6
@@
servers:
address: 86.59.118.152
parents: gw-sil
hostgroups: computers, buildd, wheezy
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:
# }}}
# {{{ gw-telegraaf2
vasks:
@@
-720,14
+720,10
@@
servers:
address: 206.12.19.113
parents: ganeti2
hostgroups: computers, service, bind9-hosts, kvmdomains, wheezy
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
stabile:
address: 206.12.19.13
parents: sw-ubcece-kais
- hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts,
postgres84-hosts,
apache2-hosts, xinetd-hosts, service, nfs-server, squeeze, hassrvfs
+ hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, apache2-hosts, xinetd-hosts, service, nfs-server, squeeze, hassrvfs
paganini:
address: 206.12.19.10
parents: sw-ubcece-kais
paganini:
address: 206.12.19.10
parents: sw-ubcece-kais
@@
-845,7
+841,7
@@
servers:
barriere:
address: 206.12.19.135
parents: ganeti2
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
diabelli:
address: 206.12.19.136
parents: traetta
@@
-881,7
+877,7
@@
servers:
coincy:
address: 206.12.19.144
parents: ganeti2
coincy:
address: 206.12.19.144
parents: ganeti2
- hostgroups: computers, service, kvmdomains, wheezy
+ hostgroups: computers, service, kvmdomains, wheezy
, apache2-hosts
stanley:
address: 206.12.19.145
parents: ganeti2
stanley:
address: 206.12.19.145
parents: ganeti2
@@
-1313,7
+1309,7
@@
services:
name: disk usage on /var/lib/postgresql
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql"
name: disk usage on /var/lib/postgresql
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql"
- hosts: s
tabile, s
ibelius, busoni, buxtehude
+ hosts: sibelius, busoni, buxtehude
-
name: disk usage on /var/log
servicegroups: diskspace
-
name: disk usage on /var/log
servicegroups: diskspace
@@
-1324,12
+1320,6
@@
services:
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/spool/postfix"
hosts: bendel
servicegroups: diskspace
nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/spool/postfix"
hosts: bendel
-
- #-
- # name: disk usage on /srv/morgue.debian.org
- # servicegroups: diskspace
- # nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/morgue.debian.org"
- # hosts: stabile
-
name: disk usage on /srv/mirrors
servicegroups: diskspace
-
name: disk usage on /srv/mirrors
servicegroups: diskspace
@@
-1401,6
+1391,7
@@
services:
servicegroups: backup
nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
hostgroups: computers
servicegroups: backup
nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
hostgroups: computers
+ excludehosts: backuphost
normal_check_interval: 60
max_check_attempts: 2
retry_check_interval: 5
normal_check_interval: 60
max_check_attempts: 2
retry_check_interval: 5
@@
-1408,7
+1399,7
@@
services:
name: backup server config
servicegroups: backup
nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
name: backup server config
servicegroups: backup
nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
- hosts: beethoven
+ hosts: beethoven
, backuphost
normal_check_interval: 60
max_check_attempts: 2
retry_check_interval: 5
normal_check_interval: 60
max_check_attempts: 2
retry_check_interval: 5
@@
-1933,7
+1924,7
@@
services:
normal_check_interval: 60
-
name: setup - local hostname etc-hosts
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'
+ 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
hostgroups: computers
excludehosts: wagner, vasks
normal_check_interval: 60
@@
-2228,17
+2219,12
@@
services:
check: check_tcp!873
hostgroups: rsyncd-hosts
depends: process - xinetd
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: 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
-
name: network service - rsync
check: check_tcp!873
@@
-2422,7
+2408,8
@@
services:
-
name: postgresql backups
nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg"
-
name: postgresql backups
nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg"
- hosts: beethoven
+ #hosts: beethoven
+ hosts: backuphost
####
####
-
####
####
-
@@
-2477,6
+2464,9
@@
services:
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
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'"
-
name: processes - lvcreate
nrpe: "/usr/lib/nagios/plugins/check_procs -m 'ELAPSED' -c 500 -C lvcreate -u root -a 'lvcreate'"