X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=nagios-master.cfg;h=67a67bee281debc2d4db3cebbc4c21daada057ca;hb=4335a4dad35ecd7792d0f06ed184b3a3f398e6a0;hp=5b22d6628e4c091b80734180362eda8738bc27e1;hpb=45cd1e7637fbc6fc4e6499d837698d77076d1b95;p=mirror%2Fdsa-nagios.git diff --git a/nagios-master.cfg b/nagios-master.cfg index 5b22d66..67a67be 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -18,11 +18,9 @@ # - lebrun: ippl # down: -# - ravel # - sarti # - goedel # - leisner -# - schulz --- ############################# @@ -88,10 +86,6 @@ servers: parents: gw-HP-ftc hostgroups: routing-infrastructure contacts: tjrc1 - gw-cst: - address: 213.188.99.215 - parents: gw-HP-ftc - hostgroups: routing-infrastructure gw-lrz: address: 129.187.0.150 parents: gw-HP-ftc @@ -193,8 +187,13 @@ servers: bartok: address: 82.195.75.91 parents: gw-man-da - hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385 + hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385, bind9-hosts contacts: joerg, bzed + morales: + address: 82.195.75.97 + parents: gw-man-da + hostgroups: computers, porterbox, single-cpu + contacts: bzed sperger: address: 82.195.75.98 parents: gw-man-da @@ -215,6 +214,11 @@ servers: parents: gw-man-da hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts, dl385 contacts: bzed + auber: + address: 82.195.75.101 + parents: gw-man-da + hostgroups: computers, buildd, sw-raid + contacts: bzed master: address: 70.103.162.29 @@ -263,7 +267,7 @@ servers: steffani: address: 128.31.0.36 parents: gw-mit-csail - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts casals: address: 128.31.0.16 parents: gw-mit-csail @@ -310,11 +314,6 @@ servers: hostgroups: computers, buildd, sw-raid contacts: tjrc1 - escher: - address: 213.188.99.215 - parents: gw-cst - hostgroups: computers, porterbox, single-cpu - verdi: address: 192.54.42.193 parents: gw-lrz @@ -378,6 +377,10 @@ servers: parents: gw-ubc hostgroups: computers, buildd contacts: lfilipoz + ravel: + address: 137.82.84.43 + parents: gw-ubc + hostgroups: computers, general, dl385, apache2-hosts lebrun: address: 161.53.160.165 @@ -387,7 +390,7 @@ servers: tartini: address: 82.94.249.158 parents: gw-telegraaf - hostgroups: computers, sw-raid + hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts piatti: address: 193.167.161.225 @@ -489,6 +492,9 @@ hostgroups: postgres81-hosts: alias: hosts running postgres81 private: 1 + mysql-hosts: + alias: hosts running mysql + private: 1 highload: alias: "hosts on which high load is normal" @@ -554,31 +560,37 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers + excludehosts: ries + - + name: disk usage on / + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /" + hosts: ries - name: disk usage on /boot servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot" - hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer, spontini, tartini + hosts: sperger, rietz, steffani, penalosa, peri, albeniz, goetz, mayer, mayr, paer, spontini, tartini, morales, ravel, auber - 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, escher, voltaire, puccini, lebrun, tartini + hosts: bartok, samosa, raff, lobos, villa, gluck, saens, voltaire, puccini, lebrun, tartini, morales - name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" - hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini, spontini + hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini, spontini, ravel - name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org" - hosts: merkel + hosts: merkel, bartok - name: disk usage on /srv servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv" - hosts: agricola, arcadelt, argento, allegri, tartini + hosts: agricola, arcadelt, argento, allegri, tartini, morales, auber - name: disk usage on /org/scratch servicegroups: diskspace @@ -588,17 +600,17 @@ services: name: disk usage on /tmp servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp" - hosts: samosa, raff, gluck, saens, escher, puccini, merkel, tartini + hosts: samosa, raff, gluck, saens, puccini, merkel, tartini - 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, puccini, merulo, tartini + hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, puccini, merulo, tartini, morales - name: disk usage on /home servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home" - hosts: raptor, escher, voltaire, lebrun + hosts: raptor, voltaire, lebrun - name: disk usage on /home servicegroups: diskspace @@ -632,7 +644,8 @@ services: servicegroups: apt nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt" hostgroups: computers - normal_check_interval: 360 + normal_check_interval: 60 + retry_check_interval: 15 #### - name: backup @@ -731,12 +744,18 @@ services: check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2" depends: network service - sshd hostgroups: computers, deadslow - excludehosts: agnesi + excludehosts: agnesi, crest, kullervo excludehostgroups: lenny normal_check_interval: 360 - name: "network service - sshd - version" - check: "dsa_check_ssh_port_version!22!OpenSSH_4.7p1 Debian-9" + check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1" + depends: network service - sshd + hosts: crest, kullervo + normal_check_interval: 360 + - + name: "network service - sshd - version" + check: "dsa_check_ssh_port_version!22!OpenSSH_4.7p1 Debian-12" depends: network service - sshd hostgroups: lenny normal_check_interval: 360 @@ -857,6 +876,10 @@ services: name: process - clamav - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'" hostgroups: heavy-exim, heavy-postfix + - + name: process - clamav - getsigs + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'" + hostgroups: heavy-exim, heavy-postfix # - name: unwanted process - clamav @@ -868,6 +891,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam" hostgroups: computers excludehostgroups: heavy-exim, heavy-postfix + - + name: unwanted process - clamav - getsigs + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs" + hostgroups: computers + excludehostgroups: heavy-exim, heavy-postfix ### - name: process - spamd - master @@ -1143,7 +1171,7 @@ services: - name: process - rngd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'" - hosts: bartok + hostgroups: dl385 ### - name: process - sensord @@ -1177,6 +1205,7 @@ services: name: HW - hpacucli status servicegroups: raid nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" + normal_check_interval: 120 hostgroups: dl385, dl380, dl360 ### - @@ -1200,13 +1229,13 @@ 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 -g openldap -u openldap'" + 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: samosa ### - name: process - udevd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'" - hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia, agricola, arcadelt, argento, allegri + hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, verdi, liszt, kassia, agricola, arcadelt, argento, allegri, morales, bartok ### - name: process - acpid @@ -1359,6 +1388,16 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'" hostgroups: postgres81-hosts depends: process - postresql81 - master + #### + - + name: process - mysql - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'" + hostgroups: mysql-hosts + - + name: process - mysql - workers + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld" + hostgroups: mysql-hosts + depends: process - mysql - master #### -