X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=de34f10dfcdd8f490835be95be8a378ad878afa4;hb=2126903ea7d38305c80634692d531dc9cb5e009c;hp=82d7f5556cd0bdc11bf6801bd010d1204e7708e6;hpb=eaf51b1a056c890c96bb361a287c9be9a9ceb4a5;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 82d7f55..de34f10 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -56,7 +56,7 @@ servers: parents: gw-ubc hostgroups: routing-infrastructure gw-mit-csail: - address: 128.30.0.254 + address: 128.31.0.1 parents: gw-ubc hostgroups: routing-infrastructure gw-xs4all: @@ -199,13 +199,13 @@ servers: vasks: address: 217.196.43.140 parents: gw-telegraaf2 - hostgroups: computers, nfs-server, postgres84-hosts, apache2-hosts, acpid-hosts, apache-https + hostgroups: computers, nfs-server, postgres84-hosts, apache2-hosts, acpid-hosts, apache-https, brokensamhain contact_groups: alioth-admins wagner: address: 217.196.43.132 parents: gw-telegraaf2 - hostgroups: computers, bind9-hosts, apache2-hosts, nfs-client, xinetd-hosts, postgres84-hosts, apache-https + hostgroups: computers, bind9-hosts, apache2-hosts, nfs-client, xinetd-hosts, postgres90-hosts, apache-https, dl385, brokensamhain contact_groups: alioth-admins samosa: @@ -216,14 +216,6 @@ servers: address: 192.25.206.59 parents: gw-HP-ftc hostgroups: computers, service, dl380, hassrvfs, acpid-hosts, squeeze -# merkel: -# address: 192.25.206.16 -# parents: gw-HP-ftc -# hostgroups: computers, general, apache2-hosts, rsyncd-hosts, sw-raid, postgres83-hosts, heavy-exim, nfs-client, xinetd-hosts, lenny -# merkel2: -# address: 192.25.206.71 -# parents: merkel -# hostgroups: secondary-IPs spohr: address: 192.25.206.33 parents: gw-HP-ftc @@ -241,7 +233,7 @@ servers: mundy: address: 192.25.206.62 parents: gw-HP-ftc - hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, lenny + hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, squeeze, brokensamhain paer: address: 192.25.206.11 parents: gw-HP-ftc @@ -249,11 +241,11 @@ servers: merulo: address: 192.25.206.58 parents: gw-HP-ftc - hostgroups: computers, porterbox, hasusrfs, lenny + hostgroups: computers, porterbox, hasusrfs, squeeze, brokensamhain alkman: address: 192.25.206.63 parents: gw-HP-ftc - hostgroups: computers, buildd, acpid-hosts, squeeze + hostgroups: computers, buildd, acpid-hosts, squeeze, brokensamhain sperger: address: 82.195.75.34 @@ -263,12 +255,12 @@ servers: agricola: address: 82.195.75.86 parents: gw-man-da - hostgroups: computers, porterbox, sw-raid, hassrvfs, lenny + hostgroups: computers, porterbox, sw-raid, hassrvfs, squeeze contacts: bzed arcadelt: address: 82.195.75.87 parents: gw-man-da - hostgroups: computers, buildd, sw-raid, hassrvfs, lenny + hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze contacts: bzed liszt: address: 82.195.75.100 @@ -278,7 +270,7 @@ servers: heininen: address: 82.195.75.98 parents: gw-man-da - hostgroups: computers, acpid-hosts, service, squeeze + hostgroups: computers, acpid-hosts, service, squeeze, megactl nielsen: address: 82.195.75.99 parents: gw-man-da @@ -355,7 +347,7 @@ servers: rietz: address: 140.211.166.43 parents: gw-osuosl - hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, hasvicepa, squeeze + hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, squeeze, apache2-hosts #, bosserver rietz2: address: 140.211.166.44 @@ -417,7 +409,7 @@ servers: argento: address: 93.94.130.160 parents: gw-dg-i.net - hostgroups: computers, buildd, sw-raid, hassrvfs, lenny + hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze contacts: bzed widor: @@ -490,7 +482,7 @@ servers: caballero: address: 193.201.200.200 parents: gw-blackcat - hostgroups: computers, buildd, sw-raid, lenny + hostgroups: computers, buildd, sw-raid, squeeze, brokensamhain pescetti: address: 217.114.76.85 @@ -669,6 +661,18 @@ servers: address: 206.12.19.129 parents: traetta hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, autofs, hassrvfs + elgar: + address: 206.12.19.130 + parents: salieri + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + berlioz: + address: 206.12.19.131 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs, apache-https + gombert: + address: 206.12.19.132 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs lebrun: address: 193.198.184.10 @@ -702,7 +706,7 @@ servers: zandonai: address: 80.245.147.46 parents: gw-zivit - hostgroups: computers, buildd, hassrvfs, squeeze + hostgroups: computers, buildd, hassrvfs, squeeze, brokensamhain goedel: address: 213.188.99.214 @@ -786,7 +790,7 @@ servers: merikanto: address: 86.59.118.147 parents: gw-sil - hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay, squeeze, autofs + hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay, squeeze, autofs, apache2-hosts merikanto2: address: 86.59.118.150 parents: merikanto @@ -794,34 +798,34 @@ servers: englund: address: 86.59.118.148 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs + hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs, megactl # which raid? lindberg: address: 86.59.118.149 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze + hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, megactl # which raid? abel: address: 217.140.96.56 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, porterbox, lenny + hostgroups: computers, hasbootfs, hassrvfs, porterbox, squeeze arnold: address: 217.140.96.57 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze alain: address: 217.140.96.58 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze alwyn: address: 217.140.96.59 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze antheil: address: 217.140.96.60 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze arne: address: 217.140.96.61 parents: gw-arm @@ -910,6 +914,9 @@ hostgroups: aacraid: alias: Hosts with Adaptec AACraid private: 1 + megactl: + alias: Hosts with LSI Logic MegaRAID, but not usable with megaraid check + private: 1 megaraid: alias: Hosts with LSI Logic MegaRAID private: 1 @@ -1054,6 +1061,10 @@ hostgroups: alias: "hosts who's ntp offset is often unknown" private: 1 + brokensamhain: + alias: machines that can not run samhain + private: 1 + ############################# # servicegroups ############################# @@ -1132,11 +1143,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" hostgroups: hasorgfs -# - -# name: disk usage on /org -# servicegroups: diskspace -# nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org" -# hosts: merkel - name: disk usage on /srv servicegroups: diskspace @@ -1148,11 +1154,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv" hosts: ries -# - -# name: disk usage on /org/scratch -# servicegroups: diskspace -# nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch" -# hosts: merkel - name: disk usage on /tmp servicegroups: diskspace @@ -1231,14 +1232,24 @@ services: nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-89" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-abf + name: disk usage on /srv/farm-snapshot/farm-ab servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-abf" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-ab" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-cde + name: disk usage on /srv/farm-snapshot/farm-cd servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cde" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cd" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-f + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-f" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-e + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-e" hosts: sibelius - name: disk usage on /srv/fossology.debian.net @@ -1334,6 +1345,7 @@ services: 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 #### - @@ -1354,7 +1366,7 @@ services: name: process - samhain nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'" hostgroups: computers - excludehosts: vasks, wagner + excludehostgroups: brokensamhain - name: samhain servicegroups: samhain @@ -1363,7 +1375,7 @@ services: depends: process - samhain normal_check_interval: 60 retry_check_interval: 5 - excludehosts: vasks, wagner + excludehostgroups: brokensamhain #### - @@ -1440,6 +1452,7 @@ services: servicegroups: weaksshkeys nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys" hostgroups: computers + excludehosts: wagner, vasks normal_check_interval: 60 #### - @@ -1553,34 +1566,39 @@ services: name: process - clamav - clamd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'" hostgroups: heavy-exim, heavy-postfix + hosts: wagner - name: service - clamav nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl" hostgroups: heavy-exim, heavy-postfix + hosts: wagner depends: process - clamav - clamd - name: process - clamav - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'" + hosts: wagner hostgroups: heavy-exim, heavy-postfix - name: unwanted process - clamav nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd" hostgroups: computers excludehostgroups: heavy-exim, heavy-postfix + excludehosts: wagner - name: unwanted process - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam" hostgroups: computers excludehostgroups: heavy-exim, heavy-postfix + excludehosts: 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 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" hostgroups: spamd - excludehosts: powell + excludehosts: powell, 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 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" - hosts: powell + hosts: powell, 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'" @@ -1588,7 +1606,7 @@ services: - name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'" - hosts: liszt + hosts: liszt, wagner hostgroups: spamd depends: process - spamd - master # @@ -1606,7 +1624,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers excludehostgroups: spamd - excludehosts: liszt, busoni + excludehosts: liszt, busoni, wagner ### #- @@ -1770,6 +1788,7 @@ services: - name: setup - ud-ldap freshness nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness" + excludehosts: wagner, vasks hostgroups: computers - name: system - available entropy @@ -1873,6 +1892,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'" hostgroups: dl385, dl380, dl360, bl460, dl585 excludehostgroups: squeeze + excludehosts: wagner - name: RAID - arrayprobe servicegroups: raid @@ -1962,6 +1982,12 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt" hostgroups: mptraid + ### + - + name: RAID - megactl + servicegroups: raid + nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl" + hostgroups: megactl ### - name: process - slapd @@ -2293,6 +2319,10 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-ups" hosts: franck depends: process - UPS - nut upsd + - + name: process - pglistener + nrpe: "/usr/lib/nagios/plugins/check_procs -u pglisten -C python -a '/usr/bin/python /usr/share/pglistener/starter.py /etc/pglistener/pglistener.cfg /etc/pglistener/conf.d' -w 1: -c 1:" + hosts: wagner, vasks #### #- @@ -2369,10 +2399,6 @@ services: hostgroups: nfs-server # see if the nfs stuff works and doesn't hang. # the df check all script will also hang, but we don't appear to pay attention to that -# - -# name: nfs mount ftp archive -# nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp" -# hosts: merkel - name: nfs mount ftp archive nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /srv/ftp.debian.org/ftp"