"Configuration Files Export" Blocked

Symptom

image__2_.png

Problem

With older versions of Centreon, when a group or template is disabled but contains hosts or services, configuration export can be stuck.

Solution

  • Check that you do not have any host groups or services that are disabled and have hosts/services being monitored. If so, re-enable them, this will solve the problem.
  • Check that you don't have a service/host template that is disabled, but still linked to a host/service.
  • Check /etc/centreon/centreon.conf.php, the last line must not be empty / a line break.

 

If the problem persists, please open a ticket with the return of these requests:

 

mysql -D centreon -u<your_user> -p




select * from hostgroup_relation where hostgroup_hg_id IN (select hg_id from hostgroup where hg_activate != '1');




select * from servicegroup_relation where servicegroup_sg_id IN (select sg_id from servicegroup where sg_activate != '1');




select service_template_model_stm_id from service where service_register = '1' and service_activate = '1' and service_template_model_stm_id in (select service_id from service where service_register = '0' and service_activate = '0');




select host_id from host join host_template_relation htr ON host.host_id = htr.host_tpl_id where host_register = '0' and host_activate = '0' and htr.host_host_id in (select host_id from host where host_register = '1' and host_activate = '1');

 

In addition, attach the file /etc/centreon/centreon.conf.php in your ticket.

 

⚠️ THIS IS A BUG ALREADY FIXED, PLEASE UPDATE OR/AND UPGRADE TO AN ULTERIOR VERSION

Was this article helpful?

2 out of 2 found this helpful