X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=inline;f=config%2Fnagios-master.cfg;h=dc5f804b1c47937032b6e304f176729a84050f55;hb=038e3a09fababe90fbfcc4dee268516ca312373f;hp=37aaef687ef763c1451aa467c27de1ce86be0327;hpb=016b1f8656b7361bc82192015f2a0e0e215fc6d8;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 37aaef6..dc5f804 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -39,6 +39,10 @@ servers: address: 130.239.18.97 parents: gw-ubcece hostgroups: layer3-infrastructure + gw-bytemark: + address: 89.16.160.116 + parents: gw-ubcece + hostgroups: layer3-infrastructure gw-c3sl: address: 200.17.202.254 parents: gw-ubcece @@ -171,8 +175,7 @@ servers: powell: address: 87.106.64.223 parents: gw-1und1 - hostgroups: computers, service, spamd, heavy-exim, rsyncd-hosts, acpid-hosts, hassrvfs, hasvarfs, hasusrfs, xinetd-hosts, apache2-hosts, squeeze - contacts: joerg + hostgroups: computers, service, acpid-hosts, wheezy # }}} # {{{ gw-1und1-sec schumann: @@ -270,6 +273,37 @@ servers: parents: gw-brown hostgroups: computers, service, dl385, acpid-hosts, xinetd-hosts, hassrvfs, squeeze, postgres91-hosts # }}} + # {{{ gw-bytemark + bm-bl1: + address: 5.153.231.241 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl2: + address: 5.153.231.242 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl3: + address: 5.153.231.243 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl4: + address: 5.153.231.244 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl5: + address: 5.153.231.245 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + + milanollo: + address: 5.153.231.2 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-server + picconi: + address: 5.153.231.3 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs + # }}} # {{{ gw-c3sl santoro: address: 200.17.202.197 @@ -556,7 +590,7 @@ servers: sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, postgres90-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts, hasvarlogfs + hostgroups: computers, acpid-hosts, postgres91-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts, hasvarlogfs contacts: tjrc1, dave smetana: address: 193.62.202.29 @@ -704,7 +738,7 @@ servers: morricone: address: 206.12.19.9 parents: sw-ubcece-kais - hostgroups: computers, hasbootfs, hasvarfs, hassrvfs, aacraid, postgres90-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service, squeeze, uploadqueue + 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 @@ -846,11 +880,11 @@ servers: beach: address: 206.12.19.140 parents: ganeti2 - hostgroups: computers, service, kvmdomains, squeeze, apache2-hosts, xinetd-hosts, hassrvfs, nfs-server, rsyncd-hosts + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, xinetd-hosts, hassrvfs, nfs-server, rsyncd-hosts ullmann: address: 206.12.19.141 parents: ganeti2 - hostgroups: computers, service, kvmdomains, squeeze, postgres91-hosts, nfs-client, apache2-hosts, autofs + hostgroups: computers, service, kvmdomains, wheezy, postgres91-hosts, nfs-client, apache2-hosts, autofs sonntag: address: 206.12.19.142 parents: ganeti2 @@ -1073,9 +1107,6 @@ hostgroups: postgres84-hosts: alias: hosts running postgres84 private: 1 - postgres90-hosts: - alias: hosts running postgres90 - private: 1 postgres91-hosts: alias: hosts running postgres91 private: 1 @@ -1232,7 +1263,7 @@ services: - name: disk usage - all servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -A -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs -X nfs --ignore-eregi-path=/srv/snapshot.debian.org" + nrpe: "/usr/lib/nagios/plugins/check_disk -w 5% -c 3% -A -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs -X nfs --ignore-eregi-path=/srv/snapshot.debian.org" hosts: stabile - name: disk usage - all @@ -1281,7 +1312,7 @@ services: name: disk usage on /tmp servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp" - hosts: saens, powell, piatti + hosts: saens, piatti - name: disk usage on /usr servicegroups: diskspace @@ -1326,7 +1357,7 @@ services: - name: disk usage on /srv/snapshot.debian.org servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 94 98 /srv/snapshot.debian.org" + nrpe: "/usr/lib/nagios/plugins/check_disk 98 99 /srv/snapshot.debian.org" hosts: stabile - name: disk usage on /srv/snapshot.debian.org @@ -1469,11 +1500,11 @@ services: # retry_check_interval: 5 #### - - - name: puppet - nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -i 540 -f /var/lib/puppet/state/state.yaml" - hostgroups: computers - excludehosts: wagner, vasks + #- + # name: puppet + # nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -i 540 -f /var/lib/puppet/state/state.yaml" + # hostgroups: computers + # excludehosts: wagner, vasks #### - @@ -1722,12 +1753,12 @@ services: 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 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" hostgroups: spamd - excludehosts: powell, wagner + excludehosts: wagner excludehostgroups: deadslow - 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'" - hosts: powell, wagner + hosts: wagner - 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 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" @@ -2362,40 +2393,40 @@ services: ### #- - # name: process - postresql81 - master + # name: process - postgresql81 - master # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a '/usr/lib/postgresql/8.1/bin/postmaster -D /var/lib/postgresql/8.1/main -c config_file=/etc/postgresql/8.1/main/postgresql.conf'" # hostgroups: postgres81-hosts #- - # name: process - postresql81 - writer + # name: process - postgresql81 - writer # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'" # hostgroups: postgres81-hosts - # depends: process - postresql81 - master + # depends: process - postgresql81 - master #- - # name: process - postresql81 - buffer + # name: process - postgresql81 - buffer # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'" # hostgroups: postgres81-hosts - # depends: process - postresql81 - master + # depends: process - postgresql81 - master #- - # name: process - postresql81 - collector + # name: process - postgresql81 - collector # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'" # hostgroups: postgres81-hosts - # depends: process - postresql81 - master + # depends: process - postgresql81 - master #### - - name: unwanted process - postresql + name: unwanted process - postgresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres90-hosts, postgres84-hosts, postgres91-hosts, deadslow + excludehostgroups: postgres84-hosts, postgres91-hosts, deadslow + - + name: unwanted process - postgresql 9.0 + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'" + hostgroups: computers - - name: process - postresql91 - master + name: process - postgresql91 - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.1/bin/postgres'" hostgroups: postgres91-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 + name: process - postgresql84 - 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'" hostgroups: postgres84-hosts - @@ -2491,6 +2522,7 @@ services: name: process - portmap nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'" hostgroups: nfs-client, nfs-server + excludehostgroups: wheezy - name: process - statd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'" @@ -2570,10 +2602,6 @@ services: name: DNS SOA sync - alioth.debian.org check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org" hosts: global - - - name: DNS SOA sync - 2.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa - check: "dsa_check_soas!2.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa" - hosts: global - name: DNS SOA sync - 2.6.a.0.4.6.5.6.1.0.0.0.2.0.0.0.8.d.8.0.1.0.0.2.ip6.arpa check: "dsa_check_soas!2.6.a.0.4.6.5.6.1.0.0.0.2.0.0.0.8.d.8.0.1.0.0.2.ip6.arpa"