X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=nagios-master.cfg;h=6f30e08089b5876f8b1358759ad89c82e54a1c33;hb=26f881563deb390a3b7a8920c355e48f130f981b;hp=84aee7af6714af1b038352a279dc3e15737f9ccd;hpb=063416ad2f1266ff08315c54e851ef73423e5af8;p=mirror%2Fdsa-nagios.git diff --git a/nagios-master.cfg b/nagios-master.cfg index 84aee7a..6f30e08 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -5,7 +5,6 @@ # vim:set syntax=yaml: # TODO -# - raff: identd, hpasmd # - spohr: hpasmd # - *: mailq # - *: check munin stats collection works @@ -17,7 +16,6 @@ # down: # - sarti -# - goedel # - leisner --- @@ -151,6 +149,14 @@ servers: address: 78.32.9.209 parents: gw-HP-ftc hostgroups: routing-infrastructure + gw-cst: + address: 213.188.99.215 + parents: gw-HP-ftc + hostgroups: routing-infrastructure + gw-isc: + address: 149.20.20.1 + parents: gw-HP-ftc + hostgroups: routing-infrastructure global: hostgroups: notacomputer @@ -159,70 +165,70 @@ servers: samosa: address: 192.25.206.57 - hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim + hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny raff: address: 192.25.206.59 parents: samosa - hostgroups: computers, no-udev, service, dl380, apache2-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, lenny, puppet gluck: address: 192.25.206.10 parents: samosa - hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts + hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet merkel: address: 192.25.206.16 parents: samosa - hostgroups: computers, general, apache1-hosts, apache2-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, lenny, puppet spohr: address: 192.25.206.33 parents: samosa - hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server + hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server, lenny, puppet peri: address: 192.25.206.15 parents: samosa - hostgroups: computers, buildd, sw-raid, single-cpu + hostgroups: computers, buildd, sw-raid, hasbootfs, lenny contacts: dannf penalosa: address: 192.25.206.68 parents: samosa - hostgroups: computers, buildd, sw-raid, single-cpu + hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, lenny, puppet contacts: dannf mundy: address: 192.25.206.62 parents: samosa - hostgroups: computers, no-udev, buildd + hostgroups: computers, buildd, lenny, puppet paer: address: 192.25.206.11 parents: samosa - hostgroups: computers, porterbox, bind9-hosts, single-cpu + hostgroups: computers, porterbox, lenny, hasbootfs merulo: address: 192.25.206.58 parents: samosa - hostgroups: computers, no-udev, porterbox + hostgroups: computers, porterbox, lenny, puppet bartok: address: 82.195.75.91 parents: gw-man-da - hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385, bind9-hosts + hostgroups: computers, service, dl385, bind9-hosts, lenny, puppet contacts: joerg, bzed morales: address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, porterbox, single-cpu + hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs contacts: bzed sperger: address: 82.195.75.98 parents: gw-man-da - hostgroups: computers, porterbox, sw-raid + hostgroups: computers, porterbox, sw-raid, hasbootfs, lenny contacts: bzed agricola: address: 82.195.75.86 parents: gw-man-da - hostgroups: computers, porterbox, sw-raid, single-cpu, lenny, no-samhain + hostgroups: computers, porterbox, sw-raid, single-cpu, lenny contacts: bzed arcadelt: address: 82.195.75.87 parents: gw-man-da - hostgroups: computers, buildd, sw-raid, single-cpu, lenny, no-samhain + hostgroups: computers, buildd, sw-raid, single-cpu, lenny contacts: bzed liszt: address: 82.195.75.100 @@ -234,37 +240,45 @@ servers: # parents: gw-man-da # hostgroups: computers, no-udev, buildd, sw-raid # contacts: bzed + unger: + address: 82.195.75.102 + parents: gw-man-da + hostgroups: computers, service, dl360, rsyslog-hosts, acpid-hosts, lenny + handel: + address: 82.195.75.104 + parents: unger + hostgroups: computers, service, rsyslog-hosts, acpid-hosts, lenny, hasbootfs, puppet master: address: 70.103.162.29 parents: gw-brainfood - hostgroups: computers, no-udev, general, apache2-hosts, bind9-hosts, heavy-exim, highload + hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-exim, highload, lenny murphy: address: 70.103.162.31 parents: gw-brainfood - hostgroups: computers, general, postfix-hosts, dl380, acpid-hosts + hostgroups: computers, general, postfix-hosts, dl380, acpid-hosts, lenny ries: address: 128.148.34.103 parents: gw-brown.edu - hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts, heavy-exim, acpid-hosts + hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres83-hosts, heavy-exim, acpid-hosts, lenny, puppet mayer: address: 140.211.166.78 parents: gw-osuosl - hostgroups: computers, no-udev, buildd + hostgroups: computers, no-udev, buildd, hasbootfs mayr: address: 140.211.166.58 parents: gw-osuosl - hostgroups: computers, no-udev, buildd + hostgroups: computers, no-udev, buildd, hasbootfs malo: address: 140.211.166.27 parents: gw-osuosl - hostgroups: computers, buildd, tftpd-hosts + hostgroups: computers, buildd, lenny rietz: address: 140.211.166.43 parents: gw-osuosl - hostgroups: computers, no-udev, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-exim, highload + hostgroups: computers, no-udev, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-exim, highload, hasbootfs rietz2: address: 140.211.166.44 parents: rietz @@ -273,35 +287,41 @@ servers: villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380 + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380 + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny steffani: address: 128.31.0.36 parents: gw-mit-csail - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts, hasbootfs, lenny mahler: address: 128.31.0.46 parents: gw-mit-csail - hostgroups: computers, single-cpu, lenny, porterbox, rsyslog-hosts + hostgroups: computers, single-cpu, lenny, porterbox, rsyslog-hosts, no-samhain klecker: address: 194.109.137.218 parents: gw-xs4all - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts, heavy-exim + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres83-hosts, heavy-exim saens: address: 128.101.240.212 parents: gw-umn.edu - hostgroups: computers, no-udev, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, heavy-exim + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny argento: - address: 195.49.152.174 + address: 93.94.130.160 parents: gw-dg-i.net - hostgroups: computers, buildd, sw-raid, single-cpu, lenny, no-samhain + hostgroups: computers, buildd, sw-raid, single-cpu, lenny + contacts: bzed + + widor: + address: 93.94.130.161 + parents: gw-dg-i.net + hostgroups: computers, apache2-hosts, sw-raid, single-cpu, lenny, puppet, rsyslog-hosts, acpid-hosts contacts: bzed pergolesi: @@ -311,7 +331,7 @@ servers: bruckner: address: 62.104.23.253 parents: gw-freenet - hostgroups: computers, no-udev, porterbox, single-cpu + hostgroups: computers, no-udev, porterbox, single-cpu, no-samhain raptor: address: 195.243.109.162 @@ -322,18 +342,18 @@ servers: address: 193.62.202.27 parents: gw-sanger # SMP kernel doesn't run stable - hostgroups: computers, porterbox, sw-raid, single-cpu + hostgroups: computers, porterbox, sw-raid, single-cpu, hasbootfs, lenny, puppet contacts: tjrc1 goetz: address: 193.62.202.26 parents: gw-sanger # SMP kernel doesn't run stable - hostgroups: computers, buildd, sw-raid, single-cpu + hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs contacts: tjrc1 smetana: address: 193.62.202.29 parents: gw-sanger - hostgroups: computers, porterbox, sw-raid + hostgroups: computers, porterbox, sw-raid, lenny contacts: tjrc1 verdi: @@ -350,27 +370,27 @@ servers: puccini: address: 87.106.4.56 parents: gw-1und1 - hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts + hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts, puppet contacts: joerg powell: address: 87.106.64.223 parents: gw-1und1 - hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts + hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny contacts: joerg schumann: address: 212.227.126.54 parents: gw-1und1-karlsruhe - hostgroups: computers, acpid-hosts, ulogd-hosts + hostgroups: computers, acpid-hosts, ulogd-hosts, lenny wieck: address: 195.20.242.89 parents: gw-1und1-karlsruhe - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, ulogd-hosts + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, ulogd-hosts, lenny caballero: address: 193.201.200.200 parents: gw-blackcat - hostgroups: computers, no-udev, buildd, sw-raid, bind9-hosts + hostgroups: computers, no-udev, buildd, sw-raid, lenny, puppet elara: address: 67.210.160.90 @@ -394,12 +414,12 @@ servers: pescetti: address: 217.114.76.85 parents: gw-nmmn - hostgroups: computers, porterbox, single-cpu, smart + hostgroups: computers, porterbox, single-cpu, smart, lenny, puppet kassia: address: 130.89.149.224 parents: gw-utwente - hostgroups: computers, service, postfix-hosts, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl360, acpid-hosts, ulogd-hosts + hostgroups: computers, service, postfix-hosts, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl360, acpid-hosts, ulogd-hosts, lenny kassia-sec: address: 130.89.149.225 parents: kassia @@ -416,7 +436,7 @@ servers: allegri: address: 157.193.39.233 parents: gw-HP-ftc - hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny, no-samhain + hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny contacts: luk agnesi: @@ -427,12 +447,12 @@ servers: spontini: address: 137.82.84.65 parents: gw-ubc - hostgroups: computers, buildd + hostgroups: computers, buildd, hasbootfs, lenny, puppet contacts: lfilipoz ravel: address: 137.82.84.66 parents: gw-ubc - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts, hasbootfs, lenny, puppet lebrun: address: 193.198.184.10 @@ -441,34 +461,48 @@ servers: schroeder: address: 193.198.184.11 parents: gw-carnet - hostgroups: computers, buildd, sw-raid + hostgroups: computers, buildd, sw-raid, hasbootfs, lenny tartini: address: 82.94.249.158 parents: gw-telegraaf - hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts + hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs piatti: address: 193.167.161.225 parents: gw-helsinki - hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts, lenny + hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts, lenny, hasbootfs contacts: holger rem: address: 195.71.99.217 parents: gw-telefonica - hostgroups: computers, buildd + hostgroups: computers, buildd, hasbootfs, lenny ball: address: 78.32.9.213 parents: gw-ball - hostgroups: computers, buildd, no-udev, dialup + hostgroups: computers, buildd, no-udev, dialup, hasbootfs, lenny zelenka: address: 80.245.147.40 parents: gw-HP-ftc hostgroups: computers, porterbox, lenny + escher: + address: 213.188.99.215 + parents: gw-cst + hostgroups: computers, single-cpu, hasbootfs + goedel: + address: 213.188.99.214 + parents: gw-cst + hostgroups: computers, single-cpu, hasbootfs, lenny + + 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 + ############################# # host groups # @@ -511,6 +545,11 @@ hostgroups: extinfo-icon_image: base/debian.png extinfo-icon_image_alt: Debian GNU/Linux extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s + puppet: + alias: Hosts running puppet + extinfo-icon_image: base/debian.png + extinfo-icon_image_alt: Debian GNU/Linux + extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s dl380: alias: HP DL380 hosts @@ -536,9 +575,9 @@ hostgroups: alias: hosts not running samhain properly private: 1 - syslog-ng-hosts: - alias: hosts running syslog-ng instead of sysklogd - private: 1 + #syslog-ng-hosts: + # alias: hosts running syslog-ng instead of sysklogd + # private: 1 rsyslog-hosts: alias: hosts running rsyslogd instead of sysklogd private: 1 @@ -566,9 +605,9 @@ hostgroups: ftpd-hosts: alias: hosts running vsftpd private: 1 - tftpd-hosts: - alias: hosts running a tftpd (tftpd-hpa as a daemon) - private: 1 + #tftpd-hosts: + # alias: hosts running a tftpd (tftpd-hpa as a daemon) + # private: 1 rsyncd-hosts: alias: hosts providing rsync services via xinetd private: 1 @@ -609,6 +648,9 @@ hostgroups: smart: alias: hosts with smartd private: 1 + hasbootfs: + alias: hosts with a /boot + private: 1 ############################# @@ -661,7 +703,7 @@ services: - name: disk usage - all servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95" + nrpe: "/usr/lib/nagios/plugins/check_disk -X devpts -X proc 90 95" hostgroups: computers - name: disk usage on / @@ -678,17 +720,17 @@ 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, goetz, mayer, mayr, paer, spontini, tartini, morales, ravel, schroeder, piatti, rem, ball + hostgroups: hasbootfs - 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, lebrun, tartini, morales, powell + hosts: bartok, samosa, raff, lobos, villa, gluck, saens, voltaire, lebrun, tartini, morales, powell, escher - 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, spontini, ravel, mahler, schroeder, piatti, pescetti + hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, spontini, ravel, mahler, schroeder, piatti, pescetti, widor, schein - name: disk usage on /org servicegroups: diskspace @@ -708,7 +750,7 @@ services: name: disk usage on /tmp servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp" - hosts: samosa, raff, gluck, saens, puccini, merkel, tartini, powell, piatti + hosts: samosa, raff, gluck, saens, puccini, merkel, tartini, powell, piatti, escher - name: disk usage on /usr servicegroups: diskspace @@ -718,7 +760,7 @@ services: name: disk usage on /home servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home" - hosts: raptor, voltaire, lebrun, rem, ball + hosts: raptor, voltaire, lebrun, rem, ball, paer, escher - name: disk usage on /home servicegroups: diskspace @@ -779,6 +821,17 @@ services: normal_check_interval: 180 retry_check_interval: 5 + #### + - + name: process - puppet + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C ruby -a 'ruby /usr/sbin/puppetd -w 5 --factsync'" + hostgroups: puppet + + - + name: puppet + nrpe: "/usr/lib/nagios/plugins/dsa-check-puppet" + hostgroups: puppet + #### - name: process - samhain @@ -788,7 +841,7 @@ services: - name: samhain servicegroups: samhain - nrpe: "/usr/lib/nagios/plugins/dsa-check-samhain -t 45" + nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/samhain" hostgroups: computers excludehostgroups: no-samhain depends: process - samhain @@ -960,10 +1013,10 @@ services: hostgroups: computers ### - - - name: process - syslog-ng - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" - hostgroups: syslog-ng-hosts + # - + # name: process - syslog-ng + # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" + # hostgroups: syslog-ng-hosts ### - name: process - rsyslogd @@ -974,12 +1027,12 @@ services: name: process - syslogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'" hostgroups: computers - excludehostgroups: syslog-ng-hosts, rsyslog-hosts + excludehostgroups: rsyslog-hosts - name: process - klogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'" hostgroups: computers - excludehostgroups: syslog-ng-hosts, rsyslog-hosts + excludehostgroups: rsyslog-hosts ### MAIL STUFF ### @@ -988,17 +1041,17 @@ 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 - excludehosts: master, rietz, merkel + excludehosts: master, rietz, merkel, gluck - name: process - exim - total nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4" hostgroups: computers excludehostgroups: postfix-hosts - excludehosts: master, rietz, merkel + excludehosts: master, rietz, merkel, gluck - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'" - hosts: master, rietz, merkel + hosts: master, rietz, merkel, gluck ### - name: process - clamav - clamd @@ -1304,7 +1357,6 @@ services: name: unwanted process - snmpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" hostgroups: computers - excludehosts: lobos, villa ############ Processes/Services that only run on some computers ############ @@ -1314,12 +1366,6 @@ 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'" hostgroups: dl385 - ### - - - name: process - sensord - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'" - hosts: bartok - ### - name: process - mdadm monitor @@ -1580,31 +1626,19 @@ 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 + excludehosts: piatti, klecker - - name: process - postresql83 - master + name: process - postresql83 - master udd 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'" - hostgroups: postgres83-hosts - depends: process - postresql83 - master - - - name: process - postresql83 - wal writer - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: wal writer process'" - hostgroups: postgres83-hosts - depends: process - postresql83 - master - - - name: process - postresql83 - autovacuum launcher - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: autovacuum launcher process'" - hostgroups: postgres83-hosts - depends: process - postresql83 - master + name: process - postresql83 - dak 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/dak -c config_file=/etc/postgresql/8.3/dak/postgresql.conf'" + hosts: ries, klecker - - name: process - postresql83 - stats collector - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: stats collector process'" - hostgroups: postgres83-hosts - depends: process - postresql83 - master + name: process - postresql83 - dak-dev 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/dak-dev -c config_file=/etc/postgresql/8.3/dak-dev/postgresql.conf'" + hosts: ries #### - name: process - mysql - master @@ -1624,7 +1658,7 @@ 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.conf'" - hosts: merkel + hosts: merkel, master #### #- @@ -1641,11 +1675,10 @@ services: # hosts: piatti # #### - # XXX is this needed? - - name: process - snmpd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u snmp -C snmpd -a '/usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'" - hosts: lobos, villa + name: process - libvirtd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C libvirtd -a '/usr/sbin/libvirtd -d'" + hosts: unger ### - @@ -1662,20 +1695,15 @@ services: hosts: raptor ### - - - name: process - tftpd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C in.tftpd -a '/usr/sbin/in.tftpd -l -B 1450 -s /var/lib/tftpboot'" - hostgroups: tftpd-hosts - ### - - - name: process - dhcpd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'" - hosts: paer + #- + # name: process - tftpd + # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C in.tftpd -a '/usr/sbin/in.tftpd -l -B 1450 -s /var/lib/tftpboot'" + # hostgroups: tftpd-hosts ### - - - name: process - monit - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C monit -a '/usr/sbin/monit -d 30 -c /etc/monit/monitrc -s /var/lib/monit/monit.state'" - hosts: villa, lobos, steffani, kassia, master +# - +# name: process - dhcpd +# nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'" +# hosts: paer ### - name: process - smartd