Skip to main content

Hi,

After the upgrade I can no longer push the configuration to distant pollers. Pushing the configuration to the central is OK, but when I try to do it for a distant poller I get this error:

Preparing environment... OK
Generating files... NOK (Exception received : Warning: Undefined array key 4 file: /usr/share/centreon/www/class/config-generate/broker.class.php] pline: 211] )
Aborted.


Any idea ?

I also have this error in /var/log/php-fpm/centreon-error.log :
d30-Apr-2024 16:01:12 Europe/Paris] ERROR: No route found for "GET https://xxxxxxx.xxx/centreon/api/latest/auto-discovery/scheduling/jobs" {"context":""object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET https://xxxxxxx.xxx/centreon/api/latest/auto-discovery/scheduling/jobs\" at /usr/share/centreon/vendor/symfony/http-kernel/EventListener/RouterListener.php:135)\n)previous exception] nobject] (Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/centreon/api/latest/auto-discovery/scheduling/jobs/\". at /usr/share/centreon/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:74)"}

But it probably is not related as I get it one a one minute period.

Versions on the central:

$ rpm -qa | grep centreon | sort -u
centreon-auto-discovery-server-23.10.2-1.el8.noarch
centreon-awie-23.10.0-1.el8.noarch
centreon-broker-23.10.6-1.el8.x86_64
centreon-broker-cbd-23.10.6-1.el8.x86_64
centreon-broker-cbmod-23.10.6-1.el8.x86_64
centreon-broker-core-23.10.6-1.el8.x86_64
centreon-broker-selinux-23.10.6-1.el8.x86_64
centreon-central-23.10.11-1.el8.noarch
centreon-clib-23.10.6-1.el8.x86_64
centreon-common-23.10.11-1.el8.noarch
centreon-common-selinux-23.10.11-1.el8.noarch
centreon-connector-23.10.6-1.el8.x86_64
centreon-connector-perl-23.10.6-1.el8.x86_64
centreon-connector-ssh-23.10.6-1.el8.x86_64
centreon-engine-23.10.6-1.el8.x86_64
centreon-engine-daemon-23.10.6-1.el8.x86_64
centreon-engine-selinux-23.10.6-1.el8.x86_64
centreon-gorgone-23.10.6-1.el8.noarch
centreon-gorgone-centreon-config-23.10.6-1.el8.noarch
centreon-gorgoned-selinux-23.10.6-1.el8.noarch
centreon-it-edition-extensions-23.10.3-1.el8.noarch
centreon-license-manager-23.10.1-1.el8.noarch
centreon-license-manager-common-23.10.1-1.el8.noarch
centreon-nrpe3-plugin-4.1.0-150207.el8.x86_64
centreon-pack-applications-antivirus-mcafee-webgateway-snmp-23.04.0-1.el8.noarch
centreon-pack-applications-databases-elasticsearch-24.04.1-1.el8.noarch
centreon-pack-applications-databases-mongodb-23.10.0-1.el8.noarch
centreon-pack-applications-databases-mssql-24.01.1-1.el8.noarch
centreon-pack-applications-databases-mysql-24.01.1-1.el8.noarch
centreon-pack-applications-databases-oracle-24.01.1-1.el8.noarch
centreon-pack-applications-databases-postgresql-23.10.0-1.el8.noarch
centreon-pack-applications-elasticsearch-23.04.0-1.el8.noarch
centreon-pack-applications-haproxy-snmp-23.04.0-1.el8.noarch
centreon-pack-applications-ibm-tsm-dsmadmc-23.04.0-1.el8.noarch
centreon-pack-applications-jvm-actuator-23.04.0-1.el8.noarch
centreon-pack-applications-monitoring-centreon-central-24.03.1-1.el8.noarch
centreon-pack-applications-monitoring-centreon-database-24.03.1-1.el8.noarch
centreon-pack-applications-monitoring-centreon-poller-24.03.0-1.el8.noarch
centreon-pack-applications-mscs-nrpe-23.04.0-1.el8.noarch
centreon-pack-applications-protocol-dns-23.04.0-1.el8.noarch
centreon-pack-applications-protocol-http-23.11.0-1.el8.noarch
centreon-pack-applications-protocol-ldap-23.04.0-1.el8.noarch
centreon-pack-applications-protocol-snmp-24.04.1-1.el8.noarch
centreon-pack-applications-protocol-ssh-23.04.0-1.el8.noarch
centreon-pack-applications-protocol-tcp-23.05.3-1.el8.noarch
centreon-pack-applications-protocol-x509-23.09.0-1.el8.noarch
centreon-pack-applications-rubrik-restapi-24.02.0-1.el8.noarch
centreon-pack-applications-wallix-bastion-snmp-23.04.0-1.el8.noarch
centreon-pack-applications-weblogic-jmx-23.04.0-1.el8.noarch
centreon-pack-applications-webservers-apache-serverstatus-23.04.0-1.el8.noarch
centreon-pack-applications-webservers-iis-nsclient-05-restapi-23.04.0-1.el8.noarch
centreon-pack-applications-webservers-tomcat-jmx-23.04.0-1.el8.noarch
centreon-pack-applications-webservers-tomcat-webmanager-23.04.0-1.el8.noarch
centreon-pack-base-generic-23.04.0-1.el8.noarch
centreon-pack-cloud-aws-s3-23.08.0-1.el8.noarch
centreon-pack-cloud-kubernetes-api-23.08.0-1.el8.noarch
centreon-pack-cloud-prometheus-api-23.08.0-1.el8.noarch
centreon-pack-cloud-prometheus-kubernetes-api-23.04.0-1.el8.noarch
centreon-pack-cloud-prometheus-node-exporter-api-23.04.0-1.el8.noarch
centreon-pack-hardware-servers-cisco-ucs-snmp-23.04.0-1.el8.noarch
centreon-pack-hardware-servers-dell-idrac-snmp-23.04.0-1.el8.noarch
centreon-pack-hardware-servers-hp-blade-chassis-snmp-23.04.0-1.el8.noarch
centreon-pack-hardware-servers-hp-ilo-xmlapi-23.11.0-1.el8.noarch
centreon-pack-hardware-servers-hp-snmp-23.04.0-1.el8.noarch
centreon-pack-hardware-servers-ibm-bladecenter-snmp-23.04.0-1.el8.noarch
centreon-pack-hardware-storage-hitachi-hnas-snmp-23.06.0-1.el8.noarch
centreon-pack-hardware-storage-hitachi-standard-snmp-23.04.0-1.el8.noarch
centreon-pack-hardware-storage-netapp-snmp-23.04.0-1.el8.noarch
centreon-pack-network-cisco-esa-xmlapi-23.04.0-1.el8.noarch
centreon-pack-network-cisco-ironport-snmp-23.04.0-1.el8.noarch
centreon-pack-network-cisco-standard-snmp-23.07.0-1.el8.noarch
centreon-pack-network-cisco-wlc-snmp-23.09.0-1.el8.noarch
centreon-pack-network-citrix-sdx-snmp-23.04.0-1.el8.noarch
centreon-pack-network-firewalls-checkpoint-snmp-23.04.0-1.el8.noarch
centreon-pack-network-firewalls-cisco-asa-snmp-23.04.0-1.el8.noarch
centreon-pack-network-generic-bluecoat-snmp-23.04.0-1.el8.noarch
centreon-pack-network-oneaccess-snmp-23.07.0-1.el8.noarch
centreon-pack-network-switchs-cisco-smallbusiness-standard-snmp-23.04.0-1.el8.noarch
centreon-pack-operatingsystems-aix-snmp-23.04.0-1.el8.noarch
centreon-pack-operatingsystems-linux-nrpe-23.04.0-1.el8.noarch
centreon-pack-operatingsystems-linux-snmp-23.12.2-1.el8.noarch
centreon-pack-operatingsystems-windows-nrpe-23.04.0-1.el8.noarch
centreon-pack-operatingsystems-windows-nsclient-05-restapi-23.11.0-1.el8.noarch
centreon-pack-operatingsystems-windows-snmp-24.04.1-1.el8.noarch
centreon-pack-virtualization-vmware2-esx-24.03.0-1.el8.noarch
centreon-pack-virtualization-vmware2-esx-wsman-23.04.0-1.el8.noarch
centreon-pack-virtualization-vmware2-vcenter-6-23.04.0-1.el8.noarch
centreon-pack-virtualization-vmware2-vcenter-generic-24.03.0-1.el8.noarch
centreon-pack-virtualization-vmware2-vm-24.03.0-1.el8.noarch
centreon-perl-libs-23.10.11-1.el8.noarch
centreon-plugin-Applications-Antivirus-Mcafee-Webgateway-Snmp-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Elasticsearch-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Mssql-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Mysql-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Oracle-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Postgresql-20240411-123504.el8.noarch
centreon-plugin-Applications-Jvm-Actuator-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Central-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Database-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Poller-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Dns-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Ftp-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Http-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Ldap-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Nrpe-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Tcp-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-X509-20240411-123504.el8.noarch
centreon-plugin-Applications-Rubrik-Restapi-20240411-123504.el8.noarch
centreon-plugin-Applications-Wallix-Bastion-Snmp-20240411-123504.el8.noarch
centreon-plugin-Applications-Weblogic-Jmx-20240411-123504.el8.noarch
centreon-plugin-Applications-Webservers-Apache-Serverstatus-20240411-123504.el8.noarch
centreon-plugin-Applications-Webservers-Tomcat-Jmx-20240411-123504.el8.noarch
centreon-plugin-Cloud-Kubernetes-Api-20240411-123504.el8.noarch
centreon-plugin-Cloud-Prometheus-Api-20240411-123504.el8.noarch
centreon-plugin-Hardware-Printers-Generic-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Servers-Cisco-Ucs-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Servers-Dell-IDrac-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Servers-Hp-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Storage-Hitachi-Hnas-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Storage-Hitachi-Standard-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp-20240411-123504.el8.noarch
centreon-plugin-Network-Cisco-Standard-Snmp-20240411-123504.el8.noarch
centreon-plugin-Network-Firewalls-Checkpoint-Snmp-20240411-123504.el8.noarch
centreon-plugin-Operatingsystems-Aix-Snmp-20240411-123504.el8.noarch
centreon-plugin-Operatingsystems-Linux-Snmp-20240411-123504.el8.noarch
centreon-plugin-Operatingsystems-Windows-Snmp-20240411-123504.el8.noarch
centreon-plugin-packs-release-22.10-1.el8.noarch
centreon-plugins-selinux-0.0.8-083704.el8.x86_64
centreon-poller-23.10.11-1.el8.noarch
centreon-pp-manager-23.10.2-1.el8.noarch
centreon-release-22.10-1.el8.noarch
centreon-trap-23.10.11-1.el8.noarch
centreon-web-23.10.11-1.el8.noarch
centreon-web-selinux-23.10.11-1.el8.noarch
centreon-widget-engine-status-23.10.0-1.el8.noarch
centreon-widget-global-health-23.10.0-1.el8.noarch
centreon-widget-graph-monitoring-23.10.0-1.el8.noarch
centreon-widget-grid-map-23.10.0-1.el8.noarch
centreon-widget-hostgroup-monitoring-23.10.0-1.el8.noarch
centreon-widget-host-monitoring-23.10.0-1.el8.noarch
centreon-widget-httploader-23.10.0-1.el8.noarch
centreon-widget-live-top10-cpu-usage-23.10.0-1.el8.noarch
centreon-widget-live-top10-memory-usage-23.10.0-1.el8.noarch
centreon-widget-servicegroup-monitoring-23.10.0-1.el8.noarch
centreon-widget-service-monitoring-23.10.0-1.el8.noarch
centreon-widget-single-metric-23.10.0-1.el8.noarch
centreon-widget-tactical-overview-23.10.0-1.el8.noarch

Version on the poller:

$ rpm -qa | grep centreon | sort -u
centreon-broker-23.10.6-1.el8.x86_64
centreon-broker-cbmod-23.10.6-1.el8.x86_64
centreon-broker-core-23.10.6-1.el8.x86_64
centreon-broker-selinux-23.10.6-1.el8.x86_64
centreon-clib-23.10.6-1.el8.x86_64
centreon-clib-debuginfo-23.10.6-1.el8.x86_64
centreon-collect-client-23.10.6-1.el8.x86_64
centreon-collect-client-debuginfo-23.10.6-1.el8.x86_64
centreon-collect-debuginfo-22.10.9-1.el8.x86_64
centreon-common-23.10.11-1.el8.noarch
centreon-common-selinux-23.10.11-1.el8.noarch
centreon-connector-23.10.6-1.el8.x86_64
centreon-connector-perl-23.10.6-1.el8.x86_64
centreon-connector-ssh-23.10.6-1.el8.x86_64
centreon-engine-23.10.6-1.el8.x86_64
centreon-engine-daemon-23.10.6-1.el8.x86_64
centreon-engine-daemon-debuginfo-23.10.6-1.el8.x86_64
centreon-engine-selinux-23.10.6-1.el8.x86_64
centreon-gorgone-23.10.6-1.el8.noarch
centreon-gorgone-centreon-config-23.10.6-1.el8.noarch
centreon-gorgoned-selinux-23.10.6-1.el8.noarch
centreon-nrpe3-plugin-4.1.0-150207.el8.x86_64
centreon-perl-libs-23.10.11-1.el8.noarch
centreon-plugin-Applications-Antivirus-Mcafee-Webgateway-Snmp-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Mssql-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Mysql-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Oracle-20240411-123504.el8.noarch
centreon-plugin-Applications-Databases-Postgresql-20240411-123504.el8.noarch
centreon-plugin-Applications-Jvm-Actuator-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Central-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Database-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Centreon-Poller-20240411-123504.el8.noarch
centreon-plugin-Applications-Monitoring-Openmetrics-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Dns-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Ftp-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Http-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Ldap-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Nrpe-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-Tcp-20240411-123504.el8.noarch
centreon-plugin-Applications-Protocol-X509-20240411-123504.el8.noarch
centreon-plugin-Applications-Rubrik-Restapi-20240411-123504.el8.noarch
centreon-plugin-Applications-Wallix-Bastion-Snmp-20240411-123504.el8.noarch
centreon-plugin-Applications-Webservers-Apache-Serverstatus-20240411-123504.el8.noarch
centreon-plugin-Cloud-Kubernetes-Api-20240411-123504.el8.noarch
centreon-plugin-Cloud-Prometheus-Api-20240411-123504.el8.noarch
centreon-plugin-Cloud-Prometheus-Node-Exporter-Api-20240411-123504.el8.noarch
centreon-plugin-Hardware-Printers-Generic-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Servers-Cisco-Ucs-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Servers-Hp-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Storage-Hitachi-Hnas-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Storage-Hitachi-Standard-Snmp-20240411-123504.el8.noarch
centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp-20240411-123504.el8.noarch
centreon-plugin-Network-Beeware-Snmp-20240411-123504.el8.noarch
centreon-plugin-Network-Cisco-Standard-Snmp-20240411-123504.el8.noarch
centreon-plugin-Network-Firewalls-Checkpoint-Snmp-20240411-123504.el8.noarch
centreon-plugin-Operatingsystems-Aix-Snmp-20240411-123504.el8.noarch
centreon-plugin-Operatingsystems-Linux-Snmp-20240411-123504.el8.noarch
centreon-plugin-Operatingsystems-Windows-Snmp-20240411-123504.el8.noarch
centreon-plugins-selinux-0.0.8-083704.el8.x86_64
centreon-poller-23.10.11-1.el8.noarch
centreon-release-22.10-1.el8.noarch
centreon-trap-23.10.11-1.el8.noarch
centreon-web-selinux-23.10.11-1.el8.noarch

I notice I still have a “centreon-release-22.10-1.el8.noarch” which is strange. I’m going to remove it.


I tried few things using CLAPI but get surprising error messages:

 

$ centreon -u xxxx -p xxxx  -a pollerreload -v2 PHP Warning:  file_put_contents(/var/lib/centreon/centcore/2675167097574-externalcommand.cmd): Failed to open stream: Permission denied in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 116 PHP Warning:  file_put_contents(/var/lib/centreon/centcore/2675167157763-externalcommand.cmd): Failed to open stream: Permission denied in /usr/share/centreon/www/class/centreon-clapi/centreon.Config.Poller.class.php on line 116 OK: A reload signal has been sent to 'Poller1' Return code end : 1

 


$ sudo centreon -u  xxxx -p xxxxx -a pollergenerate -v 1 Configuration files generated for poller '1' Return code end : 0

$ sudo centreon -u xxxxx -p xxxxx -a pollergenerate -v 2 Please check that your parameters are valid

$ sudo centreon -u xxxx -p xxxxxx -a pollergenerate -v 3 Please check that your parameters are valid

To start with, I don’t understand why there is still some reference to “centcore”, I thought it wasn’t part of Centreon since Gorgone, but I probably misunderstood something.

I don’t have any file named “/var/lib/centreon/centcore/2675167097574-externalcommand.cmd” on the central.

I did all that was instructed in https://docs.centreon.com/docs/upgrade/upgrade-from-22-10/ so I really don’t understand.

Before upgrading this platform I did the upgrade on a fresh installed 22.10 and had no problem.


I hope it is not a serious bug and it can be fixed so I won’t have to go get back to the 22.10.21 snapshot I did before the upgrade :(


Il y a manifestement eu un raté lors de cette mise à jour de 22.10.21 à 23.10.11, elle s’était pourtant bien passée sur une plateforme fraîchement installée en 22.10.21 afin de tester l’opération au préalable.
La plateforme avec laquelle je rencontre le problème ci-dessous a elle un historique conséquent, les données ont été migrées d’une PF 20.04 CentOS7, et pas mal de tests ont aussi été réalisés depuis les années. Notamment  un test de Centreon HA. Je suppose que les scripts de mises à jour ne peuvent pas prévoir tous les cas de figures. Quoi qu’il en soit:

 - Les nouveaux fichiers de configuration de Gorgone n’avaient pas été mis en place lors de l’upgrade contrairement à ce qui a bien eu lieu sur la première plateforme (ie: PF installée en 22.10.21 mais “vierge”), je les ai positionnés.
 - Si je me fie au message d’erreur et au code source le problème semble se situer au niveau configuration broker, car à la ligne 211 on a ça:

            $logs = $this->cacheLogValue<$object'broker_id']];


(j’ai vérifié si le code PHP était identique (ie: avait été correctement mis à jour), c’est la cas.

Voilà. Je continue de chercher. Je maintiens ma montée de version de la production ce samedi car il pourrait manifestement s’agir d’un problème lié à la plateforme elle-même et pas uniquement aux scripts de mise à jour. J’espère ne pas rencontrer le même problème car sinon cela signifie un retour arrière en 22.10.21 (voire en 22.10.19, je fais un snapshot post mise à jour à la dernière 22.10 avant de mettre à jour en 23.10).



 


Sur le central de la première PF installée en 23.10 sans problème:

$ diff <(ssh central_qui_pose_pb 'sudo cat /etc/centreon-gorgone/config.d/31-centreon-api.yaml') /etc/centreon-gorgone/config.d/31-centreon-api.yaml

4,6c4,6

<       base_url: "http://central_qui_pose_pb.domain/centreon/api/latest/"

<       username: "admin"

<       password: "Cn***"

---

>       base_url: "http://127.0.0.1/centreon/api/latest/"

>       username: "centreon-gorgone"

>       password: "bA***"

8,9c8,9

<       username: "admin"

<       password: "Cn***"

---

>       username: "centreon-gorgone"

>       password: "bA***"

Il semble qu’au moins le fichier /etc/centreon-gorgone/config.d/31-centreon-api.yaml n’a pas été correctement mis à jour lui aussi.

Je vais creuser cette piste.


Non à priori pas de pb côté fichier 31-gorgone-api.yaml. La génération de la conf se fait bien pour le central d’ailleurs, c’est seulement pour les pollers distant que j’ai le pb. Il y a p-e aussi un pb de droit, j’ai mis gorgoned en mode debug et je vois ça :

{"code":0,"message":"Cannot rename \"\/tmp\/url_matching_routes.phpwFP2xl\" to \"\/var\/cache\/centreon\/symfony\/url_matching_routes.php\": rename(\/tmp\/url_matching_routes.phpwFP2xl,\/var\/cache\/centreon\/symfony\/url_matching_routes.php): Permission denied"}

J’ai pourtant supprimé tout le cache. Peut-être un pb de umask. Ça m’agace je sens que c’est un truc tout con :(
Ça a l’air d’une sacrée usine à gaz en tout cas Symfony.


This is driving me nuts! 😣

```
$ sudo centreon -u xxx -p$(cat /home/xxx/clapi.pass)  -a pollergenerate -v 1
Configuration files generated for poller '1'
Return code end : 0


$ sudo centreon -u xxx -p$(cat /home/xxx/clapi.pass)  -a pollertest -v 1
OK: Centreon Poller 1 can restart without problem...
Return code end : 0

 

$ sudo centreon -u xxx -p$(cat /home/xxx/clapi.pass)  -a pollergenerate -v 2
Please check that your parameters are valid

$ sudo centreon -u xxx -p$(cat /home/xxx/clapi.pass)  -a pollertest -v 2
OK: Centreon Poller 2 can restart without problem...
Return code end : 0


```

In the /var/cache/centreon/config directory I can see that configuration files for the engine are generated, but not the broker configuration files (it’s ok for poller with id, which is the central, but not for poller with id 2)

```

config/:
total 0
drwxrwsr-x 4 centreon centreon 34 15 mai   10:20 .
drwxrwxr-x 5 centreon centreon 55 15 mai   11:40 ..
drwxrwsr-x 4 centreon centreon 24 15 mai   15:32 engine
drwxrwsr-x 4 centreon centreon 59 15 mai   15:32 broker

config/engine:
total 8,0K
drwxrwsr-x 4 centreon centreon   34 15 mai   10:20 ..
drwxr-s--- 2 apache   apache   4,0K 15 mai   15:32 1
drwxr-s--- 2 root     centreon 4,0K 15 mai   15:32 2
drwxrwsr-x 4 centreon centreon   24 15 mai   15:32 .

config/engine/1:
total 540K
-rw-rw---- 1 apache   apache   1,1K 15 mai   15:32 severities.cfg
-rw-rw---- 1 apache   apache   1,1K 15 mai   15:32 escalations.cfg
-rw-rw---- 1 apache   apache   1,1K 15 mai   15:32 meta_timeperiod.cfg
-rw-rw---- 1 apache   apache   1,1K 15 mai   15:32 meta_services.cfg
-rw-rw---- 1 apache   apache   1,1K 15 mai   15:32 meta_host.cfg
-rw-rw---- 1 apache   apache   1,1K 15 mai   15:32 meta_commands.cfg
-rw-rw---- 1 apache   apache   2,1K 15 mai   15:32 timeperiods.cfg
-rw-rw---- 1 apache   apache   5,3K 15 mai   15:32 contacts.cfg
-rw-rw---- 1 apache   apache   1,6K 15 mai   15:32 contactgroups.cfg
-rw-rw---- 1 apache   apache    11K 15 mai   15:32 hostTemplates.cfg
-rw-rw---- 1 apache   apache    52K 15 mai   15:32 serviceTemplates.cfg
-rw-rw---- 1 apache   apache   204K 15 mai   15:32 services.cfg
-rw-rw---- 1 apache   apache    12K 15 mai   15:32 hosts.cfg
-rw-rw---- 1 apache   apache   7,9K 15 mai   15:32 hostgroups.cfg
-rw-rw---- 1 apache   apache    37K 15 mai   15:32 commands.cfg
-rw-rw---- 1 apache   apache    14K 15 mai   15:32 servicegroups.cfg
-rw-rw---- 1 apache   apache   118K 15 mai   15:32 dependencies.cfg
-rw-rw---- 1 apache   apache   7,1K 15 mai   15:32 tags.cfg
-rw-rw---- 1 apache   apache   1,3K 15 mai   15:32 resource.cfg
-rw-rw---- 1 apache   apache   1,4K 15 mai   15:32 connectors.cfg
-rw-rw---- 1 apache   apache   4,7K 15 mai   15:32 centengine.DEBUG
-rw-rw---- 1 apache   apache   4,4K 15 mai   15:32 centengine.cfg
drwxr-s--- 2 apache   apache   4,0K 15 mai   15:32 .
drwxrwsr-x 4 centreon centreon   24 15 mai   15:32 ..

config/engine/2:
total 3,4M
-rw-rw---- 1 root     centreon 1,1K 15 mai   15:32 severities.cfg
-rw-rw---- 1 root     centreon 1,1K 15 mai   15:32 escalations.cfg
-rw-rw---- 1 root     centreon 1,1K 15 mai   15:32 meta_timeperiod.cfg
-rw-rw---- 1 root     centreon 1,1K 15 mai   15:32 meta_services.cfg
-rw-rw---- 1 root     centreon 1,1K 15 mai   15:32 meta_host.cfg
-rw-rw---- 1 root     centreon 1,1K 15 mai   15:32 meta_commands.cfg
-rw-rw---- 1 root     centreon 1,6K 15 mai   15:32 timeperiods.cfg
-rw-rw---- 1 root     centreon 1,3K 15 mai   15:32 contactgroups.cfg
-rw-rw---- 1 root     centreon  19K 15 mai   15:32 hostTemplates.cfg
-rw-rw---- 1 root     centreon  82K 15 mai   15:32 serviceTemplates.cfg
-rw-rw---- 1 root     centreon 3,5K 15 mai   15:32 contacts.cfg
-rw-rw---- 1 root     centreon 2,5M 15 mai   15:32 services.cfg
-rw-rw---- 1 root     centreon 122K 15 mai   15:32 hosts.cfg
-rw-rw---- 1 root     centreon  36K 15 mai   15:32 commands.cfg
-rw-rw---- 1 root     centreon 8,0K 15 mai   15:32 servicegroups.cfg
-rw-rw---- 1 root     centreon  57K 15 mai   15:32 hostgroups.cfg
-rw-rw---- 1 root     centreon 475K 15 mai   15:32 dependencies.cfg
-rw-rw---- 1 root     centreon 8,8K 15 mai   15:32 tags.cfg
-rw-rw---- 1 root     centreon 1,4K 15 mai   15:32 connectors.cfg
-rw-rw---- 1 root     centreon 1,3K 15 mai   15:32 resource.cfg
-rw-rw---- 1 root     centreon 4,9K 15 mai   15:32 centengine.DEBUG
-rw-rw---- 1 root     centreon 4,6K 15 mai   15:32 centengine.cfg
drwxrwsr-x 4 centreon centreon   24 15 mai   15:32 ..
drwxr-s--- 2 root     centreon 4,0K 15 mai   15:32 .

config/broker:
total 0
drwxrwsr-x 4 centreon centreon  34 15 mai   10:20 ..
drwxrws--- 2 apache   apache   105 15 mai   15:32 1
drwxrws--- 2 root     centreon   6 15 mai   15:32 tmpdir_Qbsnho.d
-rw------- 1 root     centreon   0 15 mai   15:32 tmpdir_Qbsnho
drwxrwsr-x 4 centreon centreon  59 15 mai   15:32 .

config/broker/1:
total 16K
-rw-rw-rw- 1 apache   apache   3,2K 15 mai   15:32 central-broker.json
-rw-rw-rw- 1 apache   apache    550 15 mai   15:32 watchdog.json
-rw-rw-rw- 1 apache   apache   2,6K 15 mai   15:32 central-rrd.json
-rw-rw-rw- 1 apache   apache   2,1K 15 mai   15:32 central-module.json
drwxrws--- 2 apache   apache    105 15 mai   15:32 .
drwxrwsr-x 4 centreon centreon   59 15 mai   15:32 ..

config/broker/tmpdir_Qbsnho.d:
total 0
drwxrwsr-x 4 centreon centreon 59 15 mai   15:32 ..
drwxrws--- 2 root     centreon  6 15 mai   15:32 .

```

It’s been two days since I try to figure out what’s wrong without success. I got this only on one of the three platforms I upgraded from 22.10 to 23.10, this is crazy.

 


Reply