Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Centreon Import Issues #40

Open
RJSOG opened this issue May 14, 2020 · 0 comments
Open

Centreon Import Issues #40

RJSOG opened this issue May 14, 2020 · 0 comments

Comments

@RJSOG
Copy link

RJSOG commented May 14, 2020

Centreon Version: 20.04.0
Command: centreon -u admin -p xyz -i clapi_export.txt

Hi i want to change my central host so i both try clapi and awie both didn't worked, the both server are in centreon 20.04.0 but when i am trying to import the configuration with clapi i am getting this error:

"PHP Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column centreon.on_demand_macro_service.is_password at row 1 in /usr/share/centreon/www/class/centreonDB.class.php:274
Stack trace:
#0 /usr/share/centreon/lib/Centreon/Object/Object.php(117): CentreonDB->query('INSERT INTO on_...', Array)
#1 /usr/share/centreon/www/class/centreon-clapi/centreonService.class.php(722): Centreon_Object->insert(Array)
#2 /usr/share/centreon/www/class/centreon-clapi/centreonAPI.class.php(806): CentreonClapi\CentreonService->setmacro('VCENTER-HOST-12...')
#3 /usr/share/centreon/www/class/centreon-clapi/centreonAPI.class.php(769): CentreonClapi\CentreonAPI->launchActionForImport()
#4 /usr/share/centreon/bin/centreon(196): CentreonClapi\CentreonAPI->import('centreon-clapi-...')
#5 {main}"

Does anyone have a way to fix this ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant