X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=153250a907eb30c291a5b2ae43274b645324aee8;hb=0c580085acb2a2a60f5ebe78f51bbe21808e08d0;hp=2bdf21c637d779f22d186adaeebb76051bfc7756;hpb=e383f5668acd38b3fe2758c9835905c52a45dc3a;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 2bdf21c..153250a 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -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 @@ -383,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 @@ -422,7 +417,7 @@ servers: sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts, service, apache2-hosts + hostgroups: computers, acpid-hosts, postgres90-hosts, service, apache2-hosts, sw-raid, squeeze contacts: tjrc1, dave smetana: address: 193.62.202.29 @@ -552,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 @@ -932,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 @@ -1064,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 @@ -1089,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 @@ -1201,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 ############ @@ -2082,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'" @@ -2095,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'"