You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
When I want export a configuration on central poller, file generation is blocked at 0%.
Steps to Reproduce
Please describe precisely the steps to reproduce the encountered issue.
I logged in Centreon
Go in Configuration->Poller->Export configuration. I check Move the generated files and restart
Stuck on 0%
Logs
PHP error logs
For version using PHP 7.2 or 7.3 on centOs 8 or PHP 8
[04-Mar-2022 09:41:10 Europe/Paris] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /usr/share/centreon/www/class/config-generate/hostgroup.class.php:98
Stack trace:
#0 /usr/share/centreon/www/class/config-generate/host.class.php(504): Hostgroup->generateObjects() #1 /usr/share/centreon/www/class/config-generate/generate.class.php(257): Host->generateFromPollerId() #2 /usr/share/centreon/www/class/config-generate/generate.class.php(290): Generate->configPoller() #3 /usr/share/centreon/www/include/configuration/configGenerate/xml/generateFiles.php(161): Generate->configPollerFromId() #4 {main}
thrown in /usr/share/centreon/www/class/config-generate/hostgroup.class.php on line 98
The text was updated successfully, but these errors were encountered:
BUG REPORT INFORMATION
Prerequisites
Versions
For the RPM based systems
-- Copy/Paste the result of the following command --
$ rpm -qa | grep centreon | egrep -v "(plugin|pack)" | sort
centreon-21.10.3-12.el7.centos.noarch
centreon-auto-discovery-server-21.10.1-1.el7.centos.noarch
centreon-base-config-centreon-engine-21.10.3-12.el7.centos.noarch
centreon-broker-21.10.1-5.el7.x86_64
centreon-broker-cbd-21.10.1-5.el7.x86_64
centreon-broker-cbmod-21.10.1-5.el7.x86_64
centreon-broker-core-21.10.1-5.el7.x86_64
centreon-broker-storage-21.10.1-5.el7.x86_64
centreon-clib-21.10.1-5.el7.x86_64
centreon-common-21.10.3-12.el7.centos.noarch
centreon-connector-21.10.1-5.el7.x86_64
centreon-connector-perl-21.10.1-5.el7.x86_64
centreon-connector-ssh-21.10.1-5.el7.x86_64
centreon-database-21.10.3-12.el7.centos.noarch
centreon-engine-21.10.1-5.el7.x86_64
centreon-engine-daemon-21.10.1-5.el7.x86_64
centreon-engine-extcommands-21.10.1-5.el7.x86_64
centreon-gorgone-21.10.2-1.el7.centos.noarch
centreon-gorgone-centreon-config-21.10.2-1.el7.centos.noarch
centreon-license-manager-21.10.0-1.el7.centos.noarch
centreon-license-manager-common-21.10.0-1.el7.centos.noarch
centreon-perl-libs-21.10.3-12.el7.centos.noarch
centreon-poller-centreon-engine-21.10.3-12.el7.centos.noarch
centreon-pp-manager-21.10.0-2.el7.centos.noarch
centreon-release-21.10-5.el7.centos.noarch
centreon-trap-21.10.3-12.el7.centos.noarch
centreon-web-21.10.3-12.el7.centos.noarch
centreon-widget-engine-status-21.10.0-3.el7.centos.noarch
centreon-widget-global-health-21.10.1-1.el7.centos.noarch
centreon-widget-graph-monitoring-21.10.0-2.el7.centos.noarch
centreon-widget-grid-map-21.10.0-2.el7.centos.noarch
centreon-widget-hostgroup-monitoring-21.10.0-2.el7.centos.noarch
centreon-widget-host-monitoring-21.10.0-2.el7.centos.noarch
centreon-widget-httploader-21.10.0-3.el7.centos.noarch
centreon-widget-live-top10-cpu-usage-21.10.0-2.el7.centos.noarch
centreon-widget-live-top10-memory-usage-21.10.0-2.el7.centos.noarch
centreon-widget-servicegroup-monitoring-21.10.0-2.el7.centos.noarch
centreon-widget-service-monitoring-21.10.1-1.el7.centos.noarch
centreon-widget-tactical-overview-21.10.0-2.el7.centos.noarch
Operating System
CentOS 7
Browser used
Version: --
21.10.3
Description
When I want export a configuration on central poller, file generation is blocked at 0%.
Steps to Reproduce
Please describe precisely the steps to reproduce the encountered issue.
Logs
PHP error logs
For version using PHP 7.2 or 7.3 on centOs 8 or PHP 8
[04-Mar-2022 09:41:10 Europe/Paris] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /usr/share/centreon/www/class/config-generate/hostgroup.class.php:98
Stack trace:
#0 /usr/share/centreon/www/class/config-generate/host.class.php(504): Hostgroup->generateObjects()
#1 /usr/share/centreon/www/class/config-generate/generate.class.php(257): Host->generateFromPollerId()
#2 /usr/share/centreon/www/class/config-generate/generate.class.php(290): Generate->configPoller()
#3 /usr/share/centreon/www/include/configuration/configGenerate/xml/generateFiles.php(161): Generate->configPollerFromId()
#4 {main}
thrown in /usr/share/centreon/www/class/config-generate/hostgroup.class.php on line 98
The text was updated successfully, but these errors were encountered: