[xymon] Wildcard in client-local.cfg

L.M.J linuxmasterjedi at free.fr
Fri Feb 11 16:41:05 CET 2011


Le Thu, 10 Feb 2011 16:34:55 +0000 (UTC),
Henrik "Størner" <henrik at hswn.dk> a écrit :

> >   On Xymon 4.2.2, I would to know if I can add wildcard in 
> > client-local.cfg like this :  
> 
> >    [machi*]
> >    log:/var/log/messages:10240  
> 
> >   Or, at least,  
> 
> >    [machine1,machine2,machine3,machine4]
> >    log:/var/log/messages:10240  
> 
> Unfortunately not.
> 
> The [foo] in client-local.cfg is matched against the full hostname,
> then the "class" of the host (defaults to the operating system
> name, but you can define the class with the CLASS definition in
> hosts.cfg / bb-hosts, or by starting the client with the "--class"
> option); and finally it is matched against the operating system
> name.
> 
> But in neither case does it support wildcards, lists or patterns.

Ok, thank you very much for the info !

-- 
 LMJ
 "May the source be with you my young padawan"
 http://sites.google.com/site/imatruelinuxmasterjedi/



More information about the Xymon mailing list