[Xymon] Configure per-host filesystem threshold

Seip, Christopher (HPN SIS team) chris.seip at hpe.com
Thu Oct 27 02:18:07 CEST 2016


>  Andy Smith [mailto:abs at shadymint.com] wrote:
>
>  What is in hosts.cfg?  Is it 'fqdn.of.my.monitored.host' or is it just 
>  'host'?  Try
>
>  HOST=%host
>     DISK /disk/data 96 98

# cd /etc/xymon
# egrep '/disk/data|swnfs07' analysis.cfg hosts.cfg
analysis.cfg:HOST=swnfs07.rose.rdlabs.hpecorp.net
analysis.cfg:	DISK /disk/data 96 98
hosts.cfg:    16.93.247.205	swnfs07.rose.rdlabs.hpecorp.net	# rpc=mount,nlockmgr,nfs,ypbind ssh

I tried the change you mentioned (Perl regex! Cool feature). Anyway:

# egrep '/disk/data|swnfs07' analysis.cfg hosts.cfg
analysis.cfg:# HOST=swnfs07.rose.rdlabs.hpecorp.net
analysis.cfg:HOST=%swnfs07
analysis.cfg:	DISK /disk/data 96 98
hosts.cfg:    16.93.247.205	swnfs07.rose.rdlabs.hpecorp.net	# rpc=mount,nlockmgr,nfs,ypbind ssh

Still haven't seen a change in the behavior. Its /disk/data partition is at 95% full and coming up red in Xymon.

Thanks,

--Chris--



More information about the Xymon mailing list