X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=0f9afc6054f3569e38fdd948023b9f5a2a4d9bc5;hb=1cb948cb26b70e039116b3682f29856145e9e253;hp=9c2bc57f2c13333ac364f63c4777a5598aac56fe;hpb=af07adc8d700be035dafe6ff24c832f37a500831;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 9c2bc57..0f9afc6 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -181,6 +181,10 @@ servers: address: 200.17.202.254 parents: gw-ubc hostgroups: routing-infrastructure + gw-zivit: + address: 80.245.144.3 + parents: gw-ubc + hostgroups: routing-infrastructure global: hostgroups: notacomputer @@ -190,7 +194,7 @@ servers: samosa: address: 192.25.206.57 parents: gw-HP-ftc - hostgroups: computers, service, dl380, hassrvfs, hasbootfs, acpid-hosts, nfs-client, postgres84-hosts, xinetd-hosts, apache2-hosts, squeeze + hostgroups: computers, service, dl380, hassrvfs, hasbootfs, acpid-hosts, nfs-client, postgres90-hosts, xinetd-hosts, apache2-hosts, squeeze raff: address: 192.25.206.59 parents: gw-HP-ftc @@ -269,7 +273,7 @@ servers: handel: address: 82.195.75.104 parents: unger - hostgroups: computers, service, hasbootfs, kvmdomains, apache2-hosts, lenny + hostgroups: computers, service, hasbootfs, kvmdomains, apache2-hosts, squeeze geo1: address: 82.195.75.105 parents: unger @@ -277,7 +281,7 @@ servers: draghi: address: 82.195.75.106 parents: unger - hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, kvmdomains, xinetd-hosts, apache-https, lenny + hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, kvmdomains, xinetd-hosts, apache-https, squeeze kaufmann: address: 82.195.75.107 parents: unger @@ -547,7 +551,7 @@ servers: bellini: address: 206.12.19.7 parents: gw-ubc - hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim, service, apache2-hosts, lenny + hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim, service, apache2-hosts, squeeze, autofs morricone: address: 206.12.19.9 parents: tchaikovsky @@ -559,7 +563,7 @@ servers: paganini: address: 206.12.19.10 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client, service, apache2-hosts, lenny + hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client, service, apache2-hosts, squeeze respighi: address: 206.12.19.11 parents: gw-ubc @@ -567,7 +571,7 @@ servers: vivaldi: address: 206.12.19.12 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service, apache-https, lenny + hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service, apache-https, lenny, autofs # MSA 2000 (2012i) giustini: address: 192.168.2.6 @@ -623,7 +627,7 @@ servers: quantz: address: 206.12.19.122 parents: salieri - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, postgres84-hosts, apache2-hosts + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, postgres84-hosts, apache2-hosts, autofs nono: address: 206.12.19.123 parents: salieri @@ -639,7 +643,7 @@ servers: glinka: address: 206.12.19.126 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, xinetd-hosts + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, xinetd-hosts, autofs lebrun: address: 193.198.184.10 @@ -668,12 +672,12 @@ servers: zelenka: address: 80.245.147.40 - parents: gw-HP-ftc - hostgroups: computers, porterbox, hassrvfs, xinetd-hosts, lenny + parents: gw-zivit + hostgroups: computers, porterbox, hassrvfs, squeeze zandonai: address: 80.245.147.46 - parents: gw-HP-ftc - hostgroups: computers, buildd, hassrvfs, lenny + parents: gw-zivit + hostgroups: computers, buildd, hassrvfs, squeeze goedel: address: 213.188.99.214 @@ -692,7 +696,7 @@ servers: pettersson: address: 130.239.18.123 parents: gw-aca - hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, squeeze + hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, squeeze, autofs # lafayette: # address: 147.215.7.160 @@ -757,7 +761,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 + hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay, squeeze, autofs merikanto2: address: 86.59.118.150 parents: merikanto @@ -801,11 +805,11 @@ servers: poulenc: address: 144.32.168.77 parents: gw-ynic - hostgroups: computers, buildd, sw-raid, hassrvfs, lenny + hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze porpora: address: 144.32.168.78 parents: gw-ynic - hostgroups: computers, buildd, sw-raid, hassrvfs, lenny + hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze santoro: address: 200.17.202.197 @@ -975,6 +979,9 @@ hostgroups: nfs-server: alias: hosts serving filesystems using NFS private: 1 + autofs: + alias: hosts running the automounter + private: 1 highload: alias: "hosts on which high load is normal" @@ -1438,19 +1445,18 @@ services: name: process - ntpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -p 1 -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'" hostgroups: computers - excludehosts: zelenka - name: network service - ntp check: dsa_check_ntp hostgroups: computers depends: process - ntpd - excludehosts: zelenka, ancina + excludehosts: ancina excludehostgroups: ntpsuckers # - name: network service - time check: dsa_check_time - hosts: zelenka, ancina + hosts: ancina depends: process - xinetd ### @@ -2328,6 +2334,16 @@ services: name: nfs server stabile reachable nrpe: "/usr/lib/nagios/plugins/check_ping -H 192.168.2.13 -w 50,10% -c 200,30%" hosts: quantz + # + - + name: process - automount + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C automount -a '/usr/sbin/automount'" + hostgroups: autofs + - + name: unwanted process - automount + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C automount" + hostgroups: computers + excludehostgroups: autofs ############ MISC OTHER Stuff ############ #####