X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=nagios-master.cfg;h=af16d24a6755581d96ec6ee8db9b9385c576c864;hb=a01b0515a0ac0a9beeef6b13fe6b89ae5ffba4a1;hp=25d68546a7156527cc480ea26dcb46ed79ecabad;hpb=8be50968407c5a5450119088237bd1e79dee7257;p=mirror%2Fdsa-nagios.git diff --git a/nagios-master.cfg b/nagios-master.cfg index 25d6854..af16d24 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -126,7 +126,7 @@ servers: parents: gw-HP-ftc hostgroups: routing-infrastructure gw-ubc: - address: 137.82.84.41 + address: 137.82.84.94 parents: gw-HP-ftc hostgroups: routing-infrastructure contacts: lfilipoz @@ -152,13 +152,18 @@ servers: parents: gw-HP-ftc hostgroups: routing-infrastructure + global: + hostgroups: notacomputer + pingable: false + check_command: dsa_check_always_ok + samosa: address: 192.25.206.57 hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim raff: address: 192.25.206.59 parents: samosa - hostgroups: computers, no-udev, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client + hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client gluck: address: 192.25.206.10 parents: samosa @@ -166,7 +171,7 @@ servers: merkel: address: 192.25.206.16 parents: samosa - hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim, nfs-client, ulogd-hosts + hostgroups: computers, general, apache1-hosts, apache2-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim, nfs-client, ulogd-hosts spohr: address: 192.25.206.33 parents: samosa @@ -306,7 +311,7 @@ servers: bruckner: address: 62.104.23.253 parents: gw-freenet - hostgroups: computers, no-udev, porterbox, single-cpu, deadslow + hostgroups: computers, no-udev, porterbox, single-cpu raptor: address: 195.243.109.162 @@ -420,14 +425,14 @@ servers: hostgroups: deadslow spontini: - address: 137.82.84.42 + address: 137.82.84.65 parents: gw-ubc hostgroups: computers, buildd contacts: lfilipoz ravel: - address: 137.82.84.43 + address: 137.82.84.66 parents: gw-ubc - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts lebrun: address: 193.198.184.10 @@ -446,7 +451,7 @@ servers: piatti: address: 193.167.161.225 parents: gw-helsinki - hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts + hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts, lenny contacts: holger rem: @@ -459,6 +464,11 @@ servers: parents: gw-ball hostgroups: computers, buildd, no-udev, dialup + zelenka: + address: 80.245.147.40 + parents: gw-HP-ftc + hostgroups: computers, porterbox + ############################# # host groups # @@ -473,6 +483,9 @@ hostgroups: alias: Internet routers and friends extinfo-icon_image: base/switch40.png extinfo-icon_image_alt: router + notacomputer: + alias: Systems that are not really systems. Yeah :) + private: 1 deadslow: alias: Systems too slow to run any real checks dialup: @@ -627,7 +640,7 @@ services: - name: PING check: "check_ping!300.0,20%!600.0,40%" - hostgroups: all + hostgroups: pingable excludehostgroups: routing-infrastructure, dialup normal_check_interval: 5 max_check_attempts: 4 @@ -685,7 +698,7 @@ services: name: disk usage on /srv servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv" - hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini + hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini, zelenka - name: disk usage on /org/scratch servicegroups: diskspace @@ -873,7 +886,7 @@ services: normal_check_interval: 360 - name: "network service - sshd - version" - check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-4" + check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5" depends: network service - sshd hostgroups: lenny normal_check_interval: 360 @@ -920,18 +933,18 @@ services: # etch: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ntp -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'" nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'" hostgroups: computers - excludehosts: raptor + excludehosts: raptor, zelenka - name: network service - ntp check: check_ntp hostgroups: computers depends: process - ntpd - excludehosts: raptor, allegri + excludehosts: raptor, allegri, zelenka # - name: network service - time check: dsa_check_time - hosts: raptor, allegri + hosts: raptor, allegri, zelenka depends: process - xinetd ### @@ -1388,7 +1401,7 @@ services: ### - name: process - acpid - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'" hostgroups: acpid-hosts - name: unexpected process - acpid @@ -1400,13 +1413,13 @@ services: - name: process - xinetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'" - hosts: samosa, raptor, allegri, gluck + hosts: samosa, raptor, allegri, gluck, zelenka hostgroups: rsyncd-hosts - name: unwanted process - xinetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd" hostgroups: computers - excludehosts: samosa, raptor, allegri, gluck + excludehosts: samosa, raptor, allegri, gluck, zelenka excludehostgroups: rsyncd-hosts ### - @@ -1482,7 +1495,7 @@ services: name: network service - http keyserver check: dsa_check_http_port!11371 hosts: raff - depends: process - apache - master + depends: process - apache2 - master - name: network service - https @@ -1566,6 +1579,11 @@ services: name: process - postresql83 - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'" hostgroups: postgres83-hosts + excludehosts: piatti + - + name: process - postresql83 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'" + hosts: piatti - name: process - postresql83 - writer nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'" @@ -1597,6 +1615,16 @@ services: hostgroups: mysql-hosts depends: process - mysql - master + #### + - + name: process - stunnel4 - postgres-udd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd-server.conf'" + hosts: piatti + - + name: process - stunnel4 - postgres-udd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd.conf'" + hosts: merkel + #### #- # name: process - xenconsoled @@ -1624,6 +1652,7 @@ services: servicegroups: buildd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'" hostgroups: buildd + contacts: luk ### - @@ -1684,3 +1713,46 @@ services: name: nfs mount ftp archive nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp" hosts: merkel, raff + + ############ MISC OTHER Stuff ############ + ##### + - + name: mirror sync - security + check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org" + hosts: global + - + name: mirror sync - security.eu + check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org" + hosts: global + - + name: mirror sync - security.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