[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Report a RED status to the upper level only if ...
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Report a RED status to the upper level only if ...
- From: "Hezki Englander" <me2unix (at) gmail.com>
- Date: Wed, 5 Dec 2007 23:22:14 +0200
- 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=hA6Ly+O8ZGbnBgHOiFExPvZNzld4z/4+4tPGF7PqLKk=; b=J10LGmuG5TOdj0L7dtFTa4pc4ySBy6b902dHkjSwtgDWmy0k5hC4JZrGrhZfZcW4OlsJTsOA/SPJjqmCsEKD0SGb6DPuL1yHCOLCtOUXht3hF3oyQ7Rwn80Ox5MCKGApLiXMaTPmtDUONnYx3ygidlB9RlB/urF2i7NdDpVqCD4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=np+bRgY7NsZwoOE/QbF7cMOcDwyxn6CDnMMcjwjbbQOaV0s9862s+aBTOTqiAPTGwOu+O2IIxg63bGJmtu/08xhZOu13Us7DcuSfPCthvvWJcw1h9WVU5GPA5yxfIHm0R771IyjJhPTRTOHJymN320mzin1HpKnuxuSy1IByCUM=
- References: <20071203231717.20677a77 (at) netstation.linuxnetwork.local> <32078.195.25.100.21.1196762779.squirrel (at) 82.224.107.105> <46ac0d930712040325rb445a7fk1cb074cafc04980f (at) mail.gmail.com> <20071205200034.292db1d1 (at) netstation.linuxnetwork.local>
On Dec 5, 2007 9:00 PM, L.M.J <linuxmasterjedi (at) free.fr> wrote:
> Le Tue, 4 Dec 2007 13:25:29 +0200,
> "Hezki Englander" <me2unix (at) gmail.com> a écrit :
>
> > Search for the "bbcombotest" feature to create a new test which combines
> the
> > tests you wish.
> >
> > Use the NOPROPRED tag for the individual original tests that you do not
> want
> > to move to upper levels.
> >
> > --Hezki
> > On 12/4/07, L.M.J. <linuxmasterjedi (at) free.fr> wrote:
> > >
> > > Hello,
> > >
> > > Today, I have a new question with Hobbit :
> > >
> > > - I would like to report a RED status to the upper level only if
> "conn" &
> > > "http" of this host are RED ?
> > >
> > > worst now ;)
> > > - Is it possible to report a RED status to the upper level only if
> "conn"
> > > & "http" of 2 hosts are RED ?
> > >
> > > Thanks by advance
>
> Thanks Hezki and all other for the answers ;)
> But I don't understand something :
> I put something like this "WebCluster.http = (Web1.http || Web2.http) "
> in my $BBHOME/etc/bbcombotest.cfg
> according Web1 & Web2 are name of my servers...
> - Where will appear "WebCluster.http" ? Should I create it in bb-hosts?
>
>
Yes, in bb-hosts you need to create a line like :
0.0.0.0 WebCluster # noconn
The comobotext.cfg will automaticaly get you an http "dot" by the Webcluster
on the page where you defined it.
p.s. : Take a look at /var/log/hobbit/combotext.log for syntax errors, and
remember to use a "\" before every "-" in the combotext.cfg file.
>
>
> About NOPROPRED, it works fine on the web interface, but I still receive
> emails with RED status of the
> NOPROPRED'ed hosts. Is there a way to shutdown emails too ?
>
>
>
> PS : Is there a Hobbit Wiki to share all my experience for the new users?
>
> Thanks!
>
>
If you want to exclude a host or a service from trigreing alerts, you should
find the rule in hobbit-alerts.cfg which is relevant and exclude the
unwanted message accroding to the hobbit-alerts format (either
EXHOST=something or EXSERVICE=seomthing or catching this alert with a STOP
tag on the begining of the file)
There is a Hobbit wiki, here :
http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/FAQ
Enjoy :-)