centreon / centreon-clapi

Centreon CLAPI Module
14 stars 14 forks source link

Clapi CFGMOVE not working #369

Open serge-marie opened 6 years ago

serge-marie commented 6 years ago

Hi,

I have centreon-clapi version 2.8.24, and CFGMOVE command doesn't works ...

Files never arrives on poller.

POLLERGENERATE : OK POLLERTEST : seams OK CFGMOVE : file never appears on host

Working with web interface ...

Thanks in advance,

Serge

serge-marie commented 6 years ago

Example : remove host : (on non used poller)

After POLLERGENERATE : cat /usr/share/centreon/filesGeneration/engine/4/hosts.cfg No host in the file

But after CFGMOVE : Still in CFG on the poller : cat /etc/centreon-engine/hosts.cfg

define host { host_name HOSTNAME alias HOSTNAME address IP register 1 use WINDOWS _HOST_ID 2513 }

Command returns : /bin/centreon -u user -p password -a CFGMOVE -v "Poller" OK: All configuration will be send to 'Poller' by centcore in several minutes. Return code end : 0

Thanks in advance,

Serge

serge-marie commented 6 years ago

Same result with APPLYCFG.