X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=07214e52c477d65cea8bd401b02c1eefdaf91d08;hb=444d80979ec4c7c5c2edc2ee25f942e45506161a;hp=77b50ddfea4c9cda60bbd15e6f12ae59dc75a97e;hpb=5235cc77db9b32fcf56e7e000366835d1b9d749b;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 77b50dd..07214e5 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -195,14 +195,14 @@ servers: address: 192.25.206.59 parents: gw-HP-ftc hostgroups: computers, service, dl380, hassrvfs, acpid-hosts, squeeze - merkel: - address: 192.25.206.16 - parents: gw-HP-ftc - hostgroups: computers, general, apache2-hosts, rsyncd-hosts, sw-raid, postgres83-hosts, heavy-exim, nfs-client, xinetd-hosts, lenny - merkel2: - address: 192.25.206.71 - parents: merkel - hostgroups: secondary-IPs +# merkel: +# address: 192.25.206.16 +# parents: gw-HP-ftc +# hostgroups: computers, general, apache2-hosts, rsyncd-hosts, sw-raid, postgres83-hosts, heavy-exim, nfs-client, xinetd-hosts, lenny +# merkel2: +# address: 192.25.206.71 +# parents: merkel +# hostgroups: secondary-IPs spohr: address: 192.25.206.33 parents: gw-HP-ftc @@ -282,14 +282,18 @@ servers: address: 82.195.75.107 parents: unger hostgroups: computers, service, hasbootfs, apache2-hosts, rsyncd-hosts, kvmdomains, xinetd-hosts, squeeze + diamond: + address: 82.195.75.108 + parents: unger + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, bind9-hosts ball: address: 82.195.75.70 parents: gw-man-da - hostgroups: computers, buildd, hasbootfs, lenny + hostgroups: computers, buildd, hasbootfs, squeeze kokkonen: address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, service, acpid-hosts, heavy-exim, mail-relay, apache2-hosts, lenny + hostgroups: computers, service, acpid-hosts, heavy-exim, mail-relay, apache2-hosts, squeeze byrd: address: 82.195.75.92 parents: unger @@ -302,7 +306,7 @@ servers: master: address: 70.103.162.29 parents: gw-brainfood - hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, unbound-hosts, lenny + hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, unbound-hosts, squeeze murphy: address: 70.103.162.31 parents: gw-brainfood @@ -339,7 +343,7 @@ servers: busoni: address: 140.211.15.34 parents: gw-osuosl - hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres84-hosts, lenny + hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres84-hosts, squeeze zee: address: 140.211.166.16 parents: gw-osuosl @@ -352,16 +356,16 @@ servers: lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, lenny + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, squeeze gluck: address: 150.203.164.38 parents: gw-anu - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, no-udev, hassrvfs, acpid-hosts, xinetd-hosts, lenny + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hassrvfs, acpid-hosts, xinetd-hosts, squeeze steffani: address: 128.31.0.36 parents: gw-mit-csail - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, acpid-hosts, hasbootfs, hasorgfs, xinetd-hosts, lenny + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, acpid-hosts, hasbootfs, hasorgfs, xinetd-hosts, squeeze #mahler: # address: 128.31.0.46 # parents: gw-mit-csail @@ -369,11 +373,11 @@ servers: rore: address: 128.31.0.49 parents: gw-mit-csail - hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, apache2-hosts, lenny + hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, apache2-hosts, squeeze senfl: address: 128.31.0.51 parents: gw-mit-csail - hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, apache2-hosts, rsyncd-hosts, bind9-hosts, xinetd-hosts, lenny + hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, apache2-hosts, rsyncd-hosts, bind9-hosts, xinetd-hosts, squeeze #carver: # address: 128.31.0.50 # parents: gw-mit-csail @@ -387,7 +391,7 @@ servers: saens: address: 128.101.240.212 parents: gw-umn.edu - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, lenny + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, squeeze argento: address: 93.94.130.160 @@ -404,7 +408,7 @@ servers: pergolesi: address: 62.104.23.252 parents: gw-freenet - hostgroups: computers, porterbox, sw-raid, hasusrfs, hasorgfs, lenny + hostgroups: computers, porterbox, sw-raid, hasusrfs, hasorgfs, squeeze albeniz: address: 193.62.202.27 @@ -444,7 +448,7 @@ servers: schumann: address: 212.227.126.54 parents: gw-1und1-karlsruhe - hostgroups: computers, acpid-hosts, service, lenny + hostgroups: computers, acpid-hosts, service, squeeze wieck: address: 195.20.242.89 parents: gw-1und1-karlsruhe @@ -460,7 +464,7 @@ servers: soler: address: 195.20.242.126 parents: schumann - hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains, apache2-hosts, lenny + hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains, apache2-hosts, squeeze caballero: address: 193.201.200.200 @@ -470,7 +474,7 @@ servers: pescetti: address: 217.114.76.85 parents: gw-nmmn - hostgroups: computers, porterbox, smart, hasorgfs, lenny + hostgroups: computers, porterbox, smart, hasorgfs, squeeze kassia: address: 130.89.149.224 @@ -503,12 +507,12 @@ servers: spontini: address: 206.12.19.14 parents: gw-ubc - hostgroups: computers, buildd, hasbootfs, hassrvfs, sparc, lenny + hostgroups: computers, buildd, hasbootfs, hassrvfs, sparc, lenny, squeeze contacts: lfilipoz ravel: address: 206.12.19.5 parents: tchaikovsky - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-server, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim, xinetd-hosts, lenny + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-server, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim, xinetd-hosts, squeeze dijkstra: address: 206.12.19.218 parents: tchaikovsky @@ -535,7 +539,7 @@ servers: duarte: address: 206.12.19.114 parents: dijkstra - hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains, service, squeeze + hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains, service, squeeze, nfs-server valente: address: 206.12.19.112 parents: dijkstra @@ -547,11 +551,11 @@ servers: morricone: address: 206.12.19.9 parents: tchaikovsky - hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres90-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service, squeeze + hostgroups: computers, hasbootfs, hasvarfs, hassrvfs, aacraid, postgres90-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service, squeeze stabile: address: 206.12.19.13 parents: gw-ubc - hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, postgres90-hosts, apache2-hosts, xinetd-hosts, service, nfs-server, lenny + hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, postgres90-hosts, apache2-hosts, xinetd-hosts, service, nfs-server, squeeze paganini: address: 206.12.19.10 parents: tchaikovsky @@ -559,7 +563,7 @@ servers: respighi: address: 206.12.19.11 parents: gw-ubc - hostgroups: computers, hasbootfs, aacraid, hassrvfs, service, apache2-hosts, lenny + hostgroups: computers, hasbootfs, aacraid, hassrvfs, service, apache2-hosts, squeeze vivaldi: address: 206.12.19.12 parents: tchaikovsky @@ -632,6 +636,10 @@ servers: address: 206.12.19.125 parents: luchesi hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, postgres84-hosts + glinka: + address: 206.12.19.126 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, xinetd-hosts lebrun: address: 193.198.184.10 @@ -661,7 +669,7 @@ servers: zelenka: address: 80.245.147.40 parents: gw-HP-ftc - hostgroups: computers, porterbox, hassrvfs, xinetd-hosts, lenny + hostgroups: computers, porterbox, hassrvfs, xinetd-hosts, squeeze zandonai: address: 80.245.147.46 parents: gw-HP-ftc @@ -680,11 +688,11 @@ servers: praetorius: address: 130.239.18.121 parents: gw-aca - hostgroups: computers, buildd, hassrvfs, lenny + hostgroups: computers, buildd, hassrvfs, squeeze pettersson: address: 130.239.18.123 parents: gw-aca - hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, lenny + hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, squeeze # lafayette: # address: 147.215.7.160 @@ -694,7 +702,7 @@ servers: grieg: address: 194.177.211.200 parents: gw-grnet - hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts, service, apache-https, lenny + hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts, service, apache-https, squeeze rautavaara: address: 194.177.211.199 parents: gw-grnet @@ -707,7 +715,7 @@ servers: holter: address: 194.177.211.202 parents: gw-grnet - hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid, service, lenny + hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid, service, squeeze barber: address: 194.177.211.203 parents: gw-grnet @@ -735,7 +743,7 @@ servers: orff: address: 194.177.211.209 parents: gw-grnet - hostgroups: computers, acpid-hosts, bind9-hosts, mptraid, service, hassrvfs, apache2-hosts, lenny + hostgroups: computers, acpid-hosts, bind9-hosts, mptraid, service, hassrvfs, apache2-hosts, squeeze field: address: 194.177.211.210 parents: rautavaara @@ -945,9 +953,6 @@ hostgroups: mysql-hosts: alias: hosts running mysql private: 1 - no-udev: - alias: hosts not using udev - private: 1 no-ulogd: alias: hosts not running ulogd private: 1 @@ -1095,11 +1100,11 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" hostgroups: hasorgfs - - - name: disk usage on /org - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org" - hosts: merkel +# - +# name: disk usage on /org +# servicegroups: diskspace +# nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org" +# hosts: merkel - name: disk usage on /srv servicegroups: diskspace @@ -1111,16 +1116,16 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv" hosts: ries - - - name: disk usage on /org/scratch - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch" - hosts: merkel +# - +# name: disk usage on /org/scratch +# servicegroups: diskspace +# nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch" +# hosts: merkel - name: disk usage on /tmp servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp" - hosts: saens, merkel, tartini, powell, piatti + hosts: saens, tartini, powell, piatti - name: disk usage on /usr servicegroups: diskspace @@ -1483,7 +1488,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" hostgroups: computers excludehostgroups: postfix-hosts, mail-relay - excludehosts: master, busoni, merkel, quantz + excludehosts: master, busoni, quantz - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" @@ -1493,11 +1498,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4" hostgroups: computers excludehostgroups: postfix-hosts - excludehosts: master, busoni, merkel, quantz + excludehosts: master, busoni, quantz - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'" - hosts: master, busoni, merkel, quantz + hosts: master, busoni, quantz - name: mail queue nrpe: "/usr/lib/nagios/plugins/check_mailq -M exim -w 1000 -c 2000" @@ -1725,6 +1730,12 @@ services: name: setup - ud-ldap freshness nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness" hostgroups: computers + - + name: system - available entropy + nrpe: "/usr/lib/nagios/plugins/dsa-check-entropy" + event_handler: dsa_event_handler_restart_ekey + hostgroups: computers + excludehostgroups: freebsd ### - name: local resolver @@ -1903,6 +1914,12 @@ services: name: process - slapd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:50 -u openldap -C slapd -a '/usr/sbin/slapd -h ldap:/// ldaps:/// -g openldap -u openldap'" hosts: draghi + - + name: network service - ldaps cert + check: dsa_check_cert!636 + depends: process - slapd + normal_check_interval: 60 + hosts: draghi ### - name: process - ulogd @@ -1919,11 +1936,11 @@ services: name: process - udevd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C udevd -a 'udevd'" hostgroups: computers - excludehostgroups: no-udev, freebsd + excludehostgroups: freebsd - name: unexpected process - udev nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd" - hostgroups: no-udev, freebsd + hostgroups: freebsd ### - name: process - acpid @@ -2168,12 +2185,19 @@ services: #### - 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'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd-server.conf'" hosts: samosa - name: udd stunnel - master cert nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45" hosts: samosa + #### + #### + - + name: process - stunnel4 - puppet-ekeyd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/puppet-ekeyd.conf'" + hostgroups: squeeze + excludehosts: fano, fasch, field, finzi #### - name: process - krb - kdc @@ -2291,10 +2315,10 @@ services: hostgroups: nfs-server # see if the nfs stuff works and doesn't hang. # the df check all script will also hang, but we don't appear to pay attention to that - - - name: nfs mount ftp archive - nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp" - hosts: merkel +# - +# name: nfs mount ftp archive +# nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp" +# hosts: merkel - name: nfs mount ftp archive nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /srv/ftp.debian.org/ftp"