X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=b80599265d44998a6d5a226aef66a00c672f2b57;hb=ab99758429c0b815b95f2d16f7ec3a4d910579ac;hp=da1449ec95eb939b1aeb9ed0f1610d046e62ea9b;hpb=90b9a1d5360d73feebc844d67a8793b89c977e3d;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index da1449e..b805992 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 @@ -294,64 +290,68 @@ servers: 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 +524,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 @@ -893,7 +883,7 @@ 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 @@ -943,27 +933,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 @@ -998,10 +988,6 @@ servers: address: 206.12.19.15 parents: sw-ubcece-kais hostgroups: computers, buildd, jessie - traetta: - address: 206.12.19.21 - parents: sw-ubcece-kais - hostgroups: computers, dl585, service, jessie # locke: # address: 206.12.19.120 # parents: sw-ubcece-kais @@ -1230,9 +1216,6 @@ hostgroups: bm-bl: alias: HP blades at bytemark private: 1 - dl585: - alias: HP DL385 hosts - private: 1 dl180: alias: HP DL180 private: 1 @@ -1262,6 +1245,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 @@ -1410,6 +1395,8 @@ servicegroups: security: alias: security servicegroup_members: apt, kernel, samhain + mirror: + alias: mirror stuff MQ: alias: rabbitMQ stuff # }}} @@ -2090,12 +2077,6 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli-enclosure 1 1E:1" check_interval: 120 hosts: franck - - - name: HW - hpacucli status - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --ignore-transfer-speed=1I:1:1 --ignore-transfer-speed=1I:1:2" - check_interval: 120 - hostgroups: dl585 - name: HW - hpssacli status servicegroups: raid @@ -2113,7 +2094,7 @@ services: name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" check_interval: 120 - hostgroups: dl380, dl360, bl460, dl585, bm-bl + hostgroups: dl380, dl360, bl460, bm-bl excludehosts: villa, lobos, schein, storace, mirror-anu - name: HW - hpasmcli status @@ -2600,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" @@ -2611,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" @@ -2618,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 - @@ -2711,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 -