centreon / centreon-clapi

Centreon CLAPI Module
14 stars 14 forks source link

Centreon-clapi and centreon-auto-discovery #328

Closed Tpo76 closed 8 years ago

Tpo76 commented 8 years ago

When you use centreon-auto-discovery the files /usr/share/centreon/filesGeneration/nagiosCFG and /usr/share/centreon/filesGeneration/broker generate by centreon-clapi change the right from apache:centreon to root:centreon.

So, you can't export the configuration by Centreon Web any more.

P.S: Also need to change the path to centreon-clapi in /usr/share/centreon/www/modules/centreon-autodiscovery-server/cron/centreon/script/centreon_autodisco.pm to the folowing paramter "clapi_cmd =>" when you are using centreon-autodiscovery with Centreon 2.7

Curent-plateforme : Centreon 2.7.0 Centreon Broker 2.11.0 Centreon Engine 1.5.0 Centreon Auto Disco 2.1.0 Centreon Clapi 1.8.0

Enjoy,

julienmathis commented 8 years ago

Can you give us the path of centreon binary used to generate the configuration ? The new clapi integrated into centreon fix this problem. The right centreon binary is /usr/share/centreon/bin/centreon

If you use CLAPI 1.8 it's a known bugs.

CLAPI 1.8.0 is not compatible with web 2.7.0. Please remove it.

Tpo76 commented 8 years ago

The path actualy set in centreon-auto-discovery is /usr/share/centreon/www/modules/centreon-clapi/core/centreon

The trouble can be that :

which centreon

/usr/bin/centreon

I change the path in centreon-auto-discovery try agin, but same trouble.

querwin commented 8 years ago

Problem with centreon 2.7.x, I open in the Centreon forge