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.
NRDP sending to 2 centrals
Re: NRDP sending to 2 centrals
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
look for messages in /var/log/messages sometimes this can happen if the system times on the machines aren't correct.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.
Code: Select all
tail -f /var/log/messagesRe: NRDP sending to 2 centrals
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.
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
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
http://assets.nagios.com/downloads/nrdp/nrdp.zip
Re: NRDP sending to 2 centrals
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).
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
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.
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
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.
I solved it by just moving 1 customer to the dev central so we can develop with that one while keeping the others intact.