X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=3d1b027b141c97e0c4864bb2c663663e1cf99124;hb=21099fed84533b2930e9102db67e3ecfad38afc8;hp=7eb16c31ee4ed19fe236ec6230391063e97fbf18;hpb=f1fbcc8332fa7289e8439c91e43dc2e5ae11d366;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 7eb16c3..3d1b027 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 @@ -263,15 +259,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 +280,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 # }}} # {{{ 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 @@ -524,16 +520,6 @@ 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 @@ -824,6 +810,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 +822,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,10 +868,6 @@ 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 @@ -893,12 +883,12 @@ servers: 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 +906,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 +941,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 @@ -1255,6 +1253,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 +1345,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 +1400,8 @@ servicegroups: security: alias: security servicegroup_members: apt, kernel, samhain + mirror: + alias: mirror stuff MQ: alias: rabbitMQ stuff # }}} @@ -1465,11 +1464,6 @@ 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 @@ -1640,7 +1634,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 @@ -2587,10 +2581,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 +2594,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 +2602,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!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!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!mozilla.debian.net" + hosts: global + servicegroups: mirror + - + name: mirror static sync - news + check: "dsa_check_staticsync!news.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - incoming.ports + check: "dsa_check_staticsync!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!incoming.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - metadata.ftp-master + check: "dsa_check_staticsync!metadata.ftp-master.debian.org" + hosts: global + servicegroups: mirror + - + name: mirror static sync - deb + check: "dsa_check_staticsync!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 +2873,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 -