Page 1 of 1
NRDP sending to 2 centrals
Posted: Wed Jan 04, 2012 2:22 pm
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.
Re: NRDP sending to 2 centrals
Posted: Thu Jan 05, 2012 6:35 am
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.
Re: NRDP sending to 2 centrals
Posted: Thu Jan 05, 2012 9:58 am
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.
Re: NRDP sending to 2 centrals
Posted: Thu Jan 05, 2012 2:25 pm
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.
Re: NRDP sending to 2 centrals
Posted: Thu Jan 05, 2012 3:24 pm
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
Re: NRDP sending to 2 centrals
Posted: Thu Jan 05, 2012 4:15 pm
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).
Re: NRDP sending to 2 centrals
Posted: Thu Jan 05, 2012 4:55 pm
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.
Re: NRDP sending to 2 centrals
Posted: Wed Jan 11, 2012 4:08 am
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.