1 machine 2 systems and dependencies...

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
srozanski
Posts: 2
Joined: Fri Dec 30, 2011 3:44 am

1 machine 2 systems and dependencies...

Post 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 ;)
srozanski
Posts: 2
Joined: Fri Dec 30, 2011 3:44 am

Re: 1 machine 2 systems and dependencies...

Post by srozanski »

I can't find the answer... Help!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: 1 machine 2 systems and dependencies...

Post 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
Locked