From: Peter Palfrader Date: Tue, 23 Dec 2008 23:28:13 +0000 (+0000) Subject: [project @ peter@palfrader.org-20081223232813-o8l15sq3kbz7wy12] X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=inline;h=eef5121c205de1c283e86be07f48c6c1dcb837b7;p=mirror%2Fdsa-nagios.git [project @ peter@palfrader.org-20081223232813-o8l15sq3kbz7wy12] Add soa checks --- diff --git a/checkcommands.cfg b/checkcommands.cfg index bdc76d5..9811089 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -48,6 +48,14 @@ define command{ command_name dsa_check_mirrorsync command_line /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path "$ARG2$" } +define command{ + command_name dsa_check_soas + command_line /usr/lib/nagios/plugins/dsa-check-soas "$ARG1$" +} +define command{ + command_name dsa_check_soas_add + command_line /usr/lib/nagios/plugins/dsa-check-soas -a "$ARG1$" "$ARG2$" +} define command{ command_name dsa_check_always_ok command_line /bin/true diff --git a/nagios-master.cfg b/nagios-master.cfg index eab956b..3ae6870 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -1707,3 +1707,31 @@ services: name: mirror sync - us check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org" hosts: global + - + name: DNS SOA sync - debprivate-ftcollins.debian.org + check: "dsa_check_soas!debprivate-ftcollins.debian.org" + hosts: global + - + name: DNS SOA sync - debian.org + check: "dsa_check_soas_add!samosa.debian.org!debian.org" + hosts: global + - + name: DNS SOA sync - debian.net + check: "dsa_check_soas_add!samosa.debian.org!debian.net" + hosts: global + - + name: DNS SOA sync - debian.com + check: "dsa_check_soas_add!samosa.debian.org!debian.com" + hosts: global + - + name: DNS SOA sync - mirror.debian.net + check: "dsa_check_soas_add!samosa.debian.org!mirror.debian.net" + hosts: global + - + name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa + check: "dsa_check_soas_add!samosa.debian.org!144-28.118.59.86.in-addr.arpa" + hosts: global + - + name: DNS SOA sync - alioth.debian.org + check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org" + hosts: global