Page 1 of 1

1 machine 2 systems and dependencies...

Posted: Fri Dec 30, 2011 7:47 am
by srozanski
Hi,

I want configure nagios like this:

We have one machine with 2 systems. If first is up, the secend have to be down. The systems have diferent hostnames and ip addresses. For nagios this 2 systems are diferents machines without any dependencies.

How to configure nagios, to not turn on alerts and show that host2 (system2@machine1) is broken when host1 (system1@machine1) is turn on.

Maybe i could manipulate with hosts status?

What directives I should use?

Thx,
SzR

ps. sorry for my language ;)

Re: 1 machine 2 systems and dependencies...

Posted: Mon Jan 09, 2012 6:45 am
by srozanski
I can't find the answer... Help!

Re: 1 machine 2 systems and dependencies...

Posted: Mon Jan 09, 2012 11:01 am
by mguthrie
I wrote Nagios BPI to be able to combine hosts and services to create a group status. So you could group these two hosts and use the BPI check to only send an alert if both hosts are showing as down.
http://exchange.nagios.org/directory/Ad ... 29/details