Xymon Mailing List Archive search

Some PCRE assistance

list Rich Smrcina
Mon, 15 Jan 2007 20:52:39 -0600
Message-Id: <user-6f052d1d35f9@xymon.invalid>

hobbit-clients.cfg

Galen Johnson wrote:
Rich Smrcina wrote:
I've checked the PCRE tutorial and several other sites and I can not find a good match to what I'm trying to do.  I've also run several iterations through pcretest with no joy.

I have a list of users (actually virtual machine names) with the heading 'UserID'.  I would like to set up a regex to match any of them, except for the heading.  Basically, to count the machines, but ignore the heading line.

I've tried variations of "(!Userid|.*)" with no luck.

Thanks.
Is this within a script or a hobbit config file?

=G=

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007