X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=6ec0254145214cf76a609636fdf14042e8bfd8de;hb=f87ae1aed96a7f22880a3673f739d2082f4777f5;hp=de8f84f36c442374163170e4f7dce8d3c109129b;hpb=dc5261e28b5a91fecb4622a89004381dd745176c;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index de8f84f..6ec0254 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -111,7 +111,7 @@ servers: # parents: gw-HP-ftc # hostgroups: routing-infrastructure gw-agnesi: - address: 65.173.90.18 + address: 65.173.90.22 parents: gw-HP-ftc hostgroups: routing-infrastructure gw-ubc: @@ -119,6 +119,11 @@ servers: parents: gw-HP-ftc hostgroups: routing-infrastructure contacts: lfilipoz + gw-ubcnew: + address: 206.12.19.254 + parents: gw-HP-ftc + hostgroups: routing-infrastructure + contacts: lfilipoz gw-carnet: address: 161.53.160.1 parents: gw-HP-ftc @@ -153,7 +158,7 @@ servers: parents: gw-HP-ftc hostgroups: routing-infrastructure gw-esiee: - address: 147.215.2.249 + address: 195.220.83.13 parents: gw-HP-ftc hostgroups: routing-infrastructure gw-ghent: @@ -188,7 +193,7 @@ servers: hostgroups: secondary-IPs spohr: address: 192.25.206.33 - hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server, lenny, heavy-exim, bind9-hosts + hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server, lenny, spamd, heavy-exim, bind9-hosts spohr2: address: 192.25.206.38 parents: spohr @@ -201,7 +206,7 @@ servers: penalosa: address: 192.25.206.68 parents: spohr - hostgroups: computers, buildd, sw-raid, hasbootfs, lenny, single-cpu + hostgroups: computers, buildd, hasbootfs, lenny contacts: dannf mundy: address: 192.25.206.62 @@ -266,7 +271,7 @@ servers: draghi: address: 82.195.75.106 parents: unger - hostgroups: computers, service, acpid-hosts, lenny, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, heavy-exim, ulogd-hosts + hostgroups: computers, service, acpid-hosts, lenny, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, ulogd-hosts kaufmann: address: 82.195.75.107 parents: unger @@ -274,12 +279,12 @@ servers: byrd: address: 82.195.75.101 parents: unger - hostgroups: computers, service, lenny, hasbootfs, hassrvfs, postgres84-hosts + hostgroups: computers, service, lenny, hasbootfs, hassrvfs, postgres84-hosts, heavy-exim master: address: 70.103.162.29 parents: gw-brainfood - hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-exim, highload, lenny + hostgroups: computers, general, apache2-hosts, bind9-hosts, spamd, heavy-exim, highload, lenny murphy: address: 70.103.162.31 parents: gw-brainfood @@ -289,7 +294,7 @@ servers: ries: address: 128.148.34.103 parents: gw-brown.edu - hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres83-hosts, heavy-exim, acpid-hosts, lenny + hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres83-hosts, spamd, heavy-exim, acpid-hosts, lenny, uploadqueue mayer: address: 140.211.166.78 @@ -311,6 +316,10 @@ servers: address: 140.211.166.44 parents: rietz hostgroups: secondary-IPs + busoni: + address: 140.211.15.34 + parents: gw-osuosl + hostgroups: computers, service, lenny, dl360, hassrvfs, acpid-hosts, apache2-hosts zee: address: 140.211.166.16 parents: gw-osuosl @@ -353,7 +362,7 @@ servers: klecker: address: 194.109.137.218 parents: gw-xs4all - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres83-hosts, heavy-exim, lenny + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, spamd, heavy-exim, lenny saens: address: 128.101.240.212 @@ -389,6 +398,11 @@ servers: # SMP kernel doesn't run stable hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, lenny contacts: tjrc1 + sibelius: + address: 193.62.202.28 + parents: gw-sanger + hostgroups: computers, lenny, acpid-hosts + contacts: tjrc1 smetana: address: 193.62.202.29 parents: gw-sanger @@ -409,7 +423,7 @@ servers: powell: address: 87.106.64.223 parents: gw-1und1 - hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, hassrvfs, hasvarfs, hasusrfs + hostgroups: computers, service, spamd, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, hassrvfs, hasvarfs, hasusrfs contacts: joerg schumann: @@ -423,7 +437,7 @@ servers: chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, ulogd-hosts, lenny, hassrvfs, hasbootfs + hostgroups: computers, service, apache2-hosts, ulogd-hosts, lenny, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue geo3: address: 195.20.242.125 parents: schumann @@ -455,7 +469,7 @@ servers: address: 130.89.149.226 parents: kassia hostgroups: secondary-IPs - kassia4: + kassia-volatile: address: 130.89.149.227 parents: kassia hostgroups: secondary-IPs @@ -467,7 +481,7 @@ servers: contacts: luk agnesi: - address: 65.173.90.83 + address: 67.233.102.241 parents: gw-agnesi hostgroups: deadslow, lenny @@ -477,44 +491,44 @@ servers: hostgroups: computers, buildd, hasbootfs, lenny contacts: lfilipoz ravel: - address: 137.82.84.66 - parents: gw-ubc - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts, hasbootfs, lenny, nfs-server, rsyncd-hosts, bind9-hosts + address: 206.12.19.5 + parents: gw-ubcnew + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts, hasbootfs, lenny, nfs-server, rsyncd-hosts, bind9-hosts, uploadqueue dijkstra: - address: 137.82.84.70 - parents: gw-ubc + address: 206.12.19.218 + parents: gw-ubcnew hostgroups: computers, bl460, acpid-hosts, lenny, ulogd-hosts luchesi: - address: 137.82.84.78 - parents: gw-ubc - hostgroups: computers, bl460, acpid-hosts, lenny + address: 206.12.19.214 + parents: gw-ubcnew + hostgroups: computers, bl460, acpid-hosts, lenny, ulogd-hosts wolkenstein: - address: 137.82.84.89 + address: 206.12.19.116 parents: dijkstra hostgroups: computers, lenny, hasbootfs, hassrvfs brahms: - address: 137.82.84.74 + address: 206.12.19.115 parents: dijkstra hostgroups: computers, lenny, buildd, hasbootfs, hassrvfs geo2: - address: 137.82.84.71 + address: 206.12.19.113 parents: dijkstra hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts duarte: - address: 137.82.84.77 + address: 206.12.19.114 parents: dijkstra - hostgroups: computers, lenny, hasbootfs, hassrvfs + hostgroups: computers, lenny, hasbootfs, hassrvfs, single-cpu, apache2-hosts valente: - address: 137.82.84.76 + address: 206.12.19.112 parents: dijkstra hostgroups: computers, lenny, hasbootfs, single-cpu, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts bellini: address: 137.82.84.79 parents: gw-ubc - hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid + hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim morricone: - address: 137.82.84.81 - parents: gw-ubc + address: 206.12.19.9 + parents: gw-ubcnew hostgroups: computers, lenny, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts stabile: address: 137.82.84.72 @@ -525,16 +539,16 @@ servers: parents: gw-ubc hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs, nfs-client paganini: - address: 137.82.84.82 - parents: gw-ubc + address: 206.12.19.10 + parents: gw-ubcnew hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs respighi: address: 137.82.84.83 parents: gw-ubc hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs vivaldi: - address: 137.82.84.84 - parents: gw-ubc + address: 206.12.19.12 + parents: gw-ubcnew hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs # MSA 2000 (2012i) giustini: @@ -677,17 +691,14 @@ hostgroups: alias: hosts not running samhain properly private: 1 - #syslog-ng-hosts: - # alias: hosts running syslog-ng instead of sysklogd - # private: 1 - #rsyslog-hosts: - # alias: hosts running rsyslogd instead of sysklogd - # private: 1 postfix-hosts: alias: hosts running postfix instead of exim private: 1 heavy-exim: - alias: "hosts running the full mail stuff, including clamav, SA, and postgrey" + alias: "hosts running the full mail stuff, including clamav and postgrey" + private: 1 + spamd: + alias: "hosts running spamassassin as daemon" private: 1 heavy-postfix: alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, policyd-weight" @@ -731,6 +742,9 @@ hostgroups: acpid-hosts: alias: hosts running acpid private: 1 + uploadqueue: + alias: hosts that are an anonymous ftp uploadqueue + private: 1 nfs-client: alias: hosts mounting filesystems using NFS @@ -1133,21 +1147,8 @@ 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: lenny - excludehosts: agnesi - ### - # - - # name: process - rsyslogd - # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rsyslogd -a '/usr/sbin/rsyslogd -c3'" - # hostgroups: rsyslog-hosts - ### - - - name: process - syslogd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'" - hosts: rietz - - - name: process - klogd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'" hosts: rietz + excludehosts: agnesi ### MAIL STUFF ### @@ -1156,17 +1157,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, rietz, merkel + excludehosts: master, rietz, merkel, byrd - 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, rietz, merkel + excludehosts: master, rietz, merkel, byrd - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'" - hosts: master, rietz, merkel + hosts: master, rietz, merkel, byrd ### - name: process - clamav - clamd @@ -1194,8 +1195,8 @@ 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: heavy-exim - excludehosts: rietz, merkel, raff, powell + hostgroups: spamd + excludehosts: powell - 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'" @@ -1208,9 +1209,8 @@ services: name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'" hosts: liszt - hostgroups: heavy-exim + hostgroups: spamd depends: process - spamd - master - excludehosts: rietz, merkel, raff # - name: process - spamd - master @@ -1225,12 +1225,8 @@ services: name: unwanted process - spamd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers - excludehostgroups: heavy-exim - excludehosts: liszt - - - name: unwanted process - spamd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" - hosts: merkel, raff + excludehostgroups: spamd + excludehosts: liszt, rietz ### #- @@ -1448,7 +1444,7 @@ services: #### - - name: "host's SSL cert" + name: "host SSL cert" nrpe: "if [ -e /etc/ssl/certs/thishost.pem ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/certs/thishost.pem; else echo 'No thishost.pem on this host.'; fi" hostgroups: computers @@ -1620,19 +1616,7 @@ services: name: network service - http check: check_http depends: kassia:process - apache2 - master - hosts: kassia-sec, kassia-ftp - - - # apache1 process on merkel - - - name: process - apache - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache" - hosts: merkel - - - name: process - apache - worker - nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache" - hosts: merkel - depends: process - apache - master + hosts: kassia-sec, kassia-ftp, kassia-volatile # keyserver on raff - @@ -1645,20 +1629,20 @@ services: - name: network service - https check: check_https - hosts: ries, klecker, draghi, liszt, spohr, widor + hosts: ries, chopin, draghi, liszt, spohr, widor, rietz depends: "process - apache2 - master" normal_check_interval: 120 - name: network service - https cert check: dsa_check_cert!443 # ries ftp-master.debian.org - # klecker security-master.debian.org + # chopin security-master.debian.org # spohr rt.debian.org # spohr2 nagios.debian.org # draghi db.debian.org # merkel2 nm.debian.org # liszt lists.debian.org - hosts: ries, klecker, spohr, spohr2, draghi, merkel2, liszt, widor + hosts: ries, chopin, spohr, spohr2, draghi, merkel2, liszt, widor, rietz depends: network service - https normal_check_interval: 60 @@ -1706,17 +1690,17 @@ services: - name: process - vsftp - listener nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'" - hostgroups: ftpd-hosts + hostgroups: ftpd-hosts, uploadqueue excludehosts: kassia - name: process - vsftp - instance nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '" - hostgroups: ftpd-hosts + hostgroups: ftpd-hosts, uploadqueue excludehosts: kassia - name: network service - ftp check: check_ftp - hostgroups: ftpd-hosts + hostgroups: ftpd-hosts, uploadqueue excludehosts: kassia depends: process - vsftp - listener - @@ -1728,8 +1712,8 @@ services: #### - name: process - debianqueued - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued" - hosts: ries, ravel, klecker + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u dak -C debianqueued" + hostgroups: uploadqueue ### #- @@ -1760,7 +1744,6 @@ services: 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'" hostgroups: postgres83-hosts - excludehosts: klecker #- # 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'" @@ -1768,10 +1751,14 @@ 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: ries, klecker + hosts: klecker, 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: ries - - name: process - postresql83 - dak-dev 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-dev -c config_file=/etc/postgresql/8.3/dak-dev/postgresql.conf'" + 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'" hosts: ries #### -