Xymon Mailing List Archive search

Report a RED status to the upper level only if ...

list Hezki Englander
Wed, 5 Dec 2007 23:22:14 +0200
Message-Id: <user-6ba1ebc7b635@xymon.invalid>

On Dec 5, 2007 9:00 PM, L.M.J <user-78bb6d5d9024@xymon.invalid> wrote:
Le Tue, 4 Dec 2007 13:25:29 +0200,
"Hezki Englander" <user-c7a77f4ca55b@xymon.invalid> 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. <user-78bb6d5d9024@xymon.invalid> 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 :-)