Hi all
I have 3 tests monitoring in one column. I want to have an AND condition where all the tests have to be true in order for the service to revert to green. At the moment the one server fails, I return a red, the next service works and the whole column gets returned to green. Is there any way to implement this without makeing 3 seperate columns?
Cheers Wayne
If I'm understanding your situation, you have 3 scripts running on 3 different servers all reporting to the same service column (but on 3 different host lines?). You could have one master server do an rsh to each of the other servers which then would report back to the master server and then that script figures out how many of the client servers are ok and makes a decision about what to send to hobbit.
Steve.
On Jan 21, 2008 10:11 AM, Wayne <lists2006.wayne at gmail.com> wrote:
Hi all
I have 3 tests monitoring in one column. I want to have an AND condition where all the tests have to be true in order for the service to revert to green. At the moment the one server fails, I return a red, the next service works and the whole column gets returned to green. Is there any way to implement this without makeing 3 seperate columns?
Cheers Wayne
On mán, 2008-01-21 at 17:11 +0200, Wayne wrote:
Hi all
I have 3 tests monitoring in one column. I want to have an AND condition where all the tests have to be true in order for the service to revert to green. At the moment the one server fails, I return a red, the next service works and the whole column gets returned to green. Is there any way to implement this without makeing 3 seperate columns?
Hi Wayne, maybe i misunderstand you, but have you tried to put this in bbcombotest.cfg ? Lets say it is the http service running on hosta.com hostb.com and hostc.com:
hostwayne.http = ( hosta.com.http && hostb.com.http && hostc.com.http )
in bb-hosts you would put a line like this: 0.0.0.0 hostwayne # noconn
If you only want the status the above will do fine. If you also want the graphs to show the sum of the services, you could try something like this:
hostwayne.http = ( hosta.com.http + hostb.com.http + hostc.com.http ) && ( ( hosta.com.http == 1) && (hostb.com.http == 1 ) && (hostc.com.http ==
- )
Is this what you are really asking for?
-- Kær kveðja, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix Kerfisstjórnun, Reiknistofnun HÍ %& Q: Why is top posting bad?
participants (3)
-
annaj@hi.is
-
lists2006.wayne@gmail.com
-
sholmes42@mac.com