LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File README.SUSE of Package centreon-web (Project home:ecsos:monitoring)

1. First put innodb_log_file_size = 64M in /etc/my.cnf
2. check if mysql run
3. restart apache in openSUSE_13.1 because apache macros are buggy
4. Call http://<your server name>/centreon
   4.1. Change Centreon Engine Connector path to your arch-lib ( lib or lib64)
   4.2. Use as Server, not localhost.
5. Under http://<your server name>/centreon -> Configuration->Pollers->engine configuration->Data
   change lib in path in Broker module to you arch (lib or lib64)
6. Generate Config for Poller central
7. start and enable centcore, cenengine

A) Centron
Before you do anything else, you should do this changes!!!

- Error in centreon.cron_operation.
  You sould insert default value of '0' for "last_execution_time" in table centreon.cron

- Error in centreon.acl_groups_operation.
  You sould insert default value of '0' for "acl_group_changed" in table centreon.acl_groups

- Error in centreon.giv_graphs_template.
  You sould insert default value of '0' for "size_to_max" in table centreon.giv_graphs_template
- Error in /var/log/centreon
  Bug in lib/perl/centreon/centstorage/CentstoragePool.pm
  Change 600c600
		<         $label = $self->continue_to("[ \t]", "=");
		>         $label = $self->continue_to("[\t]", "=");

B) Aapche error_log  
Many many inserts in apaches error_log.
  In /usr/share/centreon/www/main.php change

    ini_set("error_reporting", E_ALL ^ E_DEPRECATED);
	ini_set("error_reporting", E_ALL ^ E_DEPRECATED ^ E_STRICT);


	ini_set("error_reporting", E_ALL);
	ini_set("error_reporting", E_ALL ^ E_STRICT);

C) Apache, pages not shown right
Configuring MIME types

On some OpenSuse distributions, the default mime types are not properly configured to work with the Centreon user interface. 

Edit the /etc/mime.types file and look for the lines:

text/x-xsl xsl
text/x-xslt xslt xsl

Replace them with the following:

text/xml xsl
text/xml xslt xsl

Save the file and restart apache:

/etc/init.d/apache2 restart

D) MariaDB
No detailgraph and errors in logfiles for openSUSE 13.1

Change sql_mode in /etc/my.cnf

E) PHP5 or PHP7
Before you run first you musst change the parameter PEAR_PATH in /etc/centreon/instCentWeb.conf
to right php-version.