Open schneidr opened 5 years ago
What encoding do you have in the DB? Is it UTF8? This line is the problem:
<units>°С</units>
I had the same issue. My items
table was using latin1
as default character set. After running
alter table items convert to character set utf8
the template could be imported successfully.
Hi, encountered this issue as well. This is because the template has the letter С in Cyrillic (decimal code: 1057) instead of C in Latin (decimal code: 67). Would you accept a pull request to switch to Latin?
I created a PR for the version 3.4 template: https://github.com/v-zhuravlev/zbx-smartctl/pull/134
Trying to import the 3.4 template results in this error message:
No error message in
/var/log/zabbix/zabbix_server.log
.Running that SQL query manually in phpMyAdmin results in this error message: