X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=7ffb684be61f612fadc768e523b1071859efa315;hb=29f3a5c58c5627ae516445c771cf5a604794efa8;hp=230bf36c9b2bb9cd46061c328a4c0c0edb14120a;hpb=9c043216a62a8f800c5e7c904118eb3115925652;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 230bf36..7ffb684 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -197,15 +197,15 @@ servers: check_command: dsa_check_always_ok vasks: - address: 217.196.43.132 + address: 217.196.43.140 parents: gw-telegraaf2 - hostgroups: computers + hostgroups: computers, nfs-server, postgres84-hosts, apache2-hosts, acpid-hosts, apache-https, brokensamhain contact_groups: alioth-admins wagner: - address: 217.196.43.140 + address: 217.196.43.132 parents: gw-telegraaf2 - hostgroups: computers, nfs-client, postgres84-hosts, inetd-hosts, apache2-hosts, acpid-hosts + hostgroups: computers, bind9-hosts, apache2-hosts, nfs-client, xinetd-hosts, postgres90-hosts, apache-https, dl385, brokensamhain contact_groups: alioth-admins samosa: @@ -241,7 +241,7 @@ servers: mundy: address: 192.25.206.62 parents: gw-HP-ftc - hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, lenny + hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, squeeze, brokensamhain paer: address: 192.25.206.11 parents: gw-HP-ftc @@ -253,7 +253,7 @@ servers: alkman: address: 192.25.206.63 parents: gw-HP-ftc - hostgroups: computers, buildd, acpid-hosts, squeeze + hostgroups: computers, buildd, acpid-hosts, squeeze, brokensamhain sperger: address: 82.195.75.34 @@ -278,7 +278,7 @@ servers: heininen: address: 82.195.75.98 parents: gw-man-da - hostgroups: computers, acpid-hosts, service, squeeze + hostgroups: computers, acpid-hosts, service, squeeze, megactl nielsen: address: 82.195.75.99 parents: gw-man-da @@ -355,7 +355,7 @@ servers: rietz: address: 140.211.166.43 parents: gw-osuosl - hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, hasvicepa, squeeze + hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, hasvicepa, squeeze, apache2-hosts #, bosserver rietz2: address: 140.211.166.44 @@ -669,6 +669,14 @@ servers: address: 206.12.19.129 parents: traetta hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, autofs, hassrvfs + elgar: + address: 206.12.19.130 + parents: salieri + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + berlioz: + address: 206.12.19.131 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs lebrun: address: 193.198.184.10 @@ -702,7 +710,7 @@ servers: zandonai: address: 80.245.147.46 parents: gw-zivit - hostgroups: computers, buildd, hassrvfs, squeeze + hostgroups: computers, buildd, hassrvfs, squeeze, brokensamhain goedel: address: 213.188.99.214 @@ -786,7 +794,7 @@ servers: merikanto: address: 86.59.118.147 parents: gw-sil - hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay, squeeze, autofs + hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay, squeeze, autofs, apache2-hosts merikanto2: address: 86.59.118.150 parents: merikanto @@ -794,12 +802,12 @@ servers: englund: address: 86.59.118.148 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs + hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs, megactl # which raid? lindberg: address: 86.59.118.149 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze + hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, megactl # which raid? abel: @@ -813,7 +821,7 @@ servers: alain: address: 217.140.96.58 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze alwyn: address: 217.140.96.59 parents: gw-arm @@ -910,6 +918,9 @@ hostgroups: aacraid: alias: Hosts with Adaptec AACraid private: 1 + megactl: + alias: Hosts with LSI Logic MegaRAID, but not usable with megaraid check + private: 1 megaraid: alias: Hosts with LSI Logic MegaRAID private: 1 @@ -1054,6 +1065,10 @@ hostgroups: alias: "hosts who's ntp offset is often unknown" private: 1 + brokensamhain: + alias: machines that can not run samhain + private: 1 + ############################# # servicegroups ############################# @@ -1231,14 +1246,24 @@ services: nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-89" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-abf + name: disk usage on /srv/farm-snapshot/farm-ab servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-abf" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-ab" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-cde + name: disk usage on /srv/farm-snapshot/farm-cd servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cde" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cd" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-f + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-f" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-e + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-e" hosts: sibelius - name: disk usage on /srv/fossology.debian.net @@ -1334,6 +1359,7 @@ services: name: puppet nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -i 540 -f /var/lib/puppet/state/state.yaml" hostgroups: computers + excludehosts: wagner, vasks #### - @@ -1354,7 +1380,7 @@ services: name: process - samhain nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'" hostgroups: computers - excludehosts: vasks, wagner + excludehostgroups: brokensamhain - name: samhain servicegroups: samhain @@ -1363,7 +1389,7 @@ services: depends: process - samhain normal_check_interval: 60 retry_check_interval: 5 - excludehosts: vasks, wagner + excludehostgroups: brokensamhain #### - @@ -1440,6 +1466,7 @@ services: servicegroups: weaksshkeys nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys" hostgroups: computers + excludehosts: wagner, vasks normal_check_interval: 60 #### - @@ -1553,34 +1580,39 @@ services: name: process - clamav - clamd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'" hostgroups: heavy-exim, heavy-postfix + hosts: wagner - name: service - clamav nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl" hostgroups: heavy-exim, heavy-postfix + hosts: wagner depends: process - clamav - clamd - 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'" + hosts: wagner hostgroups: heavy-exim, heavy-postfix - name: unwanted process - clamav nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd" hostgroups: computers excludehostgroups: heavy-exim, heavy-postfix + excludehosts: wagner - name: unwanted process - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam" hostgroups: computers excludehostgroups: heavy-exim, heavy-postfix + excludehosts: wagner - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" hostgroups: spamd - excludehosts: powell + excludehosts: powell, wagner - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" - hosts: powell + hosts: powell, wagner - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" @@ -1588,7 +1620,7 @@ services: - name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'" - hosts: liszt + hosts: liszt, wagner hostgroups: spamd depends: process - spamd - master # @@ -1606,7 +1638,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers excludehostgroups: spamd - excludehosts: liszt, busoni + excludehosts: liszt, busoni, wagner ### #- @@ -1770,6 +1802,7 @@ services: - name: setup - ud-ldap freshness nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness" + excludehosts: wagner, vasks hostgroups: computers - name: system - available entropy @@ -1830,7 +1863,7 @@ services: name: unwanted process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd" hostgroups: computers - excludehosts: grieg, byrd, abel, alwyn + excludehosts: grieg, byrd, abel, alwyn, vasks - name: unwanted process - snmpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" @@ -1873,6 +1906,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'" hostgroups: dl385, dl380, dl360, bl460, dl585 excludehostgroups: squeeze + excludehosts: wagner - name: RAID - arrayprobe servicegroups: raid @@ -1962,6 +1996,12 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt" hostgroups: mptraid + ### + - + name: RAID - megactl + servicegroups: raid + nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl" + hostgroups: megactl ### - name: process - slapd @@ -2016,7 +2056,7 @@ services: - name: process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C inetd -a '/usr/sbin/inetd'" - hosts: grieg, byrd + hosts: grieg, byrd, vasks ### - name: process - xinetd @@ -2293,6 +2333,10 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-ups" hosts: franck depends: process - UPS - nut upsd + - + name: process - pglistener + nrpe: "/usr/lib/nagios/plugins/check_procs -u pglisten -C python -a '/usr/bin/python /usr/share/pglistener/starter.py /etc/pglistener/pglistener.cfg /etc/pglistener/conf.d' -w 1: -c 1:" + hosts: wagner, vasks #### #-