Skip to main content

Installation avec documentation de MAP hebergé sur le central, je fini avec erreur 404

Diagnostic:

########## Centreon Map server version ##########

INFO] ii centreon-map-engine 23.04.0-bullseye amd64 Centreon Map service under Spring Boot framework

########## System ##########

INFO] SELinux is not available
Unit firewalld.service could not be found.
OK] Firewall is disabled
INFO] Physical memory available on the server: 8135672 kb.
INFO] Number of CPU available on the server: 4 core(s)

########## Java ##########

OK] Java 17 installed
OK] Optimization found for JVM: JAVA_OPTS="-Xms512m -Xmx4G -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/centreon-map -Dcentreon-map.signing-key=XveFFpHwCQ2MELePt7yeqCWsFFEHmQpM4deRRdQutwi8FfAzPDrgtG7FGYY4JZbLq -Dcentreon-map.access-token-validity-seconds=15552000 -Dmanagement.endpoints.enabled-by-default=false -Dmanagement.endpoint.health.enabled=true -Dmanagement.endpoint.metrics.enabled=true"

########## Database connection ##########

OK] Connection to centreon
OK] Connection to centreon_storage
OK] Connection to centreon_map

########## Security ##########

OK] Token signing key

########## Broker connection ##########

OK] Connection to 10.1.2.22 5758 port

########## Authentication ##########

OK] Centreon Central authentication using user centreon_map

########## Protocol verification ##########

INFO] Bypassing HTTPS check for Map server. Reason: centreon-map service not started
INFO] Centreon Central configured in Map to use http protocol.

 

 

Log de map:

h2023-05-19 17:00:54.525] 5ERROR] Rc.c.map.server.broker.BrokerClient] tCentreonBroker-1] : Error occured while communicating with Broker
java.io.IOException: Broker does not have the same options, switching negotiation options ...
at com.centreon.map.server.broker.BrokerClient.negotiate(BrokerClient.java:99)
at com.centreon.map.server.broker.bbdo.BrokerEventProducer.readBrokerPackets(BrokerEventProducer.java:65)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
2023-05-19 17:00:55.527] 7ERROR] Rc.c.map.server.broker.BrokerClient] tCentreonBroker-1] : Error occured while communicating with Broker
java.io.IOException: Broker does not have the same options, switching negotiation options ...
at com.centreon.map.server.broker.BrokerClient.negotiate(BrokerClient.java:99)
at com.centreon.map.server.broker.bbdo.BrokerEventProducer.readBrokerPackets(BrokerEventProducer.java:65)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

 

Hi,

 

Based on the logs you provide, there is an error during the connection between map-engine and broker. Could you provide us more logs please.

 

Regards!

 


Installation avec documentation de MAP hebergé sur le central, je fini avec erreur 404

Diagnostic:

########## Centreon Map server version ##########

INFO] ii centreon-map-engine 23.04.0-bullseye amd64 Centreon Map service under Spring Boot framework

########## System ##########

INFO] SELinux is not available
Unit firewalld.service could not be found.
OK] Firewall is disabled
INFO] Physical memory available on the server: 8135672 kb.
INFO] Number of CPU available on the server: 4 core(s)

########## Java ##########

OK] Java 17 installed
OK] Optimization found for JVM: JAVA_OPTS="-Xms512m -Xmx4G -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/centreon-map -Dcentreon-map.signing-key=XveFFpHwCQ2MELePt7yeqCWsFFEHmQpM4deRRdQutwi8FfAzPDrgtG7FGYY4JZbLq -Dcentreon-map.access-token-validity-seconds=15552000 -Dmanagement.endpoints.enabled-by-default=false -Dmanagement.endpoint.health.enabled=true -Dmanagement.endpoint.metrics.enabled=true"

########## Database connection ##########

OK] Connection to centreon
OK] Connection to centreon_storage
OK] Connection to centreon_map

########## Security ##########

OK] Token signing key

########## Broker connection ##########

OK] Connection to 10.1.2.22 5758 port

########## Authentication ##########

OK] Centreon Central authentication using user centreon_map

########## Protocol verification ##########

INFO] Bypassing HTTPS check for Map server. Reason: centreon-map service not started
INFO] Centreon Central configured in Map to use http protocol.

 

 

Log de map:

h2023-05-19 17:00:54.525] 5ERROR] Rc.c.map.server.broker.BrokerClient] tCentreonBroker-1] : Error occured while communicating with Broker
java.io.IOException: Broker does not have the same options, switching negotiation options ...
at com.centreon.map.server.broker.BrokerClient.negotiate(BrokerClient.java:99)
at com.centreon.map.server.broker.bbdo.BrokerEventProducer.readBrokerPackets(BrokerEventProducer.java:65)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
2023-05-19 17:00:55.527] 7ERROR] Rc.c.map.server.broker.BrokerClient] tCentreonBroker-1] : Error occured while communicating with Broker
java.io.IOException: Broker does not have the same options, switching negotiation options ...
at com.centreon.map.server.broker.BrokerClient.negotiate(BrokerClient.java:99)
at com.centreon.map.server.broker.bbdo.BrokerEventProducer.readBrokerPackets(BrokerEventProducer.java:65)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

 

Hello,

i just checked my logs and i have the same issue,

did you find any solution?

Best regards,


Reply