faire communiquer mon collecteur chez un client avec mon central dans mon entreprise
bonjour,
j’ai terminé de configuré un collecteur et serveur central dans ma société sur 2 vm hyper v. elles communiquent correctement, j’ai installé dans une autre société un collecteur sur une vm en hyper v.
vu qu’ils ne sont pas du tout dans le même réseau. quelle manipulation dois je effectuer pour qu’ils puissent communiquer ensemble. les deux sociétés ont un parefeu watchguard et j’ai ouvert les ports nécessaires.
d’avance merci
Page 1 / 1
Hello
you should ask in english for anyone to find
what you need is a way to communicate by IP between the 2 network, usually with a permanent VPN Site-2-Site with all the correct firewall rules for the traffic in both direction
then you need to be able to connect on the distant poller by ssh, then simply add the poller in the web console by following the wizard (it will ask the ip for the distant poller and the “ip of the central server as seen from the poller” (in case you have NAT in the way)
it all boils down to : are you sure you can communicate between de poller and the central using tcp/ip
hello, there is no vpn beetween the two society
well, then how do you plan to communicate ? (if you can describe what you were planning to do)
you need a working network, it can be over public ip (with nat/pat, preferably static ip with firewall and ip restriction)
you can use telnet / nc on the poller and the central to test your firewall rules
from central to poller, you should be able to test ping and snmpwalk (to monitor the poller) and telnet on the port 5556 (gorgoned/ZMQ)
(if you don’t have yet started gorgone, you can use “nc -l 5556” on the poller to open the port to test the communication)
from poller to central, your central server should already be listening on the broker port, 5669
so a telnet on 5669 from the poller shell to test if the port connect
and you should use these ip you validated in the new poller wizard from the documentation.
bonjour,
j’ai terminé de configuré un collecteur et serveur central dans ma société sur 2 vm hyper v. elles communiquent correctement, j’ai installé dans une autre société un collecteur sur une vm en hyper v.
vu qu’ils ne sont pas du tout dans le même réseau. quelle manipulation dois je effectuer pour qu’ils puissent communiquer ensemble. les deux sociétés ont un parefeu watchguard et j’ai ouvert les ports nécessaires.
d’avance merci
Bonjour,
Avez vous eu des réponses ou des orientation pour la résolution de votre problème?
Merci d’avance
Hello Bonjour
J’ai un config semblable avec 1 Central et 12 pollers distants. Les poller sont configurés en mode PULL
Côté Centreon Central j’ai uniquement ouvert les ports TCP 5669 et TCP 5556 pour les IPs distantes des pollers, car c’est le poller qui contacte le Central.
Après il faut créer des certificats pour que les communications se fassent en TLS et tout fonctione bien.
Pierre
Hello, Thank you very much for this procedure!
I've tried and checked many times, but it doesn't work.
I would really appreciate your help.
When I try to restart the poller from the web interface, I get the error:
Moving files... NOK (Could not write into centcore.cmd. Please check file permissions.)
→ Netstat looks good :
From Poller :
From Central :
I’m on fresh install : Poller is on client site (behind firewall - opened ports) public IP used for setup
Any ideas ?
never tried the “reverse gorgoned” configuration, however you message is explicit : a file cannot be created because of file permission issue, and that error is on the “central” in the web ui, so I would check things on the central first
these “.cmd” are files created during the push of the poller configuration, they usually go on the central in this folder /var/lib/centreon/centcore/ and executed
could you do a ls -l of this folder /var/lib/centreon/
the subfolder centcore should be like that
if it’s not owned by centreon:centreon, chown that folder (everything in that var/lib/centreon should be owned by centreon)
(as I said, never used the pull method, but when I push I see file “.cmd” being generated in that folder then deleted, not really sure if in the pull method the file “centcore.cmd” is generated in this folder)
Hello @christophe.niel-ACT
Thank you for your message. Just to be more precise, I also tried with a poller in standard mode, I have the same problem..
I also think there is a problem on the Central side, but not being an expert in remote Poller, I didn't know if this file is written through a socket directly on the poller (even if it's strange I find). Like you, I would rather say that it is written locally on the Central
I've spent two days on this issue and looked at all the forums, but I can't find anything conclusive. As for the server configuration, everything seems fine, given that it's a fresh, clean installation.