X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=nagios-master.cfg;h=71ec0626a4095edd2afd3ca36b9144d021ffeed4;hb=5fc93977d9df38ff3ecf9edcd64babcd8d1f4fac;hp=6d2584f09479e4db8880630ee15bec27281e5d9c;hpb=72ad1365e935f9c9c4d2c5cd586a8e91374b3b10;p=mirror%2Fdsa-nagios.git diff --git a/nagios-master.cfg b/nagios-master.cfg index 6d2584f..71ec062 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -126,7 +126,7 @@ servers: parents: gw-HP-ftc hostgroups: routing-infrastructure gw-ubc: - address: 137.82.84.41 + address: 137.82.84.94 parents: gw-HP-ftc hostgroups: routing-infrastructure contacts: lfilipoz @@ -163,7 +163,7 @@ servers: raff: address: 192.25.206.59 parents: samosa - hostgroups: computers, no-udev, service, dl380, apache1-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 gluck: address: 192.25.206.10 parents: samosa @@ -171,7 +171,7 @@ servers: merkel: address: 192.25.206.16 parents: samosa - hostgroups: computers, general, apache1-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 spohr: address: 192.25.206.33 parents: samosa @@ -193,7 +193,7 @@ servers: paer: address: 192.25.206.11 parents: samosa - hostgroups: computers, porterbox, bind9-hosts, single-cpu + hostgroups: computers, porterbox, lenny, rsyslog-hosts merulo: address: 192.25.206.58 parents: samosa @@ -207,7 +207,7 @@ servers: morales: address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, porterbox, single-cpu + hostgroups: computers, porterbox, single-cpu, no-samhain contacts: bzed sperger: address: 82.195.75.98 @@ -425,14 +425,14 @@ servers: hostgroups: deadslow spontini: - address: 137.82.84.42 + address: 137.82.84.65 parents: gw-ubc hostgroups: computers, buildd contacts: lfilipoz ravel: - address: 137.82.84.43 + address: 137.82.84.66 parents: gw-ubc - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts lebrun: address: 193.198.184.10 @@ -451,7 +451,7 @@ servers: piatti: address: 193.167.161.225 parents: gw-helsinki - hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts + hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts, lenny contacts: holger rem: @@ -464,6 +464,11 @@ servers: parents: gw-ball hostgroups: computers, buildd, no-udev, dialup + zelenka: + address: 80.245.147.40 + parents: gw-HP-ftc + hostgroups: computers, porterbox, lenny + ############################# # host groups # @@ -693,7 +698,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 + hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini, zelenka - name: disk usage on /org/scratch servicegroups: diskspace @@ -713,7 +718,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 - name: disk usage on /home servicegroups: diskspace @@ -835,6 +840,7 @@ services: name: process - getty nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty" hostgroups: computers + excludehosts: zelenka #### - name: process - sshd @@ -881,7 +887,7 @@ services: normal_check_interval: 360 - name: "network service - sshd - version" - check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-4" + check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5" depends: network service - sshd hostgroups: lenny normal_check_interval: 360 @@ -928,18 +934,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 + excludehosts: raptor, zelenka - name: network service - ntp check: check_ntp hostgroups: computers depends: process - ntpd - excludehosts: raptor, allegri + excludehosts: raptor, allegri, zelenka # - name: network service - time check: dsa_check_time - hosts: raptor, allegri + hosts: raptor, allegri, zelenka depends: process - xinetd ### @@ -1396,7 +1402,7 @@ services: ### - name: process - acpid - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'" hostgroups: acpid-hosts - name: unexpected process - acpid @@ -1408,13 +1414,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 + hosts: samosa, raptor, allegri, gluck, zelenka 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 + excludehosts: samosa, raptor, allegri, gluck, zelenka excludehostgroups: rsyncd-hosts ### - @@ -1490,7 +1496,7 @@ services: name: network service - http keyserver check: dsa_check_http_port!11371 hosts: raff - depends: process - apache - master + depends: process - apache2 - master - name: network service - https @@ -1574,6 +1580,11 @@ 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 + - + 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/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'" @@ -1605,6 +1616,16 @@ services: hostgroups: mysql-hosts depends: process - mysql - master + #### + - + 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'" + hosts: piatti + - + 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 + #### #- # name: process - xenconsoled @@ -1632,6 +1653,7 @@ services: servicegroups: buildd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'" hostgroups: buildd + contacts: luk ### - @@ -1645,10 +1667,10 @@ services: 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 - 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 - monit @@ -1696,15 +1718,15 @@ services: ############ MISC OTHER Stuff ############ ##### - - name: mirror sync + name: mirror sync - security check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org" hosts: global - - name: mirror sync - eu + name: mirror sync - security.eu check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org" hosts: global - - name: mirror sync - us + name: mirror sync - security.us check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org" hosts: global -