[hobbit] hobbit-alerts question

Rick Ridgeway ridgeway at nyroc.rr.com
Thu May 17 21:11:08 CEST 2007


So are you saying it should be HOST=%"^regex.*com$" or 
HOST="%^regex.*com$"  ?

Gore, David W (David) 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
>     <mailto: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
>         <mailto: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 <mailto: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) 
> 
> 



More information about the Xymon mailing list