X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=1903fe3b6146cbc22b719ce172019ae22aa011e7;hb=25f3086e50d137af2da8b626b7b99357691bfa2f;hp=ecedef39fc548ea60993fe71ca284a29c60f0e60;hpb=3427edf25ecede153c1802816a66d3bf1ea61834;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index ecedef3..1903fe3 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -179,11 +179,11 @@ servers: pkgmirror-1and1: address: 213.165.95.4 parents: powell - hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, no-bacula, apache-https + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, no-bacula, apache-https babin: address: 213.165.95.6 parents: powell - hostgroups: computers, buildd, hassrvfs, kvmdomains, wheezy + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie piu-slave-1und1-01: address: 213.165.95.7 parents: powell @@ -349,7 +349,7 @@ servers: senfter: address: 5.153.231.4 parents: gw-bytemark - hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, no-bacula, apache-https + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, no-bacula, apache-https adayevskaya: address: 5.153.231.5 parents: gw-bytemark @@ -367,11 +367,11 @@ servers: binet: address: 5.153.231.8 parents: gw-bytemark - hostgroups: computers, buildd, hassrvfs, kvmdomains, wheezy + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie bmdb1: address: 5.153.231.10 parents: gw-bytemark - hostgroups: computers, hassrvfs, kvmdomains, wheezy, postgres91-hosts + hostgroups: computers, hassrvfs, kvmdomains, jessie, postgres91-hosts, postgres94-hosts ganeti-bytemark: address: 82.195.75.111 parents: gw-bytemark @@ -383,7 +383,7 @@ servers: philp: address: 5.153.231.13 parents: ganeti-bytemark - hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts + hostgroups: computers, hassrvfs, kvmdomains, jessie, apache2-hosts couper: address: 5.153.231.14 parents: ganeti-bytemark @@ -457,7 +457,7 @@ servers: gideon: address: 5.153.231.34 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, apache-https + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https httpredir-bm-01: address: 5.153.231.35 parents: ganeti-bytemark @@ -499,7 +499,7 @@ servers: gluck: address: 150.203.164.38 parents: gw-cecsit - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hassrvfs, acpid-hosts, xinetd-hosts, wheezy, security_mirror, no-bacula, apache-https + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hassrvfs, acpid-hosts, xinetd-hosts, jessie, security_mirror, no-bacula, apache-https # }}} # {{{ gw-conova sompek: @@ -541,7 +541,7 @@ servers: mirror-csail: address: 128.31.0.62 parents: ganeti-csail - hostgroups: computers, service, hassrvfs, kvmdomains, wheezy, apache2-hosts, rsyncd-hosts, xinetd-hosts, apache-https + hostgroups: computers, service, hassrvfs, kvmdomains, jessie, apache2-hosts, rsyncd-hosts, xinetd-hosts, apache-https x86-csail-01: address: 128.31.0.50 parents: ganeti-csail @@ -627,8 +627,7 @@ servers: lw08: address: 185.17.185.189 parents: gw-leaseweb - hostgroups: computers, service, acpid-hosts, jessie, dl180, nfs-client, autofs, hassrvfs - #, apache2-hosts + hostgroups: computers, service, acpid-hosts, jessie, dl180, nfs-client, autofs, hassrvfs, apache2-hosts # }}} # {{{ gw-linaro arm-linaro-01: @@ -698,7 +697,7 @@ servers: lully: address: 82.195.75.99 parents: ganeti3 - hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hasvarlogfs + hostgroups: computers, service, hasbootfs, kvmdomains, jessie, hasvarlogfs draghi: address: 82.195.75.106 parents: ganeti3 @@ -730,7 +729,7 @@ servers: mailly: address: 82.195.75.114 parents: ganeti3 - hostgroups: computers, service, kvmdomains, wheezy, spamd, heavy-exim, mail-relay + hostgroups: computers, service, kvmdomains, jessie, spamd, heavy-exim, mail-relay denis: address: 82.195.75.91 parents: ganeti3 @@ -762,7 +761,7 @@ servers: busoni: address: 140.211.15.34 parents: gw-osuosl - hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, wheezy, hasvarlogfs, apache2-hosts, no-bacula, apache-https + hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, jessie, hasvarlogfs, apache2-hosts, no-bacula, apache-https byrd: address: 140.211.166.20 parents: gw-osuosl @@ -825,7 +824,7 @@ servers: lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hassrvfs, xinetd-hosts, jessie, security_mirror, acpid-hosts villa: address: 212.211.132.32 parents: gw-scanplus-villa @@ -835,7 +834,7 @@ servers: eder: address: 86.59.118.151 parents: gw-sil - hostgroups: computers, porterbox, wheezy, hassrvfs + hostgroups: computers, porterbox, jessie, hassrvfs eysler: address: 86.59.118.152 parents: gw-sil @@ -907,7 +906,7 @@ servers: brahms: address: 206.12.19.115 parents: ganeti2 - hostgroups: computers, buildd, hassrvfs, kvmdomains, wheezy + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie geo2: address: 206.12.19.113 parents: ganeti2 @@ -933,7 +932,7 @@ servers: gabrielli: address: 206.12.19.17 parents: sw-ubcece-kais - hostgroups: computers, porterbox, wheezy + hostgroups: computers, porterbox, jessie corelli: address: 206.12.19.16 parents: sw-ubcece-kais @@ -953,7 +952,7 @@ servers: lotti: address: 206.12.19.121 parents: ganeti2 - hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hassrvfs + hostgroups: computers, service, hasbootfs, kvmdomains, jessie, hassrvfs nono: address: 206.12.19.123 parents: ganeti2 @@ -997,7 +996,7 @@ servers: bizet: address: 206.12.19.137 parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, no-bacula + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, no-bacula popov: address: 206.12.19.119 parents: ganeti2 @@ -1083,7 +1082,7 @@ servers: antheil: address: 144.32.168.76 parents: gw-ynic - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd + hostgroups: computers, hasbootfs, hassrvfs, armhf, jessie, buildd porpora: address: 144.32.168.78 parents: gw-ynic @@ -1113,13 +1112,13 @@ servers: zelenka: address: 80.245.147.40 parents: gw-zivit - hostgroups: computers, porterbox, hassrvfs, wheezy + hostgroups: computers, porterbox, hassrvfs, jessie # }}} # {{{ gw-sakura setoguchi: address: 133.242.99.74 parents: gw-sakura - hostgroups: computers, service, wheezy, no-bacula, hassrvfs, apache2-hosts, rsyncd-hosts, xinetd-hosts, security_mirror, acpid-hosts + hostgroups: computers, service, jessie, no-bacula, hassrvfs, apache2-hosts, rsyncd-hosts, xinetd-hosts, security_mirror, acpid-hosts # }}} # {{{ ############################# host groups ############################# @@ -1240,6 +1239,9 @@ hostgroups: postgres91-hosts: alias: hosts running postgres91 private: 1 + postgres94-hosts: + alias: hosts running postgres94 + private: 1 no-ulogd: alias: hosts not running ulogd private: 1 @@ -2118,6 +2120,12 @@ services: name: process - clamav - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'" hostgroups: heavy-exim, heavy-postfix + excludehostgroups: jessie + - + name: process - clamav - freshclam + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --foreground=true'" + hostgroups: heavy-exim, heavy-postfix + excludehostgroups: wheezy - name: unwanted process - clamav nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd" @@ -2135,6 +2143,13 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" hostgroups: spamd excludehosts: picconi + excludehostgroups: jessie + - + name: process - spamd - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir'" + hostgroups: spamd + excludehosts: picconi + excludehostgroups: wheezy - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" @@ -2167,6 +2182,12 @@ services: name: process - postgrey nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'" hostgroups: heavy-exim + excludehostgroups: jessie + - + name: process - postgrey + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a 'postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'" + hostgroups: heavy-exim + excludehostgroups: wheezy - name: process - postgrey nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000'" @@ -2379,7 +2400,7 @@ services: name: unwanted process - postgresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres91-hosts + excludehostgroups: postgres91-hosts, postgres94-hosts - name: unwanted process - postgresql 9.0 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'" @@ -2388,6 +2409,10 @@ services: name: process - postgresql91 - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.1/bin/postgres'" hostgroups: postgres91-hosts + - + name: process - postgresql94 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.4/bin/postgres'" + hostgroups: postgres94-hosts - name: postgresql backups nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg"