[xymon] Wildcards in client-local.cfg

David Baldwin david.baldwin at ausport.gov.au
Tue Aug 3 05:15:49 CEST 2010


Vernon,
> Hi all
>
> Anybody had any luck using wildcards in the hostname definition of
> client-local.cfg?
> Is it even possible.
>
The man page doesn't suggest so.

FILE FORMAT
       The  file is divided into sections, delimited by "[name]" lines. 
A section name can be either an operating
       system identifier - linux, solaris, hp-ux, aix, freebsd, openbsd,
netbsd, darwin  -  or  a  hostname.  When
       deciding which section to send to a client, Xymon will first look
for a section named after the hostname of
       the client; if such a section does not exist, it will look for a
section named by the operating  system  of
       the client. So you can configure special configurations for
individual hosts, and have a default configura-
       tion for all other hosts of a certain type.

David.

> I have no problem with
> [dbserv01]
> log:/var/adm/messages:10240
> Other stuff
>
> However, I am not having much luck with wildcard entries like
> [%dbserv..|dbdev..]
> log:/var/adm/messages:10240
> Other stuff
>
> This would save me a lot of time and effort, but not managing to make
> it work.
> Any tips?
> Or is it just not going to work?
>
> Regards
>     Vernon
>
>


-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au          Leverrier Street Bruce ACT 2617


-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------



More information about the Xymon mailing list