[Xymon] Minor bug found in xymonclient-linux.sh

Adam Thorn alt36 at cam.ac.uk
Mon Jul 26 19:26:16 CEST 2021


On 24/07/2021 15:37, Shawn Heisey wrote:
> I have been frustrated by the inclusion of tmpfs filesystems in xymon's 
> client-side disk test.  So I decided to see if I could fix the problem.
> 
> Running version 4.3.30.
> 
> In xymonclient-linux.sh, when defining the list of filesystem types to 
> exclude, one of the commands it pipes through is this:
> 
> egrep -v 'tmpfs|rootfs|squashfs'
> 
> This grep removes tmpfs from the list of filesystems to exclude.  

I wouldn't call this a bug; there are use cases for wanting to monitor 
tmpfs filesystems. See e.g.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487157

which I realise is quite old but might well still be relevant, and I 
could imagine other more up-to-date situations. /run is tmpfs, and a 
full /run would likely cause problems for example.

Instead, I think you might look at your analysis.cfg on your xymon 
server. If you want to ignore the reported data for /run on all of your 
systems, you can add to the DEFAULT section of your analysis.cfg:

DEFAULT
   # whatever DEFAULT rules are already there
   DISK /run IGNORE

or you could more selectively ignore /run (or whatever mountpoints 
you're not interested in) for HOSTs, PAGEs etc as described in "man 
analysis.cfg"

Regards,

Adam


More information about the Xymon mailing list