X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=nagios-master.cfg;h=a4e83d3399b05587877af220a1e452034a8b3f7e;hb=bafe766e556a9839f0f5bb6cce8f4c9fc1c9f47c;hp=b7f31d19e02caf986922a3fafae89c28de8c1669;hpb=0a96a722f6153c179f5fdbbcc21e59bad396371d;p=mirror%2Fdsa-nagios.git diff --git a/nagios-master.cfg b/nagios-master.cfg index b7f31d1..a4e83d3 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -18,11 +18,9 @@ # - lebrun: ippl # down: -# - ravel # - sarti # - goedel # - leisner -# - schulz --- ############################# @@ -193,7 +191,7 @@ 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 @@ -220,6 +218,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 @@ -268,7 +271,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 @@ -383,6 +386,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 @@ -392,7 +399,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 @@ -494,6 +501,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" @@ -569,7 +579,7 @@ services: 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, morales + hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer, spontini, tartini, morales, ravel, auber - name: disk usage on /var servicegroups: diskspace @@ -579,7 +589,7 @@ services: name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" - hosts: 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 @@ -589,7 +599,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 + hosts: agricola, arcadelt, argento, allegri, tartini, morales, auber - name: disk usage on /org/scratch servicegroups: diskspace @@ -643,7 +653,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 @@ -753,7 +764,7 @@ services: 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.7p1 Debian-12" depends: network service - sshd hostgroups: lenny normal_check_interval: 360 @@ -874,6 +885,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 @@ -885,6 +900,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 @@ -1194,6 +1214,7 @@ services: name: HW - hpacucli status servicegroups: raid nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" + normal_check_interval: 120 hostgroups: dl385, dl380, dl360 ### - @@ -1376,6 +1397,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 #### -