X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=153250a907eb30c291a5b2ae43274b645324aee8;hb=0c580085acb2a2a60f5ebe78f51bbe21808e08d0;hp=6f2250bfad6c4d92b413d50420ecfae76e86998b;hpb=631b10b0dc0aad8d9f6523abfd2ebc27d244787c;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 6f2250b..153250a 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -80,7 +80,7 @@ servers: address: 193.62.202.20 parents: gw-ubc hostgroups: routing-infrastructure - contacts: tjrc1 + contacts: tjrc1, dave gw-frost: address: 130.81.27.83 parents: gw-ubc @@ -202,7 +202,7 @@ servers: spohr: address: 192.25.206.33 parents: gw-HP-ftc - hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, nfs-server, spamd, heavy-exim, bind9-hosts, apache-https + hostgroups: computers, service, dl380, apache2-hosts, nfs-server, spamd, heavy-exim, bind9-hosts, squeeze peri: address: 192.25.206.15 parents: gw-HP-ftc @@ -230,11 +230,6 @@ servers: parents: gw-HP-ftc hostgroups: computers, buildd, acpid-hosts - bartok: - address: 82.195.75.91 - parents: gw-man-da - hostgroups: computers, service, dl385, bind9-hosts, hasvarfs - contacts: joerg, bzed sperger: address: 82.195.75.34 parents: gw-man-da2 @@ -259,6 +254,10 @@ servers: address: 82.195.75.98 parents: gw-man-da hostgroups: computers, acpid-hosts, service + nielsen: + address: 82.195.75.99 + parents: gw-man-da + hostgroups: computers, acpid-hosts, service, apache2-hosts unger: address: 82.195.75.102 parents: gw-man-da @@ -286,7 +285,7 @@ servers: kokkonen: address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, service, acpid-hosts, heavy-exim + hostgroups: computers, service, acpid-hosts, heavy-exim, mail-relay byrd: address: 82.195.75.92 parents: unger @@ -379,7 +378,7 @@ servers: klecker: address: 194.109.137.218 parents: gw-xs4all - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, spamd, heavy-exim, xinetd-hosts + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl385, spamd, heavy-exim, xinetd-hosts saens: address: 128.101.240.212 @@ -408,23 +407,23 @@ servers: parents: gw-sanger # SMP kernel doesn't run stable hostgroups: computers, porterbox, sw-raid, hasbootfs, ntpsuckers - contacts: tjrc1 + contacts: tjrc1, dave goetz: address: 193.62.202.26 parents: gw-sanger # SMP kernel doesn't run stable hostgroups: computers, buildd, sw-raid, hasbootfs, ntpsuckers, hassrvfs - contacts: tjrc1 + contacts: tjrc1, dave sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts, service, apache2-hosts - contacts: tjrc1 + hostgroups: computers, acpid-hosts, postgres90-hosts, service, apache2-hosts, sw-raid, squeeze + contacts: tjrc1, dave smetana: address: 193.62.202.29 parents: gw-sanger hostgroups: computers, porterbox, sw-raid, sparc - contacts: tjrc1 + contacts: tjrc1, dave voltaire: address: 72.66.115.54 @@ -449,7 +448,7 @@ servers: chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim, xinetd-hosts, postgres83-hosts, apache-https + hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim, xinetd-hosts, postgres84-hosts, apache-https geo3: address: 195.20.242.125 parents: schumann @@ -548,11 +547,7 @@ servers: stabile: address: 206.12.19.13 parents: gw-ubc - hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts, service, nfs-server - cimarosa: - address: 206.12.19.8 - parents: gw-ubc - hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, service + hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, postgres90-hosts, apache2-hosts, xinetd-hosts, service, nfs-server, ftpd-hosts paganini: address: 206.12.19.10 parents: tchaikovsky @@ -625,6 +620,14 @@ servers: address: 206.12.19.123 parents: salieri hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, heavy-exim, postgres84-hosts, xinetd-hosts, apache2-hosts, apache-https + reger: + address: 206.12.19.124 + parents: salieri + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, apache-https, heavy-exim + danzi: + address: 206.12.19.125 + parents: luchesi + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, postgres84-hosts lebrun: address: 193.198.184.10 @@ -742,7 +745,7 @@ servers: merikanto: address: 86.59.118.147 parents: gw-sil - hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service + hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay merikanto2: address: 86.59.118.150 parents: merikanto @@ -881,6 +884,9 @@ hostgroups: heavy-exim: alias: "hosts running the full mail stuff, including clamav and postgrey" private: 1 + mail-relay: + alias: "relays usually are hosts with more exim processes" + private: 1 spamd: alias: "hosts running spamassassin as daemon" private: 1 @@ -917,6 +923,9 @@ hostgroups: postgres84-hosts: alias: hosts running postgres84 private: 1 + postgres90-hosts: + alias: hosts running postgres90 + private: 1 mysql-hosts: alias: hosts running mysql private: 1 @@ -1049,12 +1058,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers - excludehosts: klecker, kassia, spohr + excludehosts: klecker, kassia, spohr, liszt - name: disk usage on / servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /" - hosts: klecker, kassia, spohr + hosts: klecker, kassia, spohr, liszt - name: disk usage on /boot servicegroups: diskspace @@ -1074,7 +1083,7 @@ services: name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org" - hosts: merkel, bartok + hosts: merkel - name: disk usage on /srv servicegroups: diskspace @@ -1126,7 +1135,7 @@ services: name: disk usage on /var/log servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/log" - hosts: busoni, wieck + hosts: busoni, wieck, heininen - name: disk usage on /srv/morgue.debian.org @@ -1186,7 +1195,7 @@ services: - name: disk usage on /vicepa servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /vicepa" + nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /vicepa" hostgroups: hasvicepa ############ All Computers ############ @@ -1443,8 +1452,12 @@ services: name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" hostgroups: computers - excludehostgroups: postfix-hosts + excludehostgroups: postfix-hosts, mail-relay excludehosts: master, busoni, merkel, quantz + - + name: process - exim + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" + hostgroups: mail-relay - name: process - exim - total nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4" @@ -1881,7 +1894,7 @@ services: - name: process - bosserver nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C bosserver -a '/usr/sbin/bosserver'" - hostgroups: bosserver + hostgroups: bosserver ### - @@ -2063,7 +2076,11 @@ services: name: unwanted process - postresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres84-hosts, postgres83-hosts + excludehostgroups: postgres90-hosts, postgres84-hosts, postgres83-hosts + - + name: process - postresql90 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.0/bin/postgres'" + hostgroups: postgres90-hosts - name: process - postresql84 - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'" @@ -2076,14 +2093,14 @@ services: # name: process - postresql83 - master udd # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'" # hosts: piatti - - - name: process - postresql83 - dak master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/dak -c config_file=/etc/postgresql/8.3/dak/postgresql.conf'" - hosts: chopin + #- + # name: process - postresql83 - dak master + # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/dak -c config_file=/etc/postgresql/8.3/dak/postgresql.conf'" + # hosts: chopin - name: process - postresql84 - dak master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak -c config_file=/etc/postgresql/8.4/dak/postgresql.conf'" - hosts: franck + hosts: franck, chopin - name: process - postresql84 - dak-dev master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak-dev -c config_file=/etc/postgresql/8.4/dak-dev/postgresql.conf'" @@ -2239,6 +2256,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /srv/ftp.debian.org/ftp" hosts: bellini + - + name: nfs server stabile reachable + nrpe: "/usr/lib/nagios/plugins/check_ping -H 192.168.2.13 -w 50,10% -c 200,30%" + hosts: quantz + ############ MISC OTHER Stuff ############ ##### -