Hi,
I've migrated to Zabbix 5.0 LTS and updating my templates using Github repository.
I've imported the template for VMware from https://git.zabbix.com/projects/ZBX/...XNEXT-6275-5.0
But during import, I have this error:
I've updated many other templates without any issue.
I'm using PostgreSQL.
Can you help me ?
Thanks
Regards,
I've migrated to Zabbix 5.0 LTS and updating my templates using Github repository.
I've imported the template for VMware from https://git.zabbix.com/projects/ZBX/...XNEXT-6275-5.0
But during import, I have this error:
- pg_query(): Query failed: ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « description »
- DETAIL: La ligne en échec contient (10648, null, {#HV.UUID}, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , {#HV.NAME}, 2, null, null, 1, 1, , , , , , 1, 0). [conf.import.php:89 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processDiscoveryRules() → CHostPrototype->create() → CHostPrototype->createReal() → DB::insert() → DBexecute() → pg_query() in include/db.inc.php:348]
- Error in query [INSERT INTO hosts (host,name,status,discover,flags,hostid) VALUES ('{#HV.UUID}','{#HV.NAME}','0','0','2','10648')] [ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « description »
- DETAIL: La ligne en échec contient (10648, null, {#HV.UUID}, 0, 0, , 0, 0, 0, -1, 2, , , 0, 0, 0, 0, null, 0, 0, 0, 0, 0, , , 0, 0, 0, , {#HV.NAME}, 2, null, null, 1, 1, , , , , , 1, 0).]
- L'exécution de l'instruction SQL a échoué"INSERT INTO hosts (host,name,status,discover,flags,hostid) VALUES ('{#HV.UUID}','{#HV.NAME}','0','0','2','10648')".
I've updated many other templates without any issue.
I'm using PostgreSQL.
Can you help me ?
Thanks
Regards,

Comment