X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=67c39714c92430532799e3b2dac4e46361d9ed53;hb=b7db53fed703005a6ecfbabddc72f037dd954641;hp=21c7c7f420f79125d67941e6f1076cf5109a5b8a;hpb=2bcf5c18f38e8288bb766dbf1a9fd70e5eccacd5;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 21c7c7f..67c3971 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 @@ -270,7 +269,7 @@ servers: kaufmann: address: 82.195.75.107 parents: unger - hostgroups: computers, service, hasbootfs, apache2-hosts, rsyncd-hosts, kvmdomains, xinetd-hosts + hostgroups: computers, service, hasbootfs, apache2-hosts, rsyncd-hosts, kvmdomains, xinetd-hosts, ulogd-hosts ball: address: 82.195.75.70 parents: gw-man-da @@ -527,7 +526,7 @@ servers: morricone: address: 206.12.19.9 parents: tchaikovsky - hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts + hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts stabile: address: 206.12.19.13 parents: gw-ubc @@ -663,7 +662,7 @@ servers: cilea: address: 194.177.211.205 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid + hostgroups: computers, acpid-hosts, mptraid, hassrvfs vitry: address: 194.177.211.206 parents: gw-grnet @@ -694,6 +693,10 @@ servers: address: 86.59.118.147 parents: gw-sil hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts + merikanto2: + address: 86.59.118.150 + parents: merikanto + hostgroups: secondary-IPs englund: address: 86.59.118.148 parents: gw-sil @@ -944,7 +947,7 @@ services: - name: disk usage - all servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs 90 95" + nrpe: "/usr/lib/nagios/plugins/check_disk -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs -X nfs 90 95" hostgroups: computers - name: disk usage on / @@ -1045,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 90 95 /srv/farm-snapshot/farm-0123" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-01" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-4567 + name: disk usage on /srv/farm-snapshot/farm-23 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-23" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-89ab + name: disk usage on /srv/farm-snapshot/farm-45 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-45" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-cdef + name: disk usage on /srv/farm-snapshot/farm-67 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-67" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-89 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-89" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-abf + servicegroups: diskspace + 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 ############ @@ -1260,7 +1278,18 @@ services: name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: computers + excludehostgroups: squeeze + - + name: process - syslog-ng + 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: "/usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$" + runfrom: heininen + hostgroups: computers ### MAIL STUFF ### - @@ -1716,12 +1745,16 @@ services: check: check_tcp!873 hosts: rietz2 depends: rietz:process - xinetd - + #- + # name: network service - rsync + # check: check_tcp!873 + # hosts: kassia-sec + # depends: kassia:process - xinetd - name: network service - rsync check: check_tcp!873 - hosts: kassia-sec - depends: kassia:process - xinetd + hosts: merikanto2 + depends: merikanto:process - xinetd ### - @@ -1751,7 +1784,8 @@ services: name: network service - http check: check_http depends: kassia:process - apache2 - master - hosts: kassia-sec, kassia-ftp, kassia-volatile + #hosts: kassia-sec, kassia-ftp, kassia-volatile + hosts: kassia-ftp, kassia-volatile # keyserver on kaufmann - @@ -1830,7 +1864,8 @@ services: - name: network service - ftp check: check_ftp - hosts: kassia-sec, kassia-ftp + #hosts: kassia-sec, kassia-ftp + hosts: kassia-ftp depends: kassia:process - xinetd #### @@ -1884,6 +1919,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 @@ -1986,27 +2026,30 @@ 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: DNS SOA sync - security.geo.debian.org - check: "dsa_check_soas!security.geo.debian.org" + name: mirror sync - snapshot + 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 + retry_check_interval: 5 - name: DNS SOA sync - debian.org check: "dsa_check_soas_add!draghi.debian.org!debian.org" @@ -2050,12 +2093,12 @@ services: - name: DNS SEC - signature expiry hosts: global - remotecheck: "/usr/lib/nagios/plugins/dsa-check-zone-rrsig-expiration-many --warn 20d --critical 7d /var/cache/bind/git/domains" + remotecheck: "/usr/lib/nagios/plugins/dsa-check-zone-rrsig-expiration-many --warn 20d --critical 7d --geozonedir /srv/dns.debian.org/geo/zones /srv/dns.debian.org/var/gitdns/domains" runfrom: draghi - name: DNS SEC - delegations hosts: global - remotecheck: "/usr/lib/nagios/plugins/dsa-check-dnssec-delegation --dir /var/cache/bind/git/domains check-header" + remotecheck: "/usr/lib/nagios/plugins/dsa-check-dnssec-delegation --dir /srv/dns.debian.org/var/gitdns/domains --dir /srv/dns.debian.org/geo/zones check-header" runfrom: draghi ############