X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=d01a087e2aa7e971f1b7fb3591d4483091c6aedb;hb=70788ce1dc0fc03640fe113ab2a2ee3c47fc57a1;hp=e0c258491df512d4f0b923f3eddbddc3761ee2ab;hpb=ac58e55c91a35f25b8cebfc37e110a2336389492;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index e0c2584..d01a087 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -72,10 +72,6 @@ servers: address: 62.104.23.249 parents: gw-HP-ftc hostgroups: routing-infrastructure - gw-topalis: - address: 195.243.109.254 - parents: gw-HP-ftc - hostgroups: routing-infrastructure gw-sanger: address: 193.62.202.18 parents: gw-HP-ftc @@ -160,6 +156,14 @@ servers: address: 130.239.18.97 parents: gw-HP-ftc hostgroups: routing-infrastructure + gw-esiee: + address: 147.215.2.249 + parents: gw-HP-ftc + hostgroups: routing-infrastructure + gw-ghent: + address: 193.191.17.50 + parents: gw-HP-ftc + hostgroups: routing-infrastructure global: hostgroups: notacomputer @@ -169,15 +173,15 @@ servers: samosa: address: 192.25.206.57 parents: spohr - hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny, puppet + hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny, puppet, hasvarfs, hasusrfs raff: address: 192.25.206.59 parents: spohr - hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, puppet + hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, puppet, hasvarfs, hasusrfs gluck: address: 192.25.206.10 parents: spohr - hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet + hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet, hasvarfs, hasusrfs merkel: address: 192.25.206.16 parents: spohr @@ -210,17 +214,17 @@ servers: merulo: address: 192.25.206.58 parents: spohr - hostgroups: computers, porterbox, lenny, puppet + hostgroups: computers, porterbox, lenny, puppet, hasusrfs bartok: address: 82.195.75.91 parents: gw-man-da - hostgroups: computers, service, dl385, bind9-hosts, lenny, puppet + hostgroups: computers, service, dl385, bind9-hosts, lenny, puppet, hasvarfs contacts: joerg, bzed morales: address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs + hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs, hassrvfs, lenny, puppet, hasvarfs, hasusrfs contacts: bzed sperger: address: 82.195.75.98 @@ -230,12 +234,12 @@ servers: agricola: address: 82.195.75.86 parents: gw-man-da - hostgroups: computers, porterbox, sw-raid, single-cpu, lenny, puppet + hostgroups: computers, porterbox, sw-raid, single-cpu, lenny, puppet, hassrvfs contacts: bzed arcadelt: address: 82.195.75.87 parents: gw-man-da - hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet + hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet, hassrvfs contacts: bzed liszt: address: 82.195.75.100 @@ -299,11 +303,11 @@ servers: villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet, hasvarfs, hasusrfs lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet, hasvarfs, hasusrfs steffani: address: 128.31.0.36 @@ -313,6 +317,14 @@ servers: address: 128.31.0.46 parents: gw-mit-csail hostgroups: computers, single-cpu, lenny, porterbox, rsyslog-hosts, puppet + rore: + address: 128.31.0.49 + parents: gw-mit-csail + hostgroups: computers, service, rsyslog-hosts, lenny, puppet, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts + carver: + address: 128.31.0.50 + parents: gw-mit-csail + hostgroups: computers, service, rsyslog-hosts, lenny, puppet, dl380, acpid-hosts, hassrvfs, ulogd-hosts klecker: address: 194.109.137.218 @@ -322,12 +334,12 @@ servers: saens: address: 128.101.240.212 parents: gw-umn.edu - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, puppet, hasvarfs, hasusrfs argento: address: 93.94.130.160 parents: gw-dg-i.net - hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet + hostgroups: computers, buildd, sw-raid, single-cpu, lenny, puppet, hassrvfs contacts: bzed widor: @@ -339,12 +351,7 @@ servers: pergolesi: address: 62.104.23.252 parents: gw-freenet - hostgroups: computers, porterbox, sw-raid, lenny, puppet - - raptor: - address: 195.243.109.162 - parents: gw-topalis - hostgroups: computers, porterbox, postfix-hosts, lenny + hostgroups: computers, porterbox, sw-raid, lenny, puppet, hasusrfs albeniz: address: 193.62.202.27 @@ -372,18 +379,18 @@ servers: voltaire: address: 72.66.115.54 parents: gw-frost - hostgroups: computers, buildd, puppet, lenny + hostgroups: computers, buildd, puppet, lenny, hasvarfs contacts: sfrost puccini: address: 87.106.4.56 parents: gw-1und1 - hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts, puppet + hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts, puppet, hassrvfs contacts: joerg powell: address: 87.106.64.223 parents: gw-1und1 - hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, puppet + hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny, puppet, hassrvfs, hasvarfs, hasusrfs contacts: joerg schumann: @@ -397,7 +404,11 @@ servers: chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, ulogd-hosts, lenny, puppet, rsyslog-hosts + hostgroups: computers, ulogd-hosts, lenny, puppet, rsyslog-hosts, hassrvfs + geo3: + address: 195.20.242.125 + parents: schumann + hostgroups: computers, service, lenny, hasbootfs, puppet, rsyslog-hosts, single-cpu caballero: address: 193.201.200.200 @@ -413,16 +424,6 @@ servers: parents: gw-xandros hostgroups: deadslow - kullervo: - address: 217.114.76.82 - parents: gw-nmmn - hostgroups: deadslow - contacts: luk - crest: - address: 217.114.76.83 - parents: gw-nmmn - hostgroups: deadslow - contacts: luk pescetti: address: 217.114.76.85 parents: gw-nmmn @@ -447,8 +448,13 @@ servers: allegri: address: 157.193.39.233 - parents: gw-HP-ftc - hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny, puppet + parents: gw-ghent + hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny, puppet, hassrvfs + contacts: luk + ancina: + address: 157.193.39.13 + parents: gw-ghent + hostgroups: computers, buildd, single-cpu, lenny, puppet, hassrvfs, hasbootfs, incomingmailrelayed2025 contacts: luk agnesi: @@ -472,7 +478,11 @@ servers: brahms: address: 137.82.84.74 parents: dijkstra - hostgroups: computers, lenny, puppet, buildd, hasbootfs + hostgroups: computers, lenny, puppet, buildd, hasbootfs, hassrvfs + geo2: + address: 137.82.84.71 + parents: dijkstra + hostgroups: computers, service, lenny, hasbootfs, puppet, rsyslog-hosts, single-cpu lebrun: address: 193.198.184.10 @@ -486,7 +496,7 @@ servers: tartini: address: 82.94.249.158 parents: gw-telegraaf - hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs + hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, ulogd-hosts, lenny, puppet, hasvarfs, hasusrfs piatti: address: 193.167.161.225 @@ -507,12 +517,12 @@ servers: zelenka: address: 80.245.147.40 parents: gw-HP-ftc - hostgroups: computers, porterbox, lenny, puppet + hostgroups: computers, porterbox, lenny, puppet, hassrvfs escher: address: 213.188.99.215 parents: gw-cst - hostgroups: computers, single-cpu, hasbootfs + hostgroups: computers, single-cpu, hasbootfs, hasvarfs goedel: address: 213.188.99.214 parents: gw-cst @@ -521,13 +531,18 @@ servers: schein: address: 149.20.20.6 parents: gw-isc - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, lenny, rsyslog-hosts, puppet, dl360 + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, lenny, rsyslog-hosts, puppet, dl360, bind9-hosts praetorius: address: 130.239.18.121 parents: gw-aca hostgroups: computers, buildd, rsyslog-hosts, lenny, puppet + lafayette: + address: 147.215.7.160 + parents: gw-esiee + hostgroups: computers, buildd, lenny, puppet, sw-raid, hassrvfs, hasbootfs, incomingmailrelayed + ############################# # host groups # @@ -677,9 +692,26 @@ hostgroups: alias: hosts with smartd private: 1 hasbootfs: - alias: hosts with a /boot + alias: hosts with a /boot filesystem + private: 1 + hassrvfs: + alias: hosts with a /srv filesystem + private: 1 + hasvarfs: + alias: hosts with a /var filesystem + private: 1 + hasusrfs: + alias: hosts with a /usr filesystem private: 1 + incomingmailrelayed: + alias: incoming mail needs to go through a mail relay + # i.e. no port 25 + private: 1 + incomingmailrelayed2025: + alias: incoming mail needs to go through a mail relay + # i.e. no port 25 + private: 1 ############################# # servicegroups @@ -753,7 +785,7 @@ services: name: disk usage on /var servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var" - hosts: bartok, samosa, raff, lobos, villa, gluck, saens, voltaire, tartini, morales, powell, escher + hostgroups: hasvarfs - name: disk usage on /org servicegroups: diskspace @@ -768,7 +800,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, zelenka, chopin + hostgroups: hassrvfs - name: disk usage on /org/scratch servicegroups: diskspace @@ -783,22 +815,17 @@ services: name: disk usage on /usr servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr" - hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, merulo, tartini, morales, powell + hostgroups: hasusrfs - name: disk usage on /home servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home" - hosts: raptor, voltaire, rem, ball, paer, escher + hosts: voltaire, rem, ball, paer, escher - name: disk usage on /home servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home" hosts: gluck - - - name: disk usage on /chroot - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot" - hosts: raptor - name: disk usage on /mnt/hdc servicegroups: diskspace @@ -906,6 +933,11 @@ services: name: processes - total nrpe: "/usr/lib/nagios/plugins/check_procs 620 700" hostgroups: computers + excludehosts: liszt + - + name: processes - total + nrpe: "/usr/lib/nagios/plugins/check_procs 800 1000" + hosts: liszt #### - name: swap usage - percent @@ -957,15 +989,8 @@ services: check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch3" depends: network service - sshd hostgroups: computers, deadslow - excludehosts: crest, kullervo excludehostgroups: lenny normal_check_interval: 60 - - - name: "network service - sshd - version" - check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1" - depends: network service - sshd - hosts: crest, kullervo - normal_check_interval: 60 - name: "network service - sshd - version" check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5" @@ -1016,18 +1041,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, zelenka + excludehosts: zelenka - name: network service - ntp check: dsa_check_ntp hostgroups: computers depends: process - ntpd - excludehosts: raptor, allegri, zelenka + excludehosts: allegri, zelenka, ancina # - name: network service - time check: dsa_check_time - hosts: raptor, allegri, zelenka + hosts: allegri, zelenka, ancina depends: process - xinetd ### @@ -1295,15 +1320,25 @@ services: name: network service - smtp check: dsa_check_smtp hostgroups: computers - excludehostgroups: postfix-hosts + excludehostgroups: postfix-hosts, incomingmailrelayed, incomingmailrelayed2025 depends: process - exim - name: network service - smtp check: dsa_check_smtp hostgroups: postfix-hosts - excludehosts: verdi, kassia, allegri, raptor, piatti + excludehosts: verdi, kassia, allegri, piatti depends: process - postfix - master + - + name: network service - submission + check: dsa_check_smtp_port!587 + hostgroups: incomingmailrelayed + depends: process - exim + - + name: network service - smtp 2025 + check: dsa_check_smtp_port!2025 + hostgroups: incomingmailrelayed2025 + depends: process - exim - name: network service - smtp - port 2025 check: dsa_check_smtp_port!2025 @@ -1314,13 +1349,6 @@ services: check: dsa_check_smtp_port!8080 hosts: murphy depends: process - postfix - master - - - name: network service - smtp - port 2025 - remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025 - runfrom: murphy - hosts: raptor - depends: process - postfix - master - - name: network service local - smtps cert nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45" @@ -1407,6 +1435,12 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw" hostgroups: sw-raid + ### + - + name: process - monit + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -d 300 -c /etc/monit/monitrc -s /var/lib/monit/monit.state'" + hostgroups: lenny + excludehosts: agnesi ### - name: process - cpqarrayd @@ -1489,13 +1523,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, zelenka + hosts: samosa, allegri, gluck, zelenka, ancina 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, zelenka + excludehosts: samosa, allegri, gluck, zelenka, ancina excludehostgroups: rsyncd-hosts ### - @@ -1730,12 +1764,6 @@ services: hostgroups: buildd contacts: luk - ### - - - name: process - iscsid - nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'" - hosts: raptor - ### #- # name: process - tftpd