[Xymon] Multiple TRACK for dir usage

Martin Flemming martin.flemming at desy.de
Tue Jun 11 15:42:58 CEST 2013


On Tue, 11 Jun 2013, deepak deore wrote:

> I am using below configuration in analysis.cfg (we dont want any alert). Just wanted to know is there a way to do it in
> one line ?
> 
> Suppose I have 10 dir to check usage for then i will have to add 10 DIR lines which I wanted to avoid.
> 
> DIR /tmp TRACK="tmp"
> DIR /var TRACK="var"
>


Hi !

Something like

in analysis.cfg

HOST=mystphi
DIR %^/scratch/.* TRACK

and in client-local.cfg

[mystphi]
dir:`find /scratch -maxdepth 1 -type d`

should work

Cheers,
 	martin



More information about the Xymon mailing list