As it has been pointed out before somethings require double quotes ".
If that works, then this would be one of those cases. All our regexes
are typically in double quotes.
David
From: Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
Sent: Thursday, May 17, 2007 18:34
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-alerts question
That's what I think.
Thanks,
Larry Barber
On 5/17/07, Steve Holmes <user-ec1bf77b1b44@xymon.invalid> wrote:
Hang on there! Correct me if I'm wrong, but I think the
point is that the $ should anchor the end of the string and it should
never match pandora. Right?
Steve.
On 5/17/07, Rick Ridgeway <user-7ec02f74dd96@xymon.invalid> wrote:
HOST=%^pan$
or
HOST=pan
Hope that helps
Larry Barber wrote:
I am having a problem with alerts going to the
wrong people. I have a
line in hobbit-alerts.cfg:
HOST=%pan$
(this is just for demo and test purposes, I
know that particular entry
doesn't make a lot of sense ) The problem is
that this line is matching
with a host name "pandora". Is there any way
to stop this?
Thanks,
Larry Barber
To unsubscribe from the hobbit list, send an
e-mail to
user-095ef1c764a2@xymon.invalid
--
I believe I found the missing link between animal and
civilized man. It is
us. -Konrad Lorenz, ethologist, Nobel laureate
(1903-1989)
We in America do not have government by the majority. We
have government by
the majority who participate. -Thomas Jefferson, third
US president,
architect and author (1743-1826)