X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=406f4ca6d2413b229a8327ce396813401b6ebc86;hb=f2b75e27fc2e3fe226971838e13096ac66a12107;hp=9a4fa8dca7de8fe3095b54f89d93362778a9ddf8;hpb=a6c1a7a44f962aef4a5ddeda2d56578c986d7fe6;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 9a4fa8d..406f4ca 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -82,7 +82,7 @@ servers: hostgroups: routing-infrastructure contacts: tjrc1 gw-frost: - address: 130.81.242.195 + address: 130.81.27.83 parents: gw-ubc hostgroups: routing-infrastructure gw-1und1: @@ -282,11 +282,19 @@ servers: ball: address: 82.195.75.70 parents: gw-man-da - hostgroups: computers, buildd, no-udev, hasbootfs, ntpsuckers + hostgroups: computers, buildd, hasbootfs kokkonen: address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, service, acpid-hosts, postgres84-hosts + hostgroups: computers, service, acpid-hosts, heavy-exim + byrd: + address: 82.195.75.92 + parents: unger + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze + lamb: + address: 82.195.75.101 + parents: unger + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa, bosserver master: address: 70.103.162.29 @@ -301,7 +309,7 @@ servers: ries: address: 128.148.34.103 parents: gw-brown.edu - hostgroups: computers, service, dl385, rsyncd-hosts, acpid-hosts, xinetd-hosts, hassrvfs + hostgroups: computers, service, dl385, rsyncd-hosts, acpid-hosts, xinetd-hosts, hassrvfs, postgres84-hosts franck: address: 128.148.34.3 @@ -319,7 +327,8 @@ servers: rietz: address: 140.211.166.43 parents: gw-osuosl - hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts + hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, hasvicepa + #, bosserver rietz2: address: 140.211.166.44 parents: rietz @@ -440,7 +449,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 + hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim, xinetd-hosts, postgres83-hosts geo3: address: 195.20.242.125 parents: schumann @@ -539,7 +548,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 + 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 @@ -591,11 +600,31 @@ servers: salieri: address: 206.12.19.20 parents: tchaikovsky - hostgroups: computers, dl585, acpid-hosts, service + hostgroups: computers, dl585, acpid-hosts, service, squeeze traetta: address: 206.12.19.21 parents: tchaikovsky hostgroups: computers, dl585, acpid-hosts, service + schuetz: + address: 206.12.19.119 + parents: tchaikovsky + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze + locke: + address: 206.12.19.120 + parents: tchaikovsky + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa + lotti: + address: 206.12.19.121 + parents: tchaikovsky + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze + quantz: + address: 206.12.19.122 + parents: salieri + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, postgres84-hosts + nono: + address: 206.12.19.123 + parents: salieri + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, heavy-exim, postgres84-hosts lebrun: address: 193.198.184.10 @@ -662,7 +691,7 @@ servers: rautavaara: address: 194.177.211.199 parents: gw-grnet - hostgroups: computers, acpid-hosts, megaraid, service + hostgroups: computers, acpid-hosts, megaraid, service, squeeze fasch: address: 194.177.211.201 parents: rautavaara @@ -903,6 +932,9 @@ hostgroups: uploadqueue: alias: hosts that are an anonymous ftp uploadqueue private: 1 + bosserver: + alias: hosts running bosserver + private: 1 nfs-client: alias: hosts mounting filesystems using NFS @@ -940,6 +972,9 @@ hostgroups: hasusrfs: alias: hosts with a /usr filesystem private: 1 + hasvicepa: + alias: hosts with a /vicepa + private: 1 incomingmailrelayed: alias: incoming mail needs to go through a mail relay @@ -1082,7 +1117,7 @@ services: name: disk usage on /var/log servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/log" - hosts: busoni + hosts: busoni, wieck - name: disk usage on /srv/morgue.debian.org @@ -1102,7 +1137,7 @@ services: - name: disk usage on /srv/snapshot.debian.org servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/snapshot.debian.org" + nrpe: "/usr/lib/nagios/plugins/check_disk 90 94 /srv/snapshot.debian.org" hosts: stabile,sibelius - name: disk usage on /srv/farm-snapshot/farm-01 @@ -1144,6 +1179,11 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/fossology.debian.net" hosts: vivaldi + - + name: disk usage on /vicepa + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /vicepa" + hostgroups: hasvicepa ############ All Computers ############ #### @@ -1166,7 +1206,7 @@ services: - name: backup server config nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server" - hosts: bartok, beethoven + hosts: beethoven normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 @@ -1180,6 +1220,35 @@ services: normal_check_interval: 60 retry_check_interval: 5 + #### + - name: afs - space + hostgroups: bosserver + nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-space -H localhost" + normal_check_interval: 60 + max_check_attempts: 2 + retry_check_interval: 5 + + - name: afs - bos + hostgroups: bosserver + nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-bos -H localhost" + normal_check_interval: 60 + max_check_attempts: 2 + retry_check_interval: 5 + + - name: afs - waiting connections + hostgroups: bosserver + nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-rxdebug -H localhost" + normal_check_interval: 60 + max_check_attempts: 2 + retry_check_interval: 5 + + #- name: afs - udebug + # hostgroups: bosserver + # nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-udebug -H localhost" + # normal_check_interval: 60 + # max_check_attempts: 2 + # retry_check_interval: 5 + #### - name: puppet @@ -1306,11 +1375,11 @@ services: name: process - munin-node nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'" hostgroups: computers - excludehostgroups: squeeze + excludehostgroups: freebsd - name: process - munin-node nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C perl -a '/usr/bin/perl -wT /usr/sbin/munin-node'" - hostgroups: squeeze + hostgroups: freebsd - name: network service - munin-node check: check_tcp!4949 @@ -1352,12 +1421,12 @@ services: name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: computers - excludehostgroups: squeeze + excludehostgroups: freebsd - name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" - hostgroups: squeeze + hostgroups: freebsd - name: remote logging @@ -1371,17 +1440,17 @@ services: 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 - excludehosts: master, busoni, merkel + excludehosts: master, busoni, merkel, quantz - name: process - exim - total nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4" hostgroups: computers excludehostgroups: postfix-hosts - excludehosts: master, busoni, merkel + excludehosts: master, busoni, merkel, quantz - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'" - hosts: master, busoni, merkel + hosts: master, busoni, merkel, quantz ### - name: process - clamav - clamd @@ -1645,7 +1714,7 @@ services: name: unwanted process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd" hostgroups: computers - excludehosts: grieg + excludehosts: grieg, byrd - name: unwanted process - snmpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" @@ -1787,7 +1856,7 @@ services: ### - name: process - udevd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C udevd -a 'udevd'" hostgroups: computers excludehostgroups: no-udev, freebsd - @@ -1804,12 +1873,17 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid" hostgroups: computers excludehostgroups: acpid-hosts, kvmdomains + ### + - + 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 ### - name: process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C inetd -a '/usr/sbin/inetd'" - hosts: grieg + hosts: grieg, byrd ### - name: process - xinetd @@ -1989,13 +2063,18 @@ services: # hostgroups: postgres81-hosts # depends: process - postresql81 - master #### + - + name: unwanted process - postresql + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" + hostgroups: computers + excludehostgroups: postgres84-hosts, postgres83-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'" hostgroups: postgres84-hosts - name: process - postresql83 - 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/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres'" hostgroups: postgres83-hosts #- # name: process - postresql83 - master udd @@ -2004,7 +2083,7 @@ services: - 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: klecker, chopin + 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'" @@ -2038,6 +2117,23 @@ services: name: udd stunnel - master cert nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45" hosts: samosa + #### + - + name: process - krb - kdc + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C kdc -a '/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf'" + hosts: schuetz, byrd + - + name: process - krb - iprop - slave + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ipropd-slave -a '/usr/sbin/ipropd-slave byrd.debian.org'" + hosts: schuetz + - + name: process - krb - iprop - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ipropd-master -a '/usr/sbin/ipropd-master'" + hosts: byrd + - + name: process - krb - kpasswdd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C kpasswdd -a '/usr/lib/heimdal-servers/kpasswdd'" + hosts: byrd ### - name: process - UPS - nut usbhid-ups - ups1 @@ -2170,7 +2266,7 @@ services: retry_check_interval: 5 - name: mirror sync - snapshot - check: "dsa_check_mirrorsync_skew!snapshot.debian.org!project/trace/snapshot-master.debian.org!1800:28800" + check: "dsa_check_mirrorsync_skew!snapshot.debian.org!project/trace/snapshot-master.debian.org!3600:28800" hosts: global normal_check_interval: 15 max_check_attempts: 5