Dears,
I try to import this yaml template file using the import script, but I face this error:
File "/path-to-the-script/zabbix-import.py", line xxx, in import_template
new_template = yml["templates"]["template"]
TypeError: list indices must be integers or slices, not str
Dears, I try to import this yaml template file using the import script, but I face this error:
and this this the part of code: https://github.com/southbridgeio/zabbix-review-export-import/blob/master/zabbix-import.py#L868
Can someone please help me on that? And thanks in advance.