[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Nesting rules in hobbit-alerts.cfg
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Nesting rules in hobbit-alerts.cfg
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Mon, 17 Mar 2008 13:47:02 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=2zJKGJbI5PuiySLNx+LmpV4rPty+pJ+jXsWiBhYn1QY=; b=dm1REJ2aFE8Fm0+Ms9E9oqwPdSR3YRj0m3Ge3UxWy3JFxdvJuLAygZE47ZRhHzcKst0aPLUhq1sC0hBZ6F/wHsqlwRbe+bKttYHCfRwMWFORu5nU0QhRuWDpBg4Qv9uHyYIvE7OVC1x6BNIvEI0eSTi+mfsDKKdaWks5g0YNXR4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=TT5+B8qj9pfkwA7tSQC/bVtdZ6tipEVXyxifzO/PFhOvJI9ikBZm00t4wr2Mp4lRTxIXlb0fH4KuYnH9zL2NnJ1UBMFC176VoTlSRyLbpwcdghcbD3aSH258HIF3rJXpCV2pdd8bMnT10Ck9hmqsNrUt0hloYtlFQJPMsZrxLAM=
- References: <29f517690803171026x7dda9de6k919c2e18a695fc79 (at) mail.gmail.com> <c6fda93d0803171041na5478c9t7bb9c9e331a55365 (at) mail.gmail.com>
That was one thought I had, but the current version of Hobbit doesn't
display the group alerting under the "info" column. But I do currently have
some group alerts set up. I'm just looking at ways to clean up and simplify
the alert rules.
On Mon, Mar 17, 2008 at 1:41 PM, Patrick Nixon <pnixon (at) gmail.com> wrote:
> Did you look into maybe making a host group out of them?
>
> I forget the hobbit term for them of course, but I know you can do
> groups, which is a regex or simple declaration.
>
> On Mon, Mar 17, 2008 at 1:26 PM, Gary Baluha <gumby3203 (at) gmail.com> wrote:
> > Is it possible to nest rules in hobbit-alerts.cfg? For example, can I
> do
> > something like this (indenting provided for readability):
> >
> > PAGE=hostPageA NOTICE RECOVERED
> > HOST=hostA,hostB,hostC
> > MAIL pager (at) somewhere.com
> > HOST=%(hostD[0-9])
> > MAIL email (at) somewhere.com
> >
> > Our alerting rules are starting to get kind of complex, and nesting
> alert
> > rules as above would make things easier. I know I could do something
> like:
> >
> > PAGE=hostPageA NOTICE RECOVERED
> > MAIL pager (at) somewhere.com HOST=hostA,hostB,hostC
> > MAIL email (at) somewhere.com HOST=%(hostD[0-9])
> >
> > But some of the HOST= lists are very long (i.e. wrap across multiple
> lines),
> > so the above 2nd example would look a lot uglier than it does in this
> post
> > (which was simplified for readability). If nesting rules won't work, I
> > wonder how much effort would be involved in adding this feature.
> >
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>