NRDP sending to 2 centrals

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

NRDP sending to 2 centrals

Post by SDohmen »

Hello,

As i mentioned in a couple other threads we have a distributed monitoring system which collects all data for the main central. However today one of my co-workers mentioned he wanted to have some changed done but i could not do them on the central yet because he uses them to display this central to our customers.

Because we have a dev central aswell i was wondering if its possible to have the local nagios machines send there data to both central so i can test my stuff and later on move it to the main central.

The local nagios machines are debian 6 nagios core machines.

It is not possible to remove the checks from the current central because of the freshness checks on this and of history thats there already.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: NRDP sending to 2 centrals

Post by SDohmen »

I tried solving it by letting the main central send all to the dev central but for some reason those 2 wont communicate. All the settings seem to be fine and they can reach each other as well.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP sending to 2 centrals

Post by scottwilkerson »

SDohmen wrote:I tried solving it by letting the main central send all to the dev central but for some reason those 2 wont communicate. All the settings seem to be fine and they can reach each other as well.
look for messages in /var/log/messages sometimes this can happen if the system times on the machines aren't correct.

Code: Select all

tail -f /var/log/messages
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: NRDP sending to 2 centrals

Post by SDohmen »

Will check that out tomorrow.

My main question still isn't answered though. Is it possible to send the data from the nagios core to both centrals. If so how can i accomplish this. I tried filling in a second oscp command but that didn't work.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP sending to 2 centrals

Post by scottwilkerson »

Are you using the send_nrdp.php found in the client folder of this NRDP package to send to the server?
http://assets.nagios.com/downloads/nrdp/nrdp.zip
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: NRDP sending to 2 centrals

Post by SDohmen »

Yes, Both the centrals and the core are using nrdp.

To add some more info. My co-worker wants the main central to stay the same while on the dev central there are checks being tested in creating a consolidation sort page like the bpi but then in a bbmap look. Getting the services splitted on the core is easy enough since i just wont add the test checks to the main central etc.

The problem is however that i cant seem to find a way to send the data to both centrals at the same time (or after each other).
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP sending to 2 centrals

Post by scottwilkerson »

This isn't something that is currently implemented in send_nrdp.php

However, you could modify your send_nrdp.php to do this if you are a php developer or you could contact our sales department ( [email protected] ) and we could have the plugin customized for you.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: NRDP sending to 2 centrals

Post by SDohmen »

Thanks for the answer.

I solved it by just moving 1 customer to the dev central so we can develop with that one while keeping the others intact.
Locked