From: Peter Palfrader Date: Sun, 29 May 2011 15:23:06 +0000 (+0200) Subject: autofs check X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=d7d15901294ccd473c61537f62b1300f1f479a24;p=mirror%2Fdsa-nagios.git autofs check --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index b059ade..f411bfc 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -757,7 +757,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 @@ -975,6 +975,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" @@ -2328,6 +2331,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 ############ #####