Hello everybody,
In my organisation we have :
Centreon 2.7, Centos 6.7 et centengine 1.5
I made a synchro-script between my Vcenter and my Centreon.
My script work but i have to generate config file and restart the poller with my bear hands. That's not what i want.
That's why i wanted to use CLAPI APPLYCFG command at the end of the script. But when i run this command this error occure :
PHP Warning:
require(../../../include/configuration/configGenerate/genCGICFG.php):
failed to open stream: No such file or directory in
/usr/share/centreon/www/modules/centreon-clapi/core/class/centreon.Config.Poller.class.php
on line 485
PHP Fatal error: require(): Failed opening required
'../../../include/configuration/configGenerate/genCGICFG.php'
(include_path='/usr/share/centreon/www/modules/centreon-clapi/core/lib:/usr/share/centreon/www/modules/centreon-clapi/core/class:.:/usr/share/pear:/usr/share/php')
in
/usr/share/centreon/www/modules/centreon-clapi/core/class/centreon.Config.Poller.class.php
on line 485
Did you have any idea on how fix it ?
In my organisation we have :
Centreon 2.7, Centos 6.7 et centengine 1.5
I made a synchro-script between my Vcenter and my Centreon.
My script work but i have to generate config file and restart the poller with my bear hands. That's not what i want.
That's why i wanted to use CLAPI APPLYCFG command at the end of the script. But when i run this command this error occure :
PHP Warning:
require(../../../include/configuration/configGenerate/genCGICFG.php):
failed to open stream: No such file or directory in
/usr/share/centreon/www/modules/centreon-clapi/core/class/centreon.Config.Poller.class.php
on line 485
PHP Fatal error: require(): Failed opening required
'../../../include/configuration/configGenerate/genCGICFG.php'
(include_path='/usr/share/centreon/www/modules/centreon-clapi/core/lib:/usr/share/centreon/www/modules/centreon-clapi/core/class:.:/usr/share/pear:/usr/share/php')
in
/usr/share/centreon/www/modules/centreon-clapi/core/class/centreon.Config.Poller.class.php
on line 485
Did you have any idea on how fix it ?