X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=config%2Fnagios-master.cfg;h=1874d67249608de42e09a834054dc2067026c1a7;hb=91f6553ca6464cc0a41bdb3d7a868bab15c72299;hp=41c427704aefc8a9207345fe08cee33f687a9f70;hpb=644c4ca2651153778bfbd62877c54b558a238f1c;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 41c4277..1874d67 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -154,7 +154,7 @@ servers: pkgmirror-1and1: address: 213.165.95.4 parents: powell - hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, no-bacula babin: address: 213.165.95.6 parents: powell @@ -165,7 +165,7 @@ servers: address: 212.227.126.54 parents: gw-ubcece #parents: gw-1und1-sec - hostgroups: computers, acpid-hosts, service, wheezy, bacula-client + hostgroups: computers, acpid-hosts, service, wheezy chopin: address: 195.20.242.124 parents: schumann @@ -173,16 +173,16 @@ servers: geo3: address: 195.20.242.125 parents: schumann - hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, wheezy, bacula-client + hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, wheezy soler: address: 195.20.242.126 parents: schumann - hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains, apache2-hosts, wheezy, apache-https, bacula-client + hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains, apache2-hosts, wheezy, apache-https wieck: address: 195.20.242.89 parents: gw-ubcece #parents: gw-1und1-sec - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, wheezy, security_mirror, hasvarlogfs + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, wheezy, security_mirror, hasvarlogfs, no-bacula # }}} # {{{ gw-accumu pettersson: @@ -214,7 +214,7 @@ servers: arne: address: 217.140.96.61 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, wheezy, deadslow + hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy, deadslow arnold: address: 217.140.96.57 parents: gw-arm @@ -295,7 +295,7 @@ servers: senfter: address: 5.153.231.4 parents: gw-bytemark - hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, no-bacula adayevskaya: address: 5.153.231.5 parents: gw-bytemark @@ -327,7 +327,7 @@ servers: santoro: address: 200.17.202.197 parents: gw-c3sl - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, xinetd-hosts, hassrvfs, wheezy, high-RTT, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, xinetd-hosts, hassrvfs, wheezy, high-RTT, security_mirror, no-bacula contacts: faw # }}} # {{{ gw-carnet @@ -344,7 +344,7 @@ servers: gluck: address: 150.203.164.38 parents: gw-cecsit - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hassrvfs, acpid-hosts, xinetd-hosts, wheezy, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hassrvfs, acpid-hosts, xinetd-hosts, wheezy, security_mirror, no-bacula # }}} # {{{ gw-conova sompek: @@ -364,7 +364,7 @@ servers: steffani: address: 128.31.0.36 parents: gw-csail - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, sw-raid, acpid-hosts, hasbootfs, hasorgfs, xinetd-hosts, wheezy, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, sw-raid, acpid-hosts, hasbootfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula # }}} # {{{ gw-dgi argento: @@ -388,7 +388,7 @@ servers: spohr: address: 192.25.206.33 parents: gw-ftcollins - hostgroups: computers, service, dl380, apache2-hosts, wheezy + hostgroups: computers, service, dl380, apache2-hosts, wheezy, no-bacula # }}} # {{{ gw-grnet barber: @@ -418,13 +418,13 @@ servers: vitry: address: 194.177.211.206 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid, buildd, wheezy + hostgroups: computers, acpid-hosts, mptraid, no-bacula, wheezy # }}} # {{{ gw-isc schein: address: 149.20.20.6 parents: gw-isc - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, dl360, hasorgfs, xinetd-hosts, wheezy, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, dl360, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula # }}} # {{{ gw-karlsruhe zemlinsky: @@ -464,7 +464,7 @@ servers: master: address: 82.195.75.110 parents: ganeti3 - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, bacula-client, spamd, heavy-exim, highload + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, spamd, heavy-exim, highload fils: address: 82.195.75.89 parents: ganeti3 @@ -482,7 +482,7 @@ servers: lully: address: 82.195.75.99 parents: ganeti3 - hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hasvarlogfs, bacula-client + hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hasvarlogfs rem: address: 82.195.75.68 parents: gw-man-da @@ -494,11 +494,11 @@ servers: diamond: address: 82.195.75.108 parents: ganeti3 - hostgroups: computers, service, kvmdomains, wheezy, bind9-hosts + hostgroups: computers, service, kvmdomains, wheezy, bind9-hosts, no-bacula draghi: address: 82.195.75.106 parents: ganeti3 - hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, kvmdomains, xinetd-hosts, apache-https, wheezy, bacula-client + hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, kvmdomains, xinetd-hosts, apache-https, wheezy geo1: address: 82.195.75.105 parents: ganeti3 @@ -518,7 +518,7 @@ servers: wilder: address: 82.195.75.112 parents: ganeti3 - hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache2-hosts, apache-https, bacula-client, rsyncd-hosts, xinetd-hosts + hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache2-hosts, apache-https, rsyncd-hosts, xinetd-hosts vieuxtemps: address: 82.195.75.113 parents: ganeti3 @@ -538,7 +538,7 @@ servers: busoni: address: 140.211.15.34 parents: gw-osuosl - hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, wheezy, hasvarlogfs, apache2-hosts + hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, wheezy, hasvarlogfs, apache2-hosts, no-bacula byrd: address: 140.211.166.20 parents: gw-osuosl @@ -563,7 +563,7 @@ servers: partch: address: 140.211.15.152 parents: gw-osuosl - hostgroups: computers, wheezy, hassrvfs + hostgroups: computers, wheezy, hassrvfs, porterbox rietz: address: 140.211.166.43 parents: gw-osuosl @@ -597,17 +597,17 @@ servers: lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula # }}} # {{{ gw-sil beethoven: address: 86.59.118.146 parents: gw-sil - hostgroups: computers, hasbootfs, aacraid, service, acpid-hosts, wheezy, bacula-client + hostgroups: computers, hasbootfs, aacraid, service, acpid-hosts, wheezy eder: address: 86.59.118.151 parents: gw-sil @@ -707,11 +707,11 @@ servers: dinis: address: 206.12.19.139 parents: ganeti2 - hostgroups: computers, general, kvmdomains, wheezy, bacula-client + hostgroups: computers, general, kvmdomains, wheezy wolkenstein: address: 206.12.19.116 parents: ganeti2 - hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, rsyncd-hosts, apache2-hosts, wheezy, bacula-client + hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, rsyncd-hosts, apache2-hosts, wheezy brahms: address: 206.12.19.115 parents: ganeti2 @@ -829,7 +829,7 @@ servers: berlioz: address: 206.12.19.131 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs, apache-https, bacula-client + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs, apache-https gombert: address: 206.12.19.132 parents: ganeti2 @@ -849,11 +849,11 @@ servers: diabelli: address: 206.12.19.136 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, apache2-hosts, apache-https, bacula-client + hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, apache2-hosts, apache-https bizet: address: 206.12.19.137 parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, no-bacula lilburn: address: 206.12.19.138 parents: ganeti2 @@ -865,7 +865,7 @@ servers: beach: address: 206.12.19.140 parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, xinetd-hosts, hassrvfs, nfs-server, rsyncd-hosts + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, xinetd-hosts, hassrvfs, nfs-server, rsyncd-hosts, no-bacula ullmann: address: 206.12.19.141 parents: ganeti2 @@ -885,7 +885,7 @@ servers: stanley: address: 206.12.19.145 parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, no-bacula muffat: address: 206.12.19.146 parents: ganeti2 @@ -902,7 +902,7 @@ servers: saens: address: 128.101.240.212 parents: gw-umn - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula # }}} # {{{ gw-utwente klecker: @@ -1112,9 +1112,9 @@ hostgroups: apache-https: alias: hosts with https services private: 1 - - bacula-client: - alias: hosts which are backuped with bacula + + no-bacula: + alias: hosts which are not being backed up with bacula private: 1 nfs-client: @@ -1417,7 +1417,8 @@ services: servicegroups: backup remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula $HOSTNAME$.debian.org" runfrom: dinis - hostgroups: bacula-client + hostgroups: computers + excludehostgroups: buildd, porterbox, no-bacula normal_check_interval: 60 retry_check_interval: 15 - @@ -1425,7 +1426,8 @@ services: servicegroups: backup remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula -w 840 -c 1560 $HOSTNAME$.debian.org F" runfrom: dinis - hostgroups: bacula-client + hostgroups: computers + excludehostgroups: buildd, porterbox, no-bacula normal_check_interval: 60 retry_check_interval: 15 - @@ -1889,7 +1891,7 @@ services: - name: unwanted process - openvpn nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C openvpn" - hosts: computers + hostgroups: computers normal_check_interval: 120 @@ -1929,6 +1931,13 @@ services: hostgroups: computers excludehosts: wagner, vasks normal_check_interval: 60 + - + name: setup - local hostname etc-hosts + nrpe: 'if getent ahosts `hostname` | grep -q 127.0; then echo "Warning: local hostname resolves to 127/8 address"; exit 1; else echo "OK: Hostname resolves to non-127/8 address."; exit 1; fi' + #hostgroups: computers + hosts: bm-bl7 + excludehosts: wagner, vasks + normal_check_interval: 60 - name: setup - ud-ldap freshness nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"