Skip to main content

Bonjour,

Pourriez vous me donner une solution pour le problème auquel je suis confronté qui apparait toujours lors de navigation sur la page ressources status en choississant la nouvelle vue par hôtes (essentiellement sur les navigateurs edge et chrome, l'anomalie n'a pas été détectée sur Firefox) (version centreon 23.10.12 et 24.04).

​​​​​

 

L’erreur est réplicable lors de l’ouverture d’un onglet supplémentaire centreon puis en allant sur la page  ressources status et en choississant la nouvelle vue par hôtes.

 

Error visible on second webpage when the 3rd stay ok

Ci-après la fenêtre de debug et un extrait des logs php-fpm : 

debug infos

 

tail -f /var/log/php-fpm/centreon-error.log

----------

e02-Jul-2024 14:25:03 Europe/Paris] WARNING: Warning: Undefined array key "metrics" {"exception":"eobject] (ErrorException(code: 0): Warning: Undefined array key \"metrics\" at /usr/share/centreon/src/Core/Resources/Infrastructure/API/FindResourcesByParent/FindResourcesByParentPresenter.php:170)"}

e02-Jul-2024 14:25:04 Europe/Paris] PHP Warning:  Undefined array key "theme" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/3a12079fa2965478d76d72cc600318d6915d1f2a_0.file.global_health_host.ihtml.php on line 27
h02-Jul-2024 14:25:04 Europe/Paris] PHP Warning:  Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/3a12079fa2965478d76d72cc600318d6915d1f2a_0.file.global_health_host.ihtml.php on line 27
_02-Jul-2024 14:25:04 Europe/Paris] PHP Warning:  Undefined array key "theme" in /usr/share/centreon/GPL_LIB/SmartyCache/compile/3a12079fa2965478d76d72cc600318d6915d1f2a_0.file.global_health_host.ihtml.php on line 27
l02-Jul-2024 14:25:04 Europe/Paris] PHP Warning:  Attempt to read property "value" on null in /usr/share/centreon/GPL_LIB/SmartyCache/compile/3a12079fa2965478d76d72cc600318d6915d1f2a_0.file.global_health_host.ihtml.php on line 27
a02-Jul-2024 14:25:09 Europe/Paris] WARNING: Warning: Undefined array key "metrics" {"exception":"eobject] (ErrorException(code: 0): Warning: Undefined array key \"metrics\" at /usr/share/centreon/src/Core/Resources/Infrastructure/API/FindResourcesByParent/FindResourcesByParentPresenter.php:170)"}

 

Liste des modules centreon : 

rpm -qa | grep 'centreon\|php' | egrep -v "(plugin|pack|widget)" |sort
centreon-23.10.12-1.el9.noarch
centreon-auto-discovery-server-23.10.2-1.el9.noarch
centreon-awie-23.10.0-1.el9.noarch
centreon-bam-server-23.10.7-1.el9.noarch
centreon-broker-23.10.7-1.el9.x86_64
centreon-broker-cbd-23.10.7-1.el9.x86_64
centreon-broker-cbmod-23.10.7-1.el9.x86_64
centreon-broker-core-23.10.7-1.el9.x86_64
centreon-broker-selinux-23.10.7-1.el9.x86_64
centreon-central-23.10.12-1.el9.noarch
centreon-clib-23.10.7-1.el9.x86_64
centreon-common-23.10.12-1.el9.noarch
centreon-common-selinux-23.10.12-1.el9.noarch
centreon-connector-23.10.7-1.el9.x86_64
centreon-connector-perl-23.10.7-1.el9.x86_64
centreon-connector-ssh-23.10.7-1.el9.x86_64
centreon-database-23.10.12-1.el9.noarch
centreon-engine-23.10.7-1.el9.x86_64
centreon-engine-daemon-23.10.7-1.el9.x86_64
centreon-engine-selinux-23.10.7-1.el9.x86_64
centreon-gorgone-23.10.7-1.el9.noarch
centreon-gorgone-centreon-config-23.10.7-1.el9.noarch
centreon-gorgoned-selinux-23.10.7-1.el9.noarch
centreon-it-edition-extensions-23.10.3-1.el9.noarch
centreon-license-manager-23.10.1-1.el9.noarch
centreon-license-manager-common-23.10.1-1.el9.noarch
centreon-perl-libs-23.10.12-1.el9.noarch
centreon-poller-23.10.12-1.el9.noarch
centreon-pp-manager-23.10.2-1.el9.noarch
centreon-trap-23.10.12-1.el9.noarch
centreon-web-23.10.12-1.el9.noarch
centreon-web-selinux-23.10.12-1.el9.noarch
php-cli-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-common-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-fpm-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-gd-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-intl-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-ldap-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-mbstring-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-mysqlnd-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-pdo-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-pear-1.10.14-1.el9.noarch
php-pecl-gnupg-1.5.1-1.el9.x86_64
php-pecl-zip-1.20.1-1.module+el9.1.0+15477+1fc469b9.x86_64
php-process-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-snmp-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64
php-sourceguardian-loader-8.1-1.el9.x86_64
php-xml-8.1.27-1.module+el9.3.0.z+21063+f4ccb976.x86_64

Same problem, I have opened a case with Centreon Technical Support.

They are currently reviewing it.

Regards,


Hello,

A centreon-web fix has already been published that solves the problem.

Regards,


Hello,

Are you talking about the following fix Centreon Web 23.10.13 ? 

I still have the same issue with the centreon-web-23.10.16 package under RHEL 9.

And they still occur with edge, chrome and still no issues with firefox.

Regards,


Reply