[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] help with alert config
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] help with alert config
- From: "Schwimmer, Eric E *HS" <EES2Y (at) hscmail.mcc.virginia.edu>
- Date: Sat, 30 Apr 2005 21:55:34 -0400
- Thread-index: AcVNBhXuLMWZBPYqR8WsVXGmoQhATAA6qttP
- Thread-topic: [hobbit] help with alert config
Once again, my fingers betray me, and my face is red :) Thanks for the help,
Henrik!
-Eric
-----Original Message-----
From: Henrik Stoerner [mailto:henrik (at) hswn.dk]
Sent: Fri 4/29/2005 5:55 PM
To: hobbit (at) hswn.dk
Cc:
Subject: Re: [hobbit] help with alert config
On Fri, Apr 29, 2005 at 01:55:12PM -0400, Schwimmer, Eric E *HS wrote:
>
> Hi all,
>
> I'm trying to set up my alerts and I cant quite get them working, a simple example of my config is as follows:
>
> <snip>
> SERIVCE=conn COLOR=red TIME=W:0750:1710
> EXPAGE=%.*/(hscs_servers|special|telemed)
> MAIL ees2y (at) pagehost.virginia.edu REPEAT=1 FORMAT=SMS
> </snip>
>
> The problem, I believe, is in the EXPAGE line. When I remove said line,
> I get the conn pages, as expected, albeit all of the ones I was trying to
> remove with the EXPAGE line. When I include the EXPAGE line, I get pages
> for everything EXCEPT conn pages. Can anybody give me a clue as to how I
> should format the EXPAGE tag?
The SERVICE, COLOR, TIME and EXPAGE should go on one line.
The SERIVCE is a typo, but enough to throw the config-parser off track.
If you just want to avoid pages for hosts on the "hscs_servers",
"special" and "telemed" pages, you can just look for those words without
caring about where they appear in the page-path. Unless you use
"anchors" - the ^ and $ signs - in the regexp, it will match anywhere in
the page-path string.
So I think this does what you want:
SERVICE=conn COLOR=red TIME=W:0750:1710 EXPAGE=%hscs_servers|special|telemed
MAIL ees2y (at) pagehost.virginia.edu REPEAT=1 FORMAT=SMS
Henrik
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk