X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=b2a3568f647a929b02d9520e9229d2b27a2d0888;hb=918134dc032881c59be17ce6539ed4f2e2bb24cc;hp=173c7265d8ba54cc1ce1c8b41c5bcd332b76d662;hpb=beebe9bc1a9f201c4dd4d38c344dd4204b7b7616;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 173c726..b2a3568 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -98,6 +98,10 @@ servers: address: 193.201.200.129 parents: gw-HP-ftc hostgroups: routing-infrastructure + gw-grnet: + address: 194.177.211.193 + parents: gw-HP-ftc + hostgroups: routing-infrastructure gw-nmmn: address: 217.114.76.81 parents: gw-HP-ftc @@ -178,11 +182,11 @@ servers: samosa: address: 192.25.206.57 parents: spohr - hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client, postgres84-hosts + hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client, postgres84-hosts, bind9-hosts 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 + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, no-udev, hassrvfs, acpid-hosts merkel: address: 192.25.206.16 parents: spohr @@ -206,7 +210,7 @@ servers: penalosa: address: 192.25.206.68 parents: spohr - hostgroups: computers, buildd, hasbootfs, lenny + hostgroups: computers, buildd, hasbootfs, lenny, single-cpu contacts: dannf mundy: address: 192.25.206.62 @@ -234,7 +238,7 @@ servers: sperger: address: 82.195.75.34 parents: gw-man-da2 - hostgroups: computers, porterbox, sw-raid, hasbootfs, lenny + hostgroups: computers, porterbox, sw-raid, hasbootfs, lenny, hasorgfs contacts: bzed agricola: address: 82.195.75.86 @@ -263,23 +267,23 @@ servers: handel: address: 82.195.75.104 parents: unger - hostgroups: computers, service, acpid-hosts, lenny, hasbootfs + hostgroups: computers, service, lenny, hasbootfs, kvmdomains geo1: address: 82.195.75.105 parents: unger - hostgroups: computers, service, acpid-hosts, lenny, hasbootfs, bind9-hosts + hostgroups: computers, service, lenny, hasbootfs, bind9-hosts, kvmdomains draghi: address: 82.195.75.106 parents: unger - hostgroups: computers, service, acpid-hosts, lenny, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, ulogd-hosts + hostgroups: computers, service, lenny, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, ulogd-hosts, kvmdomains kaufmann: address: 82.195.75.107 parents: unger - hostgroups: computers, service, lenny, hasbootfs, apache2-hosts, single-cpu, rsyncd-hosts + hostgroups: computers, service, lenny, hasbootfs, apache2-hosts, single-cpu, rsyncd-hosts, kvmdomains byrd: address: 82.195.75.101 parents: unger - hostgroups: computers, service, lenny, hasbootfs, hassrvfs, postgres84-hosts, heavy-exim + hostgroups: computers, service, lenny, hasbootfs, hassrvfs, postgres84-hosts, heavy-exim, kvmdomains master: address: 70.103.162.29 @@ -319,7 +323,7 @@ servers: busoni: address: 140.211.15.34 parents: gw-osuosl - hostgroups: computers, service, lenny, dl360, hassrvfs, acpid-hosts + hostgroups: computers, service, lenny, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim zee: address: 140.211.166.16 parents: gw-osuosl @@ -328,11 +332,11 @@ servers: villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs, hasorgfs lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs, hasorgfs gluck: address: 150.203.164.38 parents: gw-anu @@ -341,11 +345,11 @@ servers: steffani: address: 128.31.0.36 parents: gw-mit-csail - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts, hasbootfs, lenny - mahler: - address: 128.31.0.46 - parents: gw-mit-csail - hostgroups: computers, single-cpu, lenny, porterbox + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts, hasbootfs, lenny, hasorgfs + #mahler: + # address: 128.31.0.46 + # parents: gw-mit-csail + # hostgroups: computers, single-cpu, lenny, porterbox, hasorgfs rore: address: 128.31.0.49 parents: gw-mit-csail @@ -353,11 +357,11 @@ servers: senfl: address: 128.31.0.51 parents: gw-mit-csail - hostgroups: computers, service, lenny, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts, rsyncd-hosts - carver: - address: 128.31.0.50 - parents: gw-mit-csail - hostgroups: computers, service, lenny, dl380, acpid-hosts, hassrvfs, ulogd-hosts + hostgroups: computers, service, lenny, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts, rsyncd-hosts, bind9-hosts + #carver: + # address: 128.31.0.50 + # parents: gw-mit-csail + # hostgroups: computers, service, lenny, dl380, acpid-hosts, hassrvfs, ulogd-hosts klecker: address: 194.109.137.218 @@ -367,7 +371,7 @@ servers: saens: address: 128.101.240.212 parents: gw-umn.edu - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs, hasorgfs argento: address: 93.94.130.160 @@ -378,25 +382,30 @@ servers: widor: address: 93.94.130.161 parents: gw-dg-i.net - hostgroups: computers, apache2-hosts, sw-raid, lenny, acpid-hosts + hostgroups: computers, apache2-hosts, sw-raid, lenny, acpid-hosts, hasorgfs, heavy-exim contacts: bzed pergolesi: address: 62.104.23.252 parents: gw-freenet - hostgroups: computers, porterbox, sw-raid, lenny, hasusrfs + hostgroups: computers, porterbox, sw-raid, lenny, hasusrfs, hasorgfs albeniz: address: 193.62.202.27 parents: gw-sanger # SMP kernel doesn't run stable - hostgroups: computers, porterbox, sw-raid, single-cpu, hasbootfs, lenny + hostgroups: computers, porterbox, sw-raid, single-cpu, hasbootfs, lenny, ntpsuckers contacts: tjrc1 goetz: address: 193.62.202.26 parents: gw-sanger # SMP kernel doesn't run stable - hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, lenny + hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, lenny, ntpsuckers + contacts: tjrc1 + sibelius: + address: 193.62.202.28 + parents: gw-sanger + hostgroups: computers, lenny, acpid-hosts contacts: tjrc1 smetana: address: 193.62.202.29 @@ -432,15 +441,15 @@ servers: chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, service, apache2-hosts, ulogd-hosts, lenny, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue + hostgroups: computers, service, apache2-hosts, ulogd-hosts, lenny, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim geo3: address: 195.20.242.125 parents: schumann - hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts + hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts, kvmdomains soler: address: 195.20.242.126 parents: schumann - hostgroups: computers, service, lenny, hasbootfs, hassrvfs + hostgroups: computers, service, lenny, hasbootfs, hassrvfs, kvmdomains caballero: address: 193.201.200.200 @@ -450,7 +459,7 @@ servers: pescetti: address: 217.114.76.85 parents: gw-nmmn - hostgroups: computers, porterbox, single-cpu, smart, lenny + hostgroups: computers, porterbox, single-cpu, smart, lenny, hasorgfs kassia: address: 130.89.149.224 @@ -483,12 +492,12 @@ servers: spontini: address: 137.82.84.65 parents: gw-ubc - hostgroups: computers, buildd, hasbootfs, lenny + hostgroups: computers, buildd, hasbootfs, lenny, hasorgfs contacts: lfilipoz ravel: 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 + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts, hasbootfs, lenny, nfs-server, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim dijkstra: address: 206.12.19.218 parents: gw-ubcnew @@ -500,23 +509,23 @@ servers: wolkenstein: address: 206.12.19.116 parents: dijkstra - hostgroups: computers, lenny, hasbootfs, hassrvfs + hostgroups: computers, lenny, hasbootfs, hassrvfs, kvmdomains brahms: address: 206.12.19.115 parents: dijkstra - hostgroups: computers, lenny, buildd, hasbootfs, hassrvfs + hostgroups: computers, lenny, buildd, hasbootfs, hassrvfs, kvmdomains geo2: address: 206.12.19.113 parents: dijkstra - hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts + hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts, kvmdomains duarte: address: 206.12.19.114 parents: dijkstra - hostgroups: computers, lenny, hasbootfs, hassrvfs, single-cpu + hostgroups: computers, lenny, hasbootfs, hassrvfs, apache2-hosts, kvmdomains valente: address: 206.12.19.112 parents: dijkstra - hostgroups: computers, lenny, hasbootfs, single-cpu, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts + hostgroups: computers, lenny, hasbootfs, single-cpu, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim bellini: address: 137.82.84.79 parents: gw-ubc @@ -524,15 +533,15 @@ servers: morricone: address: 206.12.19.9 parents: gw-ubcnew - hostgroups: computers, lenny, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts + hostgroups: computers, lenny, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim stabile: address: 137.82.84.72 parents: gw-ubc - hostgroups: computers, lenny, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts + hostgroups: computers, lenny, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts cimarosa: address: 137.82.84.80 parents: gw-ubc - hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs, nfs-client + hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs, nfs-client, heavy-exim paganini: address: 206.12.19.10 parents: gw-ubcnew @@ -557,11 +566,11 @@ servers: lebrun: address: 193.198.184.10 parents: gw-carnet - hostgroups: computers, buildd, sw-raid, lenny + hostgroups: computers, buildd, sw-raid, lenny, hasorgfs schroeder: address: 193.198.184.11 parents: gw-carnet - hostgroups: computers, buildd, sw-raid, hasbootfs, lenny + hostgroups: computers, buildd, sw-raid, hasbootfs, lenny, hasorgfs tartini: address: 82.94.249.158 @@ -571,7 +580,7 @@ servers: piatti: address: 193.167.161.225 parents: gw-helsinki - hostgroups: computers, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, lenny, hasbootfs, incomingmailrelayed2025 + hostgroups: computers, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, lenny, hasbootfs, incomingmailrelayed2025, hasorgfs contacts: holger rem: @@ -582,12 +591,16 @@ servers: ball: address: 78.32.9.213 parents: gw-ball - hostgroups: computers, buildd, no-udev, dialup, hasbootfs, lenny, hashomefs + hostgroups: computers, buildd, no-udev, dialup, hasbootfs, lenny, hashomefs, ntpsuckers zelenka: address: 80.245.147.40 parents: gw-HP-ftc hostgroups: computers, porterbox, lenny, hassrvfs + zandonai: + address: 80.245.147.46 + parents: gw-HP-ftc + hostgroups: computers, buildd, lenny, hassrvfs escher: address: 213.188.99.215 @@ -596,23 +609,33 @@ servers: goedel: address: 213.188.99.214 parents: gw-cst - hostgroups: computers, single-cpu, hasbootfs, lenny + hostgroups: computers, single-cpu, hasbootfs, lenny, ntpsuckers schein: address: 149.20.20.6 parents: gw-isc - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, lenny, dl360, bind9-hosts + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, lenny, dl360, bind9-hosts, hasorgfs praetorius: address: 130.239.18.121 parents: gw-aca - hostgroups: computers, buildd, lenny + hostgroups: computers, buildd, lenny, hassrvfs lafayette: address: 147.215.7.160 parents: gw-esiee hostgroups: computers, buildd, lenny, sw-raid, hassrvfs, hasbootfs + grieg: + address: 194.177.211.200 + parents: gw-grnet + hostgroups: computers, lenny + + rautavaara: + address: 194.177.211.199 + parents: gw-grnet + hostgroups: computers, lenny + ############################# # host groups # @@ -686,6 +709,10 @@ hostgroups: alias: hosts not running samhain properly private: 1 + kvmdomains: + alias: Hosts that are KVM domains + private: 1 + postfix-hosts: alias: hosts running postfix instead of exim private: 1 @@ -765,6 +792,9 @@ hostgroups: hassrvfs: alias: hosts with a /srv filesystem private: 1 + hasorgfs: + alias: hosts with a /org filesystem + private: 1 hashomefs: alias: hosts with a /home filesystem private: 1 @@ -784,6 +814,10 @@ hostgroups: # i.e. no port 25 private: 1 + ntpsuckers: + alias: hosts who's ntp offset is often unknown + private: 1 + ############################# # servicegroups ############################# @@ -841,12 +875,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers - excludehosts: ries, klecker + excludehosts: ries, klecker, kassia - name: disk usage on / servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 93 96 /" - hosts: ries, klecker + nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /" + hosts: ries, klecker, kassia - name: disk usage on /boot servicegroups: diskspace @@ -861,7 +895,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, spontini, ravel, mahler, schroeder, piatti, pescetti, widor, schein, lebrun + hostgroups: hasorgfs - name: disk usage on /org servicegroups: diskspace @@ -881,7 +915,7 @@ services: name: disk usage on /tmp servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp" - hosts: raff, saens, puccini, merkel, tartini, powell, piatti, escher + hosts: saens, puccini, merkel, tartini, powell, piatti, escher - name: disk usage on /usr servicegroups: diskspace @@ -1035,7 +1069,7 @@ services: name: process - getty nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty" hostgroups: computers - excludehosts: zelenka + excludehosts: zelenka, zandonai #### - name: process - sshd @@ -1119,6 +1153,7 @@ services: hostgroups: computers depends: process - ntpd excludehosts: zelenka, ancina + excludehostgroups: ntpsuckers # - name: network service - time @@ -1485,6 +1520,23 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460 + ### + - + name: HW - hpasmcli status + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" + normal_check_interval: 120 + hostgroups: dl385, dl380, dl360, bl460 + excludehosts: villa, lobos, liszt, senfl, schein, rore + - + name: HW - hpasmcli status + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant" + normal_check_interval: 120 + hosts: villa, lobos, liszt + - + name: HW - hpasmcli status + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant" + normal_check_interval: 120 + hosts: senfl, schein, rore ### - name: RAID - areca @@ -1544,7 +1596,7 @@ services: name: unexpected process - acpid nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid" hostgroups: computers - excludehostgroups: acpid-hosts + excludehostgroups: acpid-hosts, kvmdomains ### - @@ -1613,7 +1665,7 @@ services: depends: kassia:process - apache2 - master hosts: kassia-sec, kassia-ftp, kassia-volatile - # keyserver on raff + # keyserver on kaufmann - name: network service - http keyserver check: dsa_check_http_port!11371 @@ -1805,7 +1857,7 @@ services: - name: process - buildd servicegroups: buildd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u buildd -C buildd -a '/usr/bin/buildd'" hostgroups: buildd contacts: luk @@ -1852,7 +1904,7 @@ services: - name: nfs mount ftp archive nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp" - hosts: merkel, raff + hosts: merkel - name: nfs mount ftp archive nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /srv/ftp.debian.org/ftp" @@ -1933,3 +1985,8 @@ services: remotecheck: "/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C public -P 2c -o connUnitStatus -n -c 3 -w 3" runfrom: dijkstra hosts: giustini + - + name: event log + remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=0 $HOSTADDRESS$ public" + runfrom: dijkstra + hosts: giustini