X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=b205bdc544e4719aaf98326b3ee6a46b318ded5d;hb=c751c7dee97526d4728e124312cfd520388a8ac9;hp=b0b5d4117d00cc9d1b8dbfd26ba3f6c000d6a578;hpb=8c634d3c5f7e72ad83e0b6e43314a84b48ea400a;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index b0b5d41..b205bdc 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -68,7 +68,7 @@ servers: parents: gw-ubc hostgroups: routing-infrastructure gw-dg-i.net: - address: 93.94.130.190 + address: 93.94.132.102 parents: gw-ubc hostgroups: routing-infrastructure contacts: bzed @@ -246,11 +246,10 @@ servers: parents: gw-man-da hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts, dl385, acpid-hosts contacts: bzed -# auber: -# address: 82.195.75.101 -# parents: gw-man-da -# hostgroups: computers, no-udev, buildd, sw-raid -# contacts: bzed + heininen: + address: 82.195.75.98 + parents: gw-man-da + hostgroups: computers, ulogd-hosts, acpid-hosts unger: address: 82.195.75.102 parents: gw-man-da @@ -1049,24 +1048,39 @@ services: nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/snapshot.debian.org" hosts: stabile,sibelius - - name: disk usage on /srv/farm-snapshot/farm-0123 + name: disk usage on /srv/farm-snapshot/farm-01 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-01" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-23 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-23" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-45 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/farm-snapshot/farm-0123" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-45" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-4567 + name: disk usage on /srv/farm-snapshot/farm-67 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/farm-snapshot/farm-4567" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-67" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-89ab + name: disk usage on /srv/farm-snapshot/farm-89 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/farm-snapshot/farm-89ab" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-89" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-cdef + name: disk usage on /srv/farm-snapshot/farm-abf servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/farm-snapshot/farm-cdef" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-abf" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-cde + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cde" hosts: sibelius ############ All Computers ############ @@ -1271,6 +1285,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: squeeze + - + name: remote logging + remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$" + runfrom: heininen + hostgroups: computers ### MAIL STUFF ### - @@ -1898,6 +1917,11 @@ services: name: process - postresql84 - dak-dev master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak-dev -c config_file=/etc/postgresql/8.4/dak-dev/postgresql.conf'" hosts: ries + # backups + - + name: postgresql backups + nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg" + hosts: beethoven #### - name: process - mysql - master @@ -2000,26 +2024,26 @@ services: ##### - name: mirror sync - bugs - check: "dsa_check_mirrorsync!bugs.debian.org!project/trace/bugs-master.debian.org" + check: "dsa_check_mirrorsync_skew!bugs.debian.org!project/trace/bugs-master.debian.org!120:600" hosts: global - name: mirror sync - security - check: "dsa_check_mirrorsync!security-nagios.debian.org!project/trace/security-master.debian.org" + check: "dsa_check_mirrorsync_skew!security-nagios.debian.org!project/trace/security-master.debian.org!150:3600" hosts: global - name: mirror sync - volatile - check: "dsa_check_mirrorsync!volatile.debian.org!debian-volatile/project/trace/volatile-master.debian.org" + check: "dsa_check_mirrorsync_skew!volatile.debian.org!debian-volatile/project/trace/volatile-master.debian.org!150:3600" hosts: global - name: mirror sync - packages - check: "dsa_check_mirrorsync!packages.debian.org!Pics/.trace" + check: "dsa_check_mirrorsync_skew!packages.debian.org!Pics/.trace!3600:57600" hosts: global normal_check_interval: 15 max_check_attempts: 5 retry_check_interval: 5 - name: mirror sync - snapshot - check: "dsa_check_mirrorsync!snapshot.debian.org!project/trace/snapshot-master.debian.org" + check: "dsa_check_mirrorsync_skew!snapshot.debian.org!project/trace/snapshot-master.debian.org!1800:28800" hosts: global normal_check_interval: 15 max_check_attempts: 5