X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=54b06cf366c2d9ecc9d39c006e23042332439509;hb=8c31e0a7f2c80f677fa79d91bd2e6bdbf316964a;hp=7eb16c31ee4ed19fe236ec6230391063e97fbf18;hpb=f1fbcc8332fa7289e8439c91e43dc2e5ae11d366;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 7eb16c3..54b06cf 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -57,10 +57,6 @@ servers: address: 138.16.160.1 parents: gw-ubcece hostgroups: layer3-infrastructure - gw-carnet: - address: 161.53.160.1 - parents: gw-ubcece - hostgroups: layer3-infrastructure gw-conova: address: 217.196.149.238 parents: gw-ubcece @@ -117,10 +113,6 @@ servers: address: 140.211.166.1 parents: gw-ubcece hostgroups: layer3-infrastructure - gw-rapidswitch: - address: 193.201.200.129 - parents: gw-ubcece - hostgroups: layer3-infrastructure gw-sakura: address: 133.242.99.65 parents: gw-ubcece @@ -183,11 +175,6 @@ servers: address: 213.165.95.6 parents: powell hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie - piu-slave-1und1-01: - address: 213.165.95.7 - parents: powell - hostgroups: computers, service, kvmdomains, jessie - contacts: holger # }}} # {{{ gw-1und1-sec schumann: @@ -210,10 +197,10 @@ servers: hostgroups: computers, buildd, hassrvfs, jessie # }}} # {{{ gw-aql - etler: + eller: address: 141.170.6.156 parents: gw-aql - hostgroups: computers, porterbox, jessie, hassrvfs, hasbootfs, sw-raid + hostgroups: computers, porterbox, jessie, hassrvfs mips-aql-01: address: 141.170.6.149 parents: gw-aql @@ -263,15 +250,15 @@ servers: arm-arm-01: address: 217.140.96.58 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie, broken_mq - arm-arm-02: - address: 217.140.96.59 - parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie, broken_mq + hostgroups: computers, hassrvfs, buildd, jessie, broken_mq arm-arm-03: address: 217.140.96.60 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie, broken_mq + hostgroups: computers, hassrvfs, buildd, jessie, broken_mq + arm-arm-04: + address: 217.140.96.61 + parents: gw-arm + hostgroups: computers, hassrvfs, buildd, jessie, broken_mq harris: address: 217.140.96.66 parents: gw-arm @@ -284,74 +271,74 @@ servers: address: 217.140.96.71 parents: gw-arm hostgroups: computers, hasbootfs, hassrvfs, armhf, jessie, buildd, broken_mq - ia64-arm-01: - address: 217.140.96.61 - parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, wheezy, buildd, broken_mq, sw-raid, acpid-hosts # }}} # {{{ gw-brown franck: address: 138.16.160.12 parents: gw-brown hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres94-hosts, uploadqueue, xinetd-hosts, apache-https, hassrvfs, jessie + fasolo: + address: 138.16.160.17 + parents: gw-brown + hostgroups: computers, service, dl380, hpnewraid, jessie, hassrvfs, postgres94-hosts # }}} # {{{ gw-bytemark bm-bl1: address: 5.153.231.241 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl2: address: 5.153.231.242 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl3: address: 5.153.231.243 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl4: address: 5.153.231.244 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl5: address: 5.153.231.245 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl6: address: 5.153.231.246 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl7: address: 5.153.231.247 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl8: address: 5.153.231.248 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl9: address: 5.153.231.249 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl10: address: 5.153.231.250 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl11: address: 5.153.231.251 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl12: address: 5.153.231.252 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl13: address: 5.153.231.253 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts bm-bl14: address: 5.153.231.254 parents: gw-bytemark - hostgroups: computers, bm-bl, service, jessie + hostgroups: computers, bm-bl, service, jessie, multipath-hosts milanollo: address: 5.153.231.2 @@ -449,10 +436,10 @@ servers: address: 5.153.231.25 parents: ganeti-bytemark hostgroups: computers, kvmdomains, jessie, apache2-hosts, apache-https - oyens: + olin: address: 5.153.231.26 parents: ganeti-bytemark - hostgroups: computers, kvmdomains, jessie, openstack-controller, broken_mq, apache2-hosts # apache-https + hostgroups: computers, kvmdomains, jessie barriere: address: 5.153.231.27 parents: ganeti-bytemark @@ -524,21 +511,7 @@ servers: hostgroups: computers, service, apache2-hosts, rsyncd-hosts, xinetd-hosts, hassrvfs, jessie, high-RTT, security_mirror, no-bacula, apache-https contacts: faw # }}} - # {{{ gw-carnet - lebrun: - address: 193.198.184.10 - parents: gw-carnet - hostgroups: computers, buildd, sw-raid, hasorgfs, sparc, wheezy - schroeder: - address: 193.198.184.11 - parents: gw-carnet - hostgroups: computers, buildd, sw-raid, hassrvfs, sparc, wheezy - # }}} # {{{ gw-cecsit - gluck: - address: 150.203.164.38 - parents: gw-cecsit - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hassrvfs, xinetd-hosts, jessie, security_mirror, no-bacula, apache-https mirror-anu: address: 150.203.164.39 parents: gw-cecsit @@ -557,14 +530,6 @@ servers: hostgroups: secondary-IPs # }}} # {{{ gw-conova - sompek: - address: 217.196.149.225 - parents: gw-conova - hostgroups: computers, buildd, hassrvfs, sw-raid, wheezy, sparc - stadler: - address: 217.196.149.226 - parents: gw-conova - hostgroups: computers, buildd, hassrvfs, sw-raid, wheezy, sparc # }}} # {{{ gw-csail steffani: @@ -613,6 +578,10 @@ servers: address: 128.31.0.67 parents: ganeti-csail hostgroups: computers, service, kvmdomains, hassrvfs, jessie, apache2-hosts, apache-https + pkgmirror-csail: + address: 128.31.0.51 + parents: ganeti-csail + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, no-bacula, apache-https, hassrvfs # }}} # {{{ gw-dgi storace: @@ -824,6 +793,10 @@ servers: address: 82.195.75.65 parents: ganeti3 hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, apache2-hosts, jessie, apache-https + mips-manda-01: + address: 82.195.75.66 + parents: gw-man-da + hostgroups: computers, buildd, jessie, hassrvfs mipsel-manda-01: address: 82.195.75.72 parents: gw-man-da @@ -832,6 +805,10 @@ servers: address: 82.195.75.74 parents: gw-man-da hostgroups: computers, buildd, jessie, hassrvfs, sw-raid, hasbootfs + mipsel-manda-03: + address: 82.195.75.67 + parents: gw-man-da + hostgroups: computers, buildd, jessie, hassrvfs seger: address: 82.195.75.93 parents: ganeti3 @@ -874,31 +851,21 @@ servers: address: 140.211.166.198 parents: pieta hostgroups: computers, jessie, hassrvfs, porterbox - merulo: - address: 140.211.166.46 - parents: gw-osuosl - hostgroups: computers, porterbox, hasusrfs, wheezy partch: address: 140.211.15.152 parents: gw-osuosl hostgroups: computers, jessie, hassrvfs, porterbox, sw-raid # }}} - # {{{ gs-rapidswitch - caballero: - address: 193.201.200.200 - parents: gw-rapidswitch - hostgroups: computers, buildd, sw-raid, wheezy, hassrvfs, acpid-hosts - # }}} # {{{ gw-sanger sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, postgres94-hosts, service, apache2-hosts, sw-raid, jessie, rsyncd-hosts, xinetd-hosts, hasvarlogfs + hostgroups: computers, postgres94-hosts, service, apache2-hosts, sw-raid, jessie, rsyncd-hosts, xinetd-hosts, hasvarlogfs, multipath-hosts contacts: tjrc1, dave smetana: address: 193.62.202.29 parents: gw-sanger - hostgroups: computers, porterbox, sw-raid, sparc, wheezy + hostgroups: computers, sw-raid, sparc, wheezy, no-bacula contacts: tjrc1, dave # }}} # {{{ gw-scanplus @@ -916,6 +883,14 @@ servers: address: 86.59.118.155 parents: gw-sil hostgroups: computers, buildd, jessie, sw-raid + mips-sil-01: + address: 86.59.118.146 + parents: gw-sil + hostgroups: computers, buildd, jessie, hassrvfs + mipsel-sil-01: + address: 86.59.118.147 + parents: gw-sil + hostgroups: computers, buildd, jessie, hassrvfs # }}} # {{{ gw-ubcece sw-ubcece: @@ -943,27 +918,27 @@ servers: ubc-bl7: address: 206.12.19.217 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts + hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts ubc-bl6: address: 206.12.19.216 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts + hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts ubc-bl2: address: 206.12.19.212 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts + hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts ubc-bl3: address: 206.12.19.213 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts + hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts ubc-bl4: address: 206.12.19.214 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts + hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts ubc-bl8: address: 206.12.19.218 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts + hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts ganeti2: address: 206.12.19.23 parents: sw-ubcece-kais @@ -994,10 +969,6 @@ servers: parents: ganeti2 hostgroups: computers, freebsd, jessie, buildd, hassrvfs contacts: christoph - lucatelli: - address: 206.12.19.15 - parents: sw-ubcece-kais - hostgroups: computers, buildd, jessie # locke: # address: 206.12.19.120 # parents: sw-ubcece-kais @@ -1255,6 +1226,8 @@ hostgroups: drbd-hosts: alias: hosts running drbd + multipath-hosts: + alias: hosts running multipathd postfix-hosts: alias: hosts running postfix instead of exim private: 1 @@ -1345,9 +1318,6 @@ hostgroups: hasvarlogfs: alias: hosts with a /var/log filesystem private: 1 - hasusrfs: - alias: hosts with a /usr filesystem - private: 1 incomingmailrelayed: alias: incoming mail needs to go through a mail relay @@ -1403,6 +1373,8 @@ servicegroups: security: alias: security servicegroup_members: apt, kernel, samhain + mirror: + alias: mirror stuff MQ: alias: rabbitMQ stuff # }}} @@ -1465,16 +1437,11 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 95 98 /srv" hostgroups: hassrvfs - - - name: disk usage on /usr - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr" - hostgroups: hasusrfs - name: disk usage on /var/lib/postgresql servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql" - hosts: sibelius, busoni, buxtehude, lw07 + hosts: sibelius, busoni, buxtehude, lw07, fasolo - name: disk usage on /var/log servicegroups: diskspace @@ -1524,7 +1491,7 @@ services: name: disk usage on /srv/ftp-master.debian.org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 93 96 /srv/ftp-master.debian.org" - hosts: franck + hosts: franck, fasolo - name: disk usage on /storage/snapshot-farm-1 servicegroups: diskspace @@ -1640,7 +1607,7 @@ services: servicegroups: backup nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup" hostgroups: computers - excludehosts: backuphost, storace, backuphost + excludehosts: backuphost, storace check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 @@ -2418,7 +2385,7 @@ services: name: network service - http check: check_http hostgroups: apache2-hosts - excludehosts: klecker, oyens + excludehosts: klecker depends: process - apache2 - master - name: network service - http @@ -2587,10 +2554,12 @@ services: name: mirror sync - bugs check: "dsa_check_mirrorsync_skew!bugs.debian.org!project/trace/bugs-master.debian.org!120:600" hosts: global + servicegroups: mirror - name: mirror sync - security check: "dsa_check_mirrorsync_skew!security-nagios.debian.org!project/trace/security-master.debian.org!150:3600" hosts: global + servicegroups: mirror - name: mirror sync - packages check: "dsa_check_mirrorsync_skew!packages.debian.org!Pics/.trace!3600:57600" @@ -2598,6 +2567,7 @@ services: check_interval: 15 max_check_attempts: 5 retry_check_interval: 5 + servicegroups: mirror - name: mirror sync - snapshot check: "dsa_check_mirrorsync_skew!snapshot.debian.org!project/trace/snapshot-master.debian.org!3600:28800" @@ -2605,6 +2575,184 @@ services: check_interval: 15 max_check_attempts: 5 retry_check_interval: 5 + servicegroups: mirror + + - + name: mirror static sync - bits + check: "dsa_check_staticsync!bits.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - network-test + check: "dsa_check_staticsync_nossl!network-test.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - appstream + check: "dsa_check_staticsync!appstream.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - blends + check: "dsa_check_staticsync!blends.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - d-i + check: "dsa_check_staticsync!d-i.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debaday + check: "dsa_check_staticsync!debaday.debian.net" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debdeltas + check: "dsa_check_staticsync_nossl!debdeltas.debian.net" + hosts: global + servicegroups: mirror + - + name: mirror static sync - dsa + check: "dsa_check_staticsync!dsa.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - lintian + check: "dsa_check_staticsync!lintian.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - mozilla + check: "dsa_check_staticsync_nossl!mozilla.debian.net" + hosts: global + servicegroups: mirror + - + name: mirror static sync - news + check: "dsa_check_staticsync!news.debian.net" + hosts: global + servicegroups: mirror + - + name: mirror static sync - incoming.ports + check: "dsa_check_staticsync_nossl!incoming.ports.debian.org" + hosts: global + servicegroups: mirror + # - + # name: mirror static sync - release + # check: "dsa_check_staticsync!release.debian.org" + # hosts: global + # servicegroups: mirror + - + name: mirror static sync - rtc + check: "dsa_check_staticsync!rtc.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - security-team + check: "dsa_check_staticsync!security-team.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - wnpp-by-tags + check: "dsa_check_staticsync!wnpp-by-tags.debian.net" + hosts: global + servicegroups: mirror + - + name: mirror static sync - www.ports + check: "dsa_check_staticsync!www.ports.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - timeline + check: "dsa_check_staticsync!timeline.debian.net" + hosts: global + servicegroups: mirror + - + name: mirror static sync - backports + check: "dsa_check_staticsync!backports.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - incoming + check: "dsa_check_staticsync_nossl!incoming.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - metadata.ftp-master + check: "dsa_check_staticsync_nossl!metadata.ftp-master.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - deb + check: "dsa_check_staticsync_nossl!deb.debian.org" + hosts: global + servicegroups: mirror + + - + name: mirror static sync - 10years + check: "dsa_check_staticsync!10years.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf0 + check: "dsa_check_staticsync!debconf0.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf1 + check: "dsa_check_staticsync!debconf1.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf2 + check: "dsa_check_staticsync!debconf2.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf3 + check: "dsa_check_staticsync!debconf3.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf4 + check: "dsa_check_staticsync!debconf4.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf5 + check: "dsa_check_staticsync!debconf5.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf6 + check: "dsa_check_staticsync!debconf6.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf7 + check: "dsa_check_staticsync!debconf7.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - debconf1 + check: "dsa_check_staticsync!debconf1.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - es + check: "dsa_check_staticsync!es.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - fr + check: "dsa_check_staticsync!fr.debconf.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - miniconf10 + check: "dsa_check_staticsync!miniconf10.debconf.org" + hosts: global + servicegroups: mirror # }}} # {{{ DNS - @@ -2698,6 +2846,16 @@ services: remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=11298 $HOSTADDRESS$ public" runfrom: ubc-bl8 hosts: giustini + ### + - + name: process - multipathd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u root -C multipathd -a '/sbin/multipathd'" + hostgroups: multipath-hosts + - + name: unwanted process - multipathd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C multipathd" + hostgroups: computers + excludehostgroups: multipath-hosts # }}} # {{{ porterbox -