[hobbit] hobbit-alerts question

Larry Barber lebarber at gmail.com
Thu May 17 21:15:39 CEST 2007


That doesn't work, it prevents the string, HOST=%"^pan$" or HOST="%^pan$"
both prevent 'pan' from being matched.

Thanks,
Larry Barber

On 5/17/07, Gore, David W (David) <david.gore at verizonbusiness.com> wrote:
>
>  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:lebarber at gmail.com]
> *Sent:* Thursday, May 17, 2007 18:34
> *To:* hobbit at hswn.dk
> *Subject:* Re: [hobbit] hobbit-alerts question
>
> That's what I think.
>
> Thanks,
> Larry Barber
>
> On 5/17/07, Steve Holmes <sholmes42 at mac.com> 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 <ridgeway at nyroc.rr.com> 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
> > > hobbit-unsubscribe at hswn.dk
> > >
> > >
> > >
> >
> >
> > --
> > 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)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070517/02fa0208/attachment.html>


More information about the Xymon mailing list