Hi all!
I installed on a new Centos 6.3 machine, Nagios and Centreon 2.3.8 following this guide: http://en.doc.centreon.com/Setup:Centos/Fedora/RHEL
Everything went fine, I can see the default Centreon-Server host and the 4 services assigned, looks ok, but when I try to add/modify anything, generating just errors.
For example I can do export and everything is ok until I change something, like the generic-service template:
centreon1.jpg
The first thing: there no default checkboxes ... wich is weird
If I change anything, for example I'm enabling the Notifications, when I try to generate the files I get the following errors:
And sure, the generic-service template missing from this file, and disappear from the Service-Templates menu after that!Reading configuration data...
Read main config file okay...
Error Template 'generic-service' specified in service definition could not be not found (config file '/usr/local/centreon/filesGeneration/nagiosCFG/1/serviceTemplates.cfg', starting on line 1
Error Template 'generic-service' specified in service definition could not be not found (config file '/usr/local/centreon/filesGeneration/nagiosCFG/1/serviceTemplates.cfg', starting on line 100)
Error Template 'generic-service' specified in service definition could not be not found (config file '/usr/local/centreon/filesGeneration/nagiosCFG/1/serviceTemplates.cfg', starting on line 91)
Error Template 'generic-service' specified in service definition could not be not found (config file '/usr/local/centreon/filesGeneration/nagiosCFG/1/serviceTemplates.cfg', starting on line 34)
Error Template 'generic-service' specified in service definition could not be not found (config file '/usr/local/centreon/filesGeneration/nagiosCFG/1/serviceTemplates.cfg', starting on line 142)
Error processing object config files!
***> The name of the main configuration file looks suspicious...
I can see the following errors on the logs:
My enviroment: Centos 6.3, Nagios 3.2.3, ndoutils-1.4b9, Centreon 2.3.8[22-Nov-2012 10:40:08 UTC] PHP Warning: Illegal string offset 'service_register' in /usr/local/centreon/www/include/configuration/configObject/service/DB-Func.php on line 1174
[22-Nov-2012 10:40:08 UTC] PHP Warning: Illegal string offset 'MAX(service_id)' in /usr/local/centreon/www/include/configuration/configObject/service/DB-Func.php on line 1203
[22-Nov-2012 10:41:04 UTC] PHP Warning: file_put_contents(/usr/local/centreon/filesGeneration/broker//1/): failed to open stream: Is a directory in /usr/local/centreon/www/include/configuration/configGenerate/genCentreonBroker.php on line 123
mysql-libs-5.5.28-1.el6.remi.x86_64
php-mysql-5.4.8-1.el6.remi.x86_64
mysql-5.5.28-1.el6.remi.x86_64
compat-mysql51-5.1.54-1.el6.remi.x86_64
mysql-server-5.5.28-1.el6.remi.x86_64
mysql-devel-5.5.28-1.el6.remi.x86_64
php-gd-5.4.8-1.el6.remi.x86_64
php-xml-5.4.8-1.el6.remi.x86_64
php-pecl-mongo-1.2.12-1.el6.remi.1.x86_64
php-process-5.4.8-1.el6.remi.x86_64
php-common-5.4.8-1.el6.remi.x86_64
php-pecl-igbinary-1.1.2-0.1.git3b8ab7e.el6.remi.x86_64
php-pgsql-5.4.8-1.el6.remi.x86_64
php-mcrypt-5.4.8-1.el6.remi.x86_64
php-mysql-5.4.8-1.el6.remi.x86_64
php-pecl-memcache-3.0.7-4.el6.remi.1.x86_64
php-pecl-sqlite-2.0.0-0.1.svn313074.el6.remi.x86_64
php-cli-5.4.8-1.el6.remi.x86_64
php-fpm-5.4.8-1.el6.remi.x86_64
php-pdo-5.4.8-1.el6.remi.x86_64
php-pecl-memcached-2.1.0-4.el6.remi.1.x86_64
php-pecl-apc-3.1.13-3.el6.remi.1.x86_64
php-mbstring-5.4.8-1.el6.remi.x86_64
php-5.4.8-1.el6.remi.x86_64
php-pear-1.9.4-11.el6.remi.1.noarch
nginx-1.2.4-1.el6.ngx.x86_64
Can anyone help me with this?
Thanks in advance!


Reply With Quote
Bookmarks