[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] recovery messages
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] recovery messages
- From: Alan Sparks <asparks (at) doublesparks.net>
- Date: Fri, 04 Sep 2009 09:21:09 -0600
- References: <199afa060909040659ob3f8cffi552bb7a85c5e33c6 (at) mail.gmail.com> <961092e10909040703x29951db2ke56742b3c891f2e1 (at) mail.gmail.com> <199afa060909040719k601a14d0uac1df8ed3621ea0c (at) mail.gmail.com>
- User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Given the state of the alerts module for this type of case (reference my
earlier reply), I've had to live with it. Only other solution beside a
rewrite of the alert module I've imagined, has been to just use a single
rule to send all alerts via script to an external script/process, that
does a more complete management of sending alerts. My belief is that
the recovery event does happen - there's just no way to write the
matching recovery rule.
-Alan
Larry Barber wrote:
> The alert rules are very simple:
>
> PAGE=%^APHIS$
> SCRIPT /usr/local/hobbit/server/ext/SaveAlert.py DUMMY
> COLORS=red DURATION>0 REPEAT=30d RECOVERED
>
> ... and so on for each page of the Hobbit installation. The script is
> the start of a process that helps our NOC to manage alerts and notify
> responsible parties, not being able to automatically remove things
> that go red->yellow->green will cause problems.
>
> Thanks,
> Larry Barber
>
>
> On 9/4/09, *Josh Luthman* <josh (at) imaginenetworksllc.com
> <mailto:josh (at) imaginenetworksllc.com>> wrote:
>
> What are your alert rules? I believe the same step that "turns it
> red" also goes through alerting.
>
>
> On 9/4/09, Larry Barber <lebarber (at) gmail.com
> <mailto:lebarber (at) gmail.com>> wrote:
> > I've noticed that if I have a situation where I have red alert
> that turns
> > yellow before finally returning to green that no recovery
> messages are being
> > sent. Alert notifications are only being sent on reds, not
> yellow. I suspect
> > that when the red turns to a yellow that Hobbit is "forgetting"
> that it sent
> > out the notification when it turned red since it is not sending
> them out on
> > yellows. Does anybody out there know how to fix this?
> >
> > Thanks,
> > Larry Barber
> >
>
>
>
> --
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> "When you have eliminated the impossible, that which remains, however
> improbable, must be the truth."
> --- Sir Arthur Conan Doyle
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk <mailto:hobbit-unsubscribe (at) hswn.dk>
>
>
>