[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] help with setting up pager rule
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] help with setting up pager rule
- From: Larry Barber <lebarber (at) gmail.com>
- Date: Fri, 27 Jan 2006 14:25:34 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mhkZaKTYRAfTmwMWMa6WMIr4/wPl0wDocLvhjcPmY2R3+UJdasvFcbvKJP3qxetuqZ5TZwnfQW0Gk+vVdvPLD7zn6yhNTIduwcnvmQwX77Y3MVVxID43uobtvCk6Q/8dO80UMRzKsz8yvcDMkG1pbLKtopBjXE6f6+hj5a/VO+s=
- References: <OFEEE0B5FE.C245FD7D-ON85257103.006EC94B-85257103.006F98CD@na.pg.com>
You have the TIME filter backwards, it needs to be
W:0000:0800,W:1700:2400,06:0000:2400, the way you have it it will only pass
alerts on weekdays from 8:00 to 5:00.
Thanks,
Larry Barber
On 1/27/06, smith.js.8 (at) pg.com <smith.js.8 (at) pg.com> wrote:
>
> I'm having problems getting a pager rule to work. What I want is to get
> paged
> for any conn (connection) that is down more than 10 minutes, but not
> during
> "normal business hours" (ie, M-F 8a-5p).
>
> Here is what I have:
>
> HOST=%.*\.(na|internal)\.pg\.com SERVICE=conn TIME=W:0800:1700 DURATION>10
> SCRIPT /usr/local/bin/skytel 800####### FORMAT=sms
>
> Here's what happens. I get paged during the middle of the day when a
> system goes
> down.
>
> If I run the rule through the "test" mode, then it says it fails on the
> duration
> rule. So if I remove the duration rule and test again, then it says it
> fails on
> the time rule.
>
> But, as I said, I'm getting pages in the middle of the day (when we're
> doing
> maintenance).
>
> Thoughts? Am I writing this rule correctly?
>
>
> Scott
> _______________
> Scott Smith
> 513-634-9847
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>