X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=a0b1fec2262df51c1698d8f6c89fbbd35ee8fe4e;hb=f3e38b48d2b05a7d74bf46894152aad4c984bbb3;hp=944481ca980986448dcd4b14173e46c24c4e0b55;hpb=9b4393d527a1399acff79374555135afdf7199a0;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 944481c..a0b1fec 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 @@ -190,7 +190,7 @@ servers: raff: address: 192.25.206.59 parents: gw-HP-ftc - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, no-udev, hassrvfs, acpid-hosts, xinetd-hosts + hostgroups: computers, service, dl380, hassrvfs, acpid-hosts, squeeze merkel: address: 192.25.206.16 parents: gw-HP-ftc @@ -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 @@ -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, rsyncd-hosts + 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 @@ -920,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 @@ -1052,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 @@ -1077,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 @@ -1189,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 ############ @@ -1199,7 +1205,6 @@ services: servicegroups: apt nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt" hostgroups: computers - excludehostgroups: squeeze normal_check_interval: 60 retry_check_interval: 15 #### @@ -1766,6 +1771,7 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'" hostgroups: dl385, dl380, dl360, bl460, dl585 + excludehostgroups: squeeze - name: RAID - arrayprobe servicegroups: raid @@ -2070,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'" @@ -2083,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'"