From: Peter Palfrader Date: Wed, 15 Jun 2016 09:17:51 +0000 (+0200) Subject: add check for static mirrors X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=bd3de8215ddeb779a08c8743ca54d2fc5f97aa74;p=mirror%2Fdsa-nagios.git add check for static mirrors --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 5d9d05a..26a9380 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1409,6 +1409,8 @@ servicegroups: security: alias: security servicegroup_members: apt, kernel, samhain + mirror: + alias: mirror stuff MQ: alias: rabbitMQ stuff # }}} @@ -2593,10 +2595,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" @@ -2604,6 +2608,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" @@ -2611,6 +2616,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 - diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 91d55a4..62667df 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -51,6 +51,10 @@ define command{ command_name dsa_check_mirrorsync_skew command_line /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path "$ARG2$" --allow-skew "$ARG3$" } +define command{ + command_name dsa_check_staticsync + command_line /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path .serial --unix --ssl +} define command{ command_name dsa_check_soas command_line /usr/lib/nagios/plugins/dsa-check-soas "$ARG1$"