Xymon Mailing List Archive search

Configure per-host filesystem threshold

list Christopher Seip
Thu, 27 Oct 2016 00:18:07 +0000
Message-Id: <user-b20bffaad5ef@xymon.invalid>

 Andy Smith [mailto:user-982f5f6d4d28@xymon.invalid] 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--