X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=d8f27c8536c7a84acbee533358f0b3391b17ddf7;hb=188b877bea20a60c6697fbbaf218977e647dc566;hp=353fbf2f35664519108c6cf21c0da5f730ea2860;hpb=3ac6ae9c373d8718f6d21672804cef0ffac491a4;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 353fbf2..d8f27c8 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -10,7 +10,6 @@ # - *: check munin stats collection works # - *: check backups are successful # - *: unwanted: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some) -# - verdi: pg upgrade, openvpn # - mundy: salinfo_decode # down: @@ -82,10 +81,6 @@ servers: parents: gw-HP-ftc hostgroups: routing-infrastructure contacts: tjrc1 - gw-lrz: - address: 129.187.0.150 - parents: gw-HP-ftc - hostgroups: routing-infrastructure gw-frost: address: 130.81.242.195 parents: gw-HP-ftc @@ -165,6 +160,10 @@ servers: address: 193.191.17.50 parents: gw-HP-ftc hostgroups: routing-infrastructure + gw-anu: + address: 150.203.164.38 + parents: gw-HP-ftc + hostgroups: routing-infrastructure global: hostgroups: notacomputer @@ -174,15 +173,11 @@ servers: samosa: address: 192.25.206.57 parents: spohr - hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts + hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client raff: address: 192.25.206.59 parents: spohr hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, hasvarfs, hasusrfs - gluck: - address: 192.25.206.10 - parents: spohr - hostgroups: computers, no-udev, general, dl380, lenny, hassrvfs, rsyncd-hosts, acpid-hosts, apache2-hosts, ftpd-hosts merkel: address: 192.25.206.16 parents: spohr @@ -201,12 +196,12 @@ servers: peri: address: 192.25.206.15 parents: spohr - hostgroups: computers, buildd, sw-raid, hasbootfs, lenny + hostgroups: computers, buildd, sw-raid, hasbootfs, lenny, single-cpu contacts: dannf penalosa: address: 192.25.206.68 parents: spohr - hostgroups: computers, buildd, sw-raid, hasbootfs, lenny + hostgroups: computers, buildd, sw-raid, hasbootfs, lenny, single-cpu contacts: dannf mundy: address: 192.25.206.62 @@ -276,6 +271,10 @@ servers: address: 82.195.75.107 parents: unger hostgroups: computers, service, lenny, hasbootfs, apache2-hosts, single-cpu, rsyncd-hosts + byrd: + address: 82.195.75.101 + parents: unger + hostgroups: computers, service, lenny, hasbootfs, hassrvfs master: address: 70.103.162.29 @@ -286,6 +285,7 @@ servers: parents: gw-brainfood hostgroups: computers, general, dl380, acpid-hosts, lenny, buildd, hasbootfs, hassrvfs + ries: address: 128.148.34.103 parents: gw-brown.edu @@ -311,6 +311,10 @@ servers: address: 140.211.166.44 parents: rietz hostgroups: secondary-IPs + zee: + address: 140.211.166.16 + parents: gw-osuosl + hostgroups: computers, porterbox, lenny, hassrvfs, hasbootfs villa: address: 212.211.132.32 @@ -320,6 +324,10 @@ servers: address: 212.211.132.250 parents: gw-scanplus-lobos hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs + gluck: + address: 150.203.164.38 + parents: gw-anu + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, no-udev, hassrvfs, acpid-hosts steffani: address: 128.31.0.36 @@ -336,7 +344,7 @@ servers: senfl: address: 128.31.0.51 parents: gw-mit-csail - hostgroups: computers, service, lenny, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts + hostgroups: computers, service, lenny, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts, rsyncd-hosts carver: address: 128.31.0.50 parents: gw-mit-csail @@ -361,7 +369,7 @@ servers: widor: address: 93.94.130.161 parents: gw-dg-i.net - hostgroups: computers, apache2-hosts, sw-raid, single-cpu, lenny, acpid-hosts + hostgroups: computers, apache2-hosts, sw-raid, lenny, acpid-hosts contacts: bzed pergolesi: @@ -387,11 +395,6 @@ servers: hostgroups: computers, porterbox, sw-raid, lenny contacts: tjrc1 - verdi: - address: 192.54.42.193 - parents: gw-lrz - hostgroups: computers, service, apache2-hosts, ftpd-hosts, postgres81-hosts, postfix-hosts - voltaire: address: 72.66.115.54 parents: gw-frost @@ -420,7 +423,7 @@ servers: chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, ulogd-hosts, lenny, hassrvfs + hostgroups: computers, ulogd-hosts, lenny, hassrvfs, hasbootfs geo3: address: 195.20.242.125 parents: schumann @@ -477,6 +480,10 @@ servers: address: 137.82.84.70 parents: gw-ubc hostgroups: computers, bl460, acpid-hosts, lenny + wolkenstein: + address: 137.82.84.89 + parents: dijkstra + hostgroups: computers, lenny, hasbootfs, hassrvfs brahms: address: 137.82.84.74 parents: dijkstra @@ -497,6 +504,10 @@ servers: address: 137.82.84.79 parents: gw-ubc hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid + morricone: + address: 137.82.84.81 + parents: gw-ubc + hostgroups: computers, lenny, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts stabile: address: 137.82.84.72 parents: gw-ubc @@ -504,6 +515,18 @@ servers: cimarosa: address: 137.82.84.80 parents: gw-ubc + hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs, nfs-client + paganini: + address: 137.82.84.82 + parents: gw-ubc + 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 hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs # MSA 2000 (2012i) giustini: @@ -679,9 +702,9 @@ hostgroups: rsyncd-hosts: alias: hosts providing rsync services via xinetd private: 1 - postgres81-hosts: - alias: hosts running postgres81 - private: 1 + #postgres81-hosts: + # alias: hosts running postgres81 + # private: 1 postgres83-hosts: alias: hosts running postgres83 private: 1 @@ -802,7 +825,7 @@ services: - name: disk usage on / servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /" + nrpe: "/usr/lib/nagios/plugins/check_disk 93 96 /" hosts: ries, klecker - name: disk usage on /boot @@ -818,7 +841,7 @@ services: name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" - hosts: sperger, raff, lobos, villa, steffani, saens, pergolesi, verdi, spontini, ravel, mahler, schroeder, piatti, pescetti, widor, schein, lebrun + hosts: sperger, raff, lobos, villa, steffani, saens, pergolesi, spontini, ravel, mahler, schroeder, piatti, pescetti, widor, schein, lebrun - name: disk usage on /org servicegroups: diskspace @@ -899,14 +922,14 @@ services: name: backup nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup" hostgroups: computers - normal_check_interval: 180 + normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 - name: backup server config nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server" hosts: bartok - normal_check_interval: 180 + normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 @@ -916,19 +939,13 @@ services: servicegroups: kernel nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel" hostgroups: computers - normal_check_interval: 180 + normal_check_interval: 60 retry_check_interval: 5 #### - - - name: process - puppet - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C ruby -a 'ruby /usr/sbin/puppetd -w 5 --factsync'" - hostgroups: lenny - excludehosts: agnesi - - name: puppet - nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -f /var/lib/puppet/state/state.yaml" + nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -i 540 -f /var/lib/puppet/state/state.yaml" hostgroups: lenny excludehosts: agnesi @@ -1115,11 +1132,11 @@ services: - name: process - syslogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'" - hosts: rietz, verdi + 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, verdi + hosts: rietz ### MAIL STUFF ### @@ -1317,19 +1334,6 @@ services: hostgroups: postfix-hosts depends: process - postfix - master - - - name: process - postfix - smtpd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:40 -c 0:90 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'" - hostgroups: postfix-hosts - excludehosts: liszt - depends: process - postfix - master - - - name: process - postfix - smtp - nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'" - hostgroups: postfix-hosts - excludehosts: liszt - depends: process - postfix - master - - name: process - postfix - smtpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:150 -c 0:200 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'" @@ -1353,7 +1357,6 @@ services: name: network service - smtp check: dsa_check_smtp hostgroups: postfix-hosts - excludehosts: verdi depends: process - postfix - master - name: network service - submission @@ -1365,11 +1368,6 @@ services: check: dsa_check_smtp_port!2025 hostgroups: incomingmailrelayed2025 depends: process - exim - - - name: network service - smtp - port 2025 - check: dsa_check_smtp_port!2025 - hosts: verdi - depends: process - postfix - master - name: network service local - smtps cert nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45" @@ -1382,7 +1380,7 @@ services: name: setup - dsa config nrpe: "/usr/lib/nagios/plugins/dsa-check-config" hostgroups: computers - normal_check_interval: 120 + normal_check_interval: 60 - name: setup - ud-ldap freshness nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness" @@ -1431,6 +1429,7 @@ services: name: unwanted process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd" hostgroups: computers + excludehosts: rietz - name: unwanted process - snmpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" @@ -1485,12 +1484,6 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-areca" hosts: powell - ### - - - name: RAID - DAC960 - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960" - hosts: verdi ### - name: RAID - aacraid @@ -1629,14 +1622,14 @@ services: - name: network service - http keyserver check: dsa_check_http_port!11371 - hosts: raff + hosts: kaufmann depends: process - apache2 - master # https on various hosts - name: network service - https check: check_https - hosts: ries, klecker, draghi, liszt, spohr + hosts: ries, klecker, draghi, liszt, spohr, widor depends: "process - apache2 - master" normal_check_interval: 120 - @@ -1649,7 +1642,7 @@ services: # draghi db.debian.org # merkel2 nm.debian.org # liszt lists.debian.org - hosts: ries, klecker, spohr, spohr2, draghi, merkel2, liszt + hosts: ries, klecker, spohr, spohr2, draghi, merkel2, liszt, widor depends: network service - https normal_check_interval: 60 @@ -1723,25 +1716,25 @@ services: hosts: ries, ravel, klecker ### - - - name: process - postresql81 - 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 - 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 - - - name: process - postresql81 - 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 - - - name: process - postresql81 - 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 + #- + # name: process - postresql81 - 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 + # 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 + #- + # name: process - postresql81 - 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 + #- + # name: process - postresql81 - 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 #### - name: process - postresql83 - master @@ -1866,15 +1859,7 @@ services: hosts: global - name: mirror sync - security - check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org" - hosts: global - - - name: mirror sync - security.eu - check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org" - hosts: global - - - name: mirror sync - security.us - check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org" + check: "dsa_check_mirrorsync!security-nagios.debian.org!project/trace/security-master.debian.org" hosts: global - name: mirror sync - packages @@ -1911,6 +1896,22 @@ 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 - a.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa + check: "dsa_check_soas!a.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa" + hosts: global + - + name: DNS SOA sync - 2.1.0.0.0.0.0.2.8.8.8.0.1.0.0.2.ip6.arpa + check: "dsa_check_soas!2.1.0.0.0.0.0.2.8.8.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" + hosts: global ############ - name: ping alive check