View Full Version : Centreon 2.0 satellite/remote pollers?
whistler81
06-10-2008, 10:01 AM
Hi,
Is satellite poller supported in Centreon 2.0 beta 4?
I tried to set it up according to the NDOUTILS documentation.
Having the broker modules connect to the ndo2db on the central server. This works as long as i configure each Centreon server separately. The hosts/services from both servers end up in the same DB.
But if I try to add a poller in Centreon and configure both servers from the same Centreon web interface. Centreon cannot configure the remote machine. Is this possible with beta 4 if so how do I configure it?
BR
Andreas Hellberg
uncleblues
07-17-2008, 02:55 PM
Hi,
In beta 5 multiple poller configs seem to be supported.
I get separate nagios config files for each poller.
The only thing that I cannot get to work concerning this matter, is that the generated configs get moved to the other pollers.
I have set up public key authentication between the principal poller and the slave poller but that seems not to be enough - or simply wrong.
As there is not much documentation available yet, I try to search the code to get to know how things should be set up... without success up till now.
Is anyone aware of how to set this up?
Best regards,
Jan Verhaert
uncleblues
07-17-2008, 05:38 PM
Hi,
I saw in the centcore and php code that remote pollers are managed via a named pipe (/var/lib/centreon/centcore.cmd) from which centcore reads requests and processes them. Because the named pipe did not exist on my system, I created it. Now, If I send a SENDCFGFILE request via the command line, the files get transferred! Nevertheless if I use the Centreon GUI, no files are transferred :(
Best regards,
Jan Verhaert
uncleblues
07-17-2008, 06:31 PM
Hi,
I'm not sure but derived from the code I suppose the centcore.cmd file also can just be a regular text file. My last problem was solved by giving enough rights to the apache daemon owner.
Best regards,
Jan Verhaert
VanGTO
07-24-2008, 12:19 PM
Thanks for the tip, it works out quite well (thus i didn't create the centcore.cmd file, i just give the rights on the /var/lib/centreon/ rep to apache).
Another problem i met was, on the 'slave' poller, to edit the sudoers file to permit the nagios user to restart nagios without a password, in case it boggles someone.
Regards,
Sylvain Alessandrini
nebj00la
11-25-2008, 10:46 PM
Could someone post summarized documentation (wiki, etc.) for this? I'm in the process of implementing a similar configuration.
Thanks,
nebj00la
uncleblues
12-03-2008, 10:03 AM
Hi,
Pleas take a look on wiki.centreon.com and check the info on distributed architecture.
Best!
nebj00la
12-04-2008, 05:30 AM
Thanks for the tip, it works out quite well (thus i didn't create the centcore.cmd file, i just give the rights on the /var/lib/centreon/ rep to apache).
Another problem i met was, on the 'slave' poller, to edit the sudoers file to permit the nagios user to restart nagios without a password, in case it boggles someone.
Regards,
Sylvain Alessandrini
Now that you have everything working, does the main server show hosts and services configured on the remote pollers within the main monitoring section?
For example, if the Centreon frontend is on server1, and nagios/ndo is installed on server1 and server2, can you see server2's status from server1's Centreon UI?
I ask this because everything seems to be working with my install besides the ability to see remote poller hosts/services from the monitoring view.
I'll post this in a separate thread, to avoid any other people missing this.
nebj00la