I am trying to connect a poller to a central server and I am having problems.
First of all I have to set the -insecure flag because otherwise it tells me that it cannot connect to the central server. I guess it is because it is a self-signed certificate, although on the web I get that "the certificate is valid and signed by an authorizing entity".
I get the error:
ERROR - https://ip_central:443: {"message": "No parent platform was found for : 'POLL01'@'local_ip'"}
I have checked with telnet to the central server and port 443 that it can connect. I also have gorgoned and the other services active in the poller.
Any idea what it could be?
Thanks!!
Page 1 / 1
@aalz0
🤔
Hi,
As I put in my first post, I have put what is commented in that other post and it does not work for me. Even if I put --insecure, I get the error message.
I see, thank you. In your poller, are you using a command similar to this?
Then, I have also the local host IP on my Central server.
To finish, in the bbdd server that query returns me nothing:
MariaDB centreon]> select * from platform_topology; Empty set (0,000 sec)
I’m 90% sure that the error is due to the SSL certificate or something related with this… But I dont know what can I change…
@aalz0 with the query you should be able to see at least your central so you might have something else.
Do you see your central?
I have my central on another server, it s a remote database. Could be that the reason why the central server is not visible?
Yes, in the pollers configuration I see my central.
Any idea @Laurent ?
No, I don’t believe that is the problem. I want to confirm the IP that shows under (platform_topology) and the one you are using.
Is there any way to update de table? Because I dont get anything with that query….
Hi @aalz0 can you try to edit your central configuration and save the form and check if entry appears in platform_topology table.
If not, add manually the entry for the central server.
I have manually make the entry but the “"message":"No parent platform was found for : poller-1@poller_ip”) persists.
Well, bye community, due to the amount of errors, and being impossible for me to connect the pollers, I’m moving to another monitoring tool, Zabbix concretely.
Register to platform topology : verb POST https://docs-api.centreon.com/api/centreon-web/#tag/Topology/paths/~1platform~1topology/post
Get a platform topology : verb GET https://docs-api.centreon.com/api/centreon-web/#tag/Topology/paths/~1platform~1topology/get
(I can't post the URL's, i have the error message Oups Something it Wrong)
All the best with Zabbix
Bye
Good morning,
I have the same error. When I do it with a poller that is on the same network I have no problems.
If I do it with a poller from another network I get : ' "message": "No parent platform was found for...'.
Could it be a licensing issue? Certificates?
Has anyone had this problem and solved it?
Thanks.
Hi @txontxet can you check in database if the IP of your central server is correct in centreon.platform_topology table? If not can you update value with correct public IP and retry with the script?
Hello, in the table I see the IP which I attack to access via web.
Parent_id NULL is correct?
From the web configuration Configuration > Pollers I see the central server IP 127.0.0.1 but I have also tried to set it to 10.17.0.225 and it still fails.
Regards.
In the table I see the IP to which I am connected from the web.
From the web configuration Configuration > Pollers I see the central server IP 127.0.0.1 but I have also tried to set it to 10.17.0.225 and it still fails.
Regards.
I had similar issue.
Resolved by setting IP for central server instead of localhost on web configuration Configuration and lauching registerServerTopology.sh with IP for -h