Xymon Mailing List Archive search

newbie: *.example.com

list Frédéric Mangeant
Thu, 01 Feb 2007 12:11:16 +0100
Message-Id: <user-08ae72685bbd@xymon.invalid>

Le 01/02/2007 12:05, Sabeer MZ a écrit :
How to add the entry on hobbit-clients.cfg in a single shot ?
Please find below lines. is it possible to do something like below ?

HOST=*.example.com
       PROC cron 1 -1 yellow
       PROC hobbitlaunch
       PROC mysqld
       PROC sshd
       DIR %^/var/log TRACK
       PORT LOCAL=%[\.:](80|443) STATE=LISTEN min=2 TEXT=http
       PORT "LOCAL=%([.:]22)$" state=ESTABLISHED TRACK=ssh "TEXT=SSH 
logins"
       FILE /var/log/messages SIZE>0 MTIME<600 yellow

Hi

IMHO you have to use

HOST=%*.example.com

See the hobbit-clients.cfg(5) man page

-- 

Frédéric Mangeant

Steria EDC Sophia Antipolis