[hobbit] Report a RED status to the upper level only if ...
Hezki Englander
me2unix at gmail.com
Wed Dec 5 22:22:14 CET 2007
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 :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071205/a21e4de0/attachment.html>
More information about the Xymon
mailing list