Forward nagios alert to another nagios

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
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Forward nagios alert to another nagios

Post by veenm »

Hi,

We want to froward alert from one nagios (A) to another nagios (B) , where Nagios A actively checks all host and forward the alert to Nagios B using nsca. But Nagios B doesn't have access to the hosts which Nagios A actively monitor.

Please let me know below

1. Can we achieve this using nsca ( forward alerts from nagios A to Nagios B).
2. Does Nagios B needs to have access to all hosts to receive passive results ?
3. If Nagios B doesn't need to have access to hosts then how to configure hosts check on Nagios B side ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Forward nagios alert to another nagios

Post by slansing »

When you set this up, Nagios (B) would not have access to modify anything on Nagios (A), you will have to set up passive services and hosts on (B) so that nagios knows where to send the forwarded results however.
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: Forward nagios alert to another nagios

Post by veenm »

Please let me know below

1. Can we achieve this using nsca ( forward alerts from nagios A to Nagios B).
2. Does Nagios B needs to have access to all hosts to receive passive results ?
3. If Nagios B doesn't need to have access to hosts then how to configure hosts check on Nagios B side ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Forward nagios alert to another nagios

Post by slansing »

Yes, this is all done through NSCA with core. Host B does not need to have any access to those services going the other direction, everything is passively forwarded.

You can use what is described here:

http://nagios.manubulon.com/traduction/ ... buted.html

I thought there was a document floating around which covers this, going to keep looking for it.
Locked