[Xymon] Configure per-host filesystem threshold

Andy Smith abs at shadymint.com
Fri Oct 21 07:59:21 CEST 2016


Seip, Christopher (HPN SIS team) wrote:
> An update:
> 
> This was an apt-managed package named "xymon" (4.3.25) for Ubuntu.
> 
> I just compiled and installed Xymon 4.3.27; it exhibits the same behavior, so this strongly looks like I'm doing something wrong in the xymon configs.
> 
> Thanks,
> 
> - Chris
> 
> 
> Root-# egrep -v '^#' /usr/local/xymon/server/etc/analysis.cfg
> 
> HOST=fqdn.of.my.monitored.host
> 	DISK /disk/data 96 98
> 
> 
> DEFAULT
> 	# Ignore some usually uninteresting tmpfs mounts.
> 	DISK    /dev IGNORE
> 	DISK    /dev/shm IGNORE
> 	DISK    /lib/init/rw IGNORE
> 	DISK    /run IGNORE
> 	# These are the built-in defaults. You should only modify these
> 	# lines, not add new ones (no PROC, DISK, LOG ... lines).
> 	UP      1h
> 	LOAD    5.0 10.0
> 	INODE	* 70 90
> 	MEMPHYS 100 101
> 	MEMSWAP 50 80
> 	MEMACT  90 97
> 
> Root-#
> 
> 
> -----Original Message-----
> From: Seip, Christopher (HPN SIS team) 
> Sent: Thursday, October 20, 2016 2:04 PM
> To: 'Dennis Riley' <driley at malone.edu>; xymon at xymon.com
> Subject: RE: [Xymon] Configure per-host filesystem threshold
> 
> I do indeed; just double-checked.
> 
> - Chris
> 
> -----Original Message-----
> From: Dennis Riley [mailto:driley at malone.edu] 
> Sent: Thursday, October 20, 2016 1:37 PM
> To: Seip, Christopher (HPN SIS team) <chris.seip at hpe.com>; xymon at xymon.com
> Subject: RE: [Xymon] Configure per-host filesystem threshold
> 
> Hi Chris,
>  You do have your entries above the DEFAULT entry so that you match your
> entry first, right?
>   Dennis
> 
> -----Original Message-----
> From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Seip, Christopher
> (HPN SIS team)
> Sent: Thursday, October 20, 2016 4:03 PM
> To: xymon at xymon.com
> Subject: [Xymon] Configure per-host filesystem threshold
> 
> I'm new to Xymon, have set up my first client monitoring config, and haven't
> gotten per-host filesystem thresholds to work for that host yet. In
> /etc/xymon/analysis.cfg, I've got these lines:
> 
> HOST=my.hosts.fqdn
>         DISK /disk/data 96 98
> 
> But my 95% filesystem-full condition continues to come up as a red alert.
> I've played with a few different syntaxes, wildcards, and other config
> files. This looks to me like the right way to do it... Feels like I'm
> overlooking something really basic here. Thanks,
> 
> - Chris
> [Running Xymon 4.3.25 on Ubuntu 16.04.1. New to Xymon; used to use Big
> Brother years ago.]
> 

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

-- 
Andy



More information about the Xymon mailing list