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
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
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)
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)
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)
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)
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)
Nope, %^pan$ still matches 'pandora'. The '$' should stop the match, but it doesn't appear to be working.
I know HOST=pan works, what I gave was a simplified example for a larger problem.
Thanks, Larry Barber
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
participants (4)
-
david.gore@verizonbusiness.com
-
lebarber@gmail.com
-
ridgeway@nyroc.rr.com
-
sholmes42@mac.com