Skip to main content

Hello

After rebbot centreon server, the pollers is not running.

I have check the centreon documentation for this problem, but I can’t solved my problem.

 

I need help :grinning:

Thanks

Stéphane

Hello,
 

Did u check if does the centengine is runing on the server.

systemctl status centengine
systemctl restart centengine


Hello, Yes
 

 


This article might be helpful : 

 


I already saw this topic.

In the log : central-broker-master.log

And gorgoned.log

 


Hello @Joskin , 

Can you restart cbd and send us the complete logs after the restart ?


Hello

central-broker-master

[2022-02-03T15:37:01.372+01:00] [core] [info] /var/log/centreon-broker//central-broker-master.log : log started
[2022-02-03T15:37:01.375+01:00] [core] [info] Starting the TCP thread pool of 3 threads
[2022-02-03T15:37:01.379+01:00] [core] [info] protocols: registering protocol ('file' (layers 1-3)
[2022-02-03T15:37:01.379+01:00] [core] [info] protocols: registering protocol ('compression' (layers 6-6)
[2022-02-03T15:37:01.379+01:00] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)
[2022-02-03T15:37:01.379+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2022-02-03T15:37:01.393+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2022-02-03T15:37:01.401+01:00] [core] [info] NEB: module for Centreon Broker 21.10.0
[2022-02-03T15:37:01.401+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2022-02-03T15:37:01.630+01:00] [core] [info] protocols: registering protocol ('TLS' (layers 5-5)
[2022-02-03T15:37:01.630+01:00] [core] [info] protocols: registering protocol ('TCP' (layers 1-4)
[2022-02-03T15:37:01.630+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/80-sql.so'
[2022-02-03T15:37:01.637+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2022-02-03T15:37:01.638+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/20-storage.so'
[2022-02-03T15:37:01.656+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2022-02-03T15:37:01.656+01:00] [core] [info] protocols: registering protocol ('storage' (layers 1-7)
[2022-02-03T15:37:01.656+01:00] [core] [info] protocols: registering protocol ('SQL' (layers 1-7)
[2022-02-03T15:37:01.656+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/20-storage.so' which is already loaded
[2022-02-03T15:37:01.656+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2022-02-03T15:37:01.701+01:00] [core] [info] Destroying muxer central-broker-master-input: number of events in the queue: 0
[2022-02-03T15:37:01.705+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:37:01.707+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:37:01.707+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:37:01.707+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:37:01.739+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:37:01.739+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:37:01.739+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:37:01.739+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:37:06.707+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:37:06.707+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:37:06.740+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:37:06.740+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:37:15.708+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:37:15.708+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:37:15.741+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:37:15.741+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:37:32.710+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:37:32.710+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:37:32.742+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:37:32.742+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:38:05.712+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:38:05.712+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:38:05.744+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:38:05.744+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:39:05.716+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:39:05.716+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:39:05.750+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:39:05.750+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:40:05.720+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:40:05.721+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:40:05.755+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:40:05.755+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:41:05.725+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:41:05.725+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:41:05.759+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:41:05.759+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:42:05.729+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:42:05.729+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:42:05.763+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:42:05.763+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:43:05.733+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:43:05.733+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:43:05.768+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:43:05.768+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:44:05.738+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:44:05.738+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:44:05.773+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:44:05.773+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:45:05.742+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:45:05.742+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:45:05.777+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:45:05.777+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:46:05.747+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:46:05.747+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:46:05.781+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:46:05.781+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:47:05.751+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:47:05.751+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:47:05.785+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:47:05.785+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-02-03T15:48:05.756+01:00] [tcp] [error] TCP: Connection refused to localhost:5669
[2022-02-03T15:48:05.756+01:00] [core] [error] failover: global error: failover: 'connection-to-Joskin' cannot connect endpoint.
[2022-02-03T15:48:05.790+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-02-03T15:48:05.790+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.

gorgoned

2022-02-03 15:36:57 - INFO - [core] Initialize server keys
2022-02-03 15:36:57 - INFO - [core] Private key file '/var/lib/centreon-gorgone/.keys/rsakey.priv.pem' loaded
2022-02-03 15:36:57 - INFO - [core] Public key file '/var/lib/centreon-gorgone/.keys/rsakey.pub.pem' loaded
2022-02-03 15:36:57 - INFO - [core] Module 'httpserver' is loading
2022-02-03 15:36:57 - INFO - [core] Module 'httpserver' is loaded
2022-02-03 15:36:57 - INFO - [core] Module 'action' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'action' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'cron' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'cron' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'nodes' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'nodes' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'proxy' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'proxy' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'legacycmd' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'legacycmd' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'engine' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'engine' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'statistics' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'statistics' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'autodiscovery' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'autodiscovery' is loaded
2022-02-03 15:36:58 - INFO - [core] Module 'dbcleaner' is loading
2022-02-03 15:36:58 - INFO - [core] Module 'dbcleaner' is loaded
2022-02-03 15:36:58 - INFO - [core] Gorgoned started
2022-02-03 15:36:58 - INFO - [core] PID 776
2022-02-03 15:36:59 - INFO - [nodes] Create module 'nodes' process
2022-02-03 15:36:59 - INFO - [dbcleaner] Create module 'dbcleaner' process
2022-02-03 15:36:59 - ERROR - [proxy] Cannot create child, need a core id
2022-02-03 15:36:59 - ERROR - [proxy] Cannot create child, need a core id
2022-02-03 15:36:59 - ERROR - [proxy] Cannot create child, need a core id
2022-02-03 15:36:59 - ERROR - [proxy] Cannot create child, need a core id
2022-02-03 15:36:59 - ERROR - [proxy] Cannot create child, need a core id
2022-02-03 15:36:59 - INFO - [autodiscovery] Create module 'autodiscovery' process
2022-02-03 15:36:59 - INFO - [cron] Create module 'cron' process
2022-02-03 15:36:59 - INFO - [engine] Create module 'engine' process
2022-02-03 15:36:59 - INFO - [statistics] Create module 'statistics' process
2022-02-03 15:36:59 - INFO - [action] Create module 'action' process
2022-02-03 15:36:59 - INFO - [httpserver] Create module 'httpserver' process
2022-02-03 15:36:59 - INFO - [legacycmd] Create module 'legacycmd' process
2022-02-03 15:36:59 - INFO - [core] Server accepting clients
2022-02-03 15:36:59 - INFO - [cron] Adding cron definition 'broker_stats'
2022-02-03 15:36:59 - INFO - [cron] Adding cron definition 'engine_stats'
2022-02-03 15:36:59 - ERROR - [autodiscovery] Receiving DIE: Couldn't connect to server
2022-02-03 15:36:59 - ERROR - curl perform error : Couldn't connect to server
2022-02-03 15:36:59 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - http request error
2022-02-03 15:36:59 - ERROR - MySQL error : cannot connect to database 'mysql:host=localhost:3306;dbname=centreon': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "Aucun fichier ou dossier de ce type") (caller: gorgone::class::db:/usr/share/perl5/vendor_perl/gorgone/class/db.pm:316) (try: 0)
2022-02-03 15:36:59 - ERROR - MySQL error : cannot connect to database 'mysql:host=localhost:3306;dbname=centreon': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "Aucun fichier ou dossier de ce type") (caller: gorgone::class::db:/usr/share/perl5/vendor_perl/gorgone/class/db.pm:316) (try: 0)
2022-02-03 15:36:59 - ERROR - [nodes] -class- cannot find debug configuration
2022-02-03 15:37:00 - ERROR - MySQL error : cannot connect to database 'mysql:host=localhost:3306;dbname=centreon': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "Aucun fichier ou dossier de ce type") (caller: gorgone::class::db:/usr/share/perl5/vendor_perl/gorgone/class/db.pm:316) (try: 1)
2022-02-03 15:37:00 - ERROR - [legacycmd] Cannot get configuration for pollers
2022-02-03 15:37:14 - INFO - [proxy] Create module 'proxy' child process for pool id '1'
2022-02-03 15:37:14 - INFO - [proxy] Create module 'proxy' child process for pool id '2'
2022-02-03 15:37:14 - INFO - [proxy] Create module 'proxy' child process for pool id '3'
2022-02-03 15:37:14 - INFO - [proxy] Create module 'proxy' child process for pool id '4'
2022-02-03 15:37:14 - INFO - [proxy] Create module 'proxy' child process for pool id '5'
2022-02-03 15:37:14 - INFO - [core] Setcoreid changed 1
2022-02-03 15:38:00 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:39:00 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:40:00 - INFO - [cron] Launching job 'broker_stats'
2022-02-03 15:40:00 - INFO - [cron] Launching job 'engine_stats'
2022-02-03 15:40:00 - INFO - [statistics] Collecting Engine statistics from target '1'
2022-02-03 15:40:00 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:41:00 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:42:00 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:43:00 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:44:01 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:45:00 - INFO - [cron] Launching job 'broker_stats'
2022-02-03 15:45:00 - INFO - [cron] Launching job 'engine_stats'
2022-02-03 15:45:00 - INFO - [statistics] Collecting Engine statistics from target '1'
2022-02-03 15:45:01 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:46:01 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:47:01 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:47:19 - INFO - [core] Setcoreid changed 1
2022-02-03 15:48:01 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-02-03 15:49:01 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']

 


2022-02-03 15:37:00 - ERROR - MySQL error : cannot connect to database 'mysql:host=localhost:3306;dbname=centreon':

Hi @Joskin ,

Looks like your DB is down. Did you check if MySQL is up and running?
 

"root@centreon-db ~]# systemctl status mysqld
● mariadb.service - MariaDB 10.3.25 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─centreon.conf, migrated-from-my.cnf-settings.conf
Active: active (running) since vie 2021-09-17 13:51:53 CEST; 4 months 17 days ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Main PID: 3511 (mysqld)
Status: "Taking your SQL requests now..."
CGroup: /system.slice/mariadb.service
└─3511 /usr/sbin/mysqld
groot@centreon-db ~]# ss -lnp | grep 3306
tcp LISTEN 0 80 ::]:3306 ::]:* users:(("mysqld",pid=3511,fd=19))

 


Hello 

 

eroot@centreon ~]# systemctl status mysqld
● mariadb.service - MariaDB 10.3.25 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─centreon.conf, limits.conf, migrated-from-my.cnf-settings.conf
Active: active (running) since ven 2022-02-04 08:25:53 CET; 1min 0s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 1759 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 1085 ExecStartPre=/bin/sh -c n ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; o $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 1075 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 1163 (mysqld)
Status: "Taking your SQL requests now..."
CGroup: /system.slice/mariadb.service
└─1163 /usr/sbin/mysqld

fév 04 08:25:52 centreon.joskin.local mysqld.1163]: 2022-02-04 8:25:52 0 4Note] InnoDB: 10.3.25 started; log sequence number 2795454127; transaction id 1585581
fév 04 08:25:52 centreon.joskin.local mysqldn1163]: 2022-02-04 8:25:52 0 0Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
fév 04 08:25:52 centreon.joskin.local mysqldi1163]: 2022-02-04 8:25:52 0 -Note] Plugin 'FEEDBACK' is disabled.
fév 04 08:25:52 centreon.joskin.local mysqldk1163]: 2022-02-04 8:25:52 0 2Note] Server socket created on IP: '::'.
fév 04 08:25:53 centreon.joskin.local mysqlds1163]: 2022-02-04 8:25:53 0 0Note] Reading of all Master_info entries succeeded
fév 04 08:25:53 centreon.joskin.local mysqldo1163]: 2022-02-04 8:25:53 0 -Note] Added new Master_info '' to hash table
fév 04 08:25:53 centreon.joskin.local mysqldj1163]: 2022-02-04 8:25:53 0 2Note] /usr/sbin/mysqld: ready for connections.
fév 04 08:25:53 centreon.joskin.local mysqld.1163]: Version: '10.3.25-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
fév 04 08:25:53 centreon.joskin.local systemd.1]: Started MariaDB 10.3.25 database server.
fév 04 08:25:56 centreon.joskin.local mysqldo1163]: 2022-02-04 8:25:56 0 2Note] InnoDB: Buffer pool(s) load completed at 220204 8:25:56
croot@centreon ~]# ss -lnp | grep 3306
tcp LISTEN 0 80 T::]:3306 :::]:* users:(("mysqld",pid=1163,fd=23))

Thanks


Hi @Joskin 

I see that you just restarted your MySQL:

active (running) since ven 2022-02-04 08:25:53 CET; 1min 0s ago

It was running before? Did you try restarting the other services after the mysqld restart?

systemctl restart cbd centengine gorgoned

 


Hi,

I just tried to restart everything. But the poller does not work.

 


I didn't install Centreon.

I think the problem comes from the installation.

If I reinstall it, is it possible to take all the configured hosts and import them into a new Centreon?

I'm tired of looking for this problem:disappointed:


I didn't install Centreon.

I think the problem comes from the installation.

If I reinstall it, is it possible to take all the configured hosts and import them into a new Centreon?

I'm tired of looking for this problem:disappointed:

Hi @Joskin 

You could use the Centreon CLAPI (here there’s more information: https://docs.centreon.com/20.10/en/api/clapi.html#export )

Is pretty easy to export your configuration:

centreon -u admin -p centreon -e > /tmp/clapi-export.txt

But take into account that the following information won’t be exported:

  • Escalation
  • ACL (ACL Groups, ACL Resources, ACL actions)
  • LDAP settings
  • Global Centreon settings

In the new Centreon you can import your data as follows:
 

centreon -u admin -p centreon -i /tmp/clapi-export.txt

To get further information take a look to the link above!
 


Reply