Closed rirozizo closed 3 years ago
Using SSH, I tried the following command:
php -q /<cactidir>/cli/import_template.php --filename=/<cactidir>/site/plugins/mikrotik/templates/MikroTik_Device.xml --with-template-rras
It leads to the same error in Cacti's Log:
IMPORT parse_xml_hash ERROR wrong hash format for hash: info
I made the same mistake, but if you use import_package.php
, it works.
php cli/import_package.php --filename=/cacti/plugins/mikrotik/templates/MikroTik_Device.xml
https://github.com/Cacti/cacti/issues/3320#issuecomment-596222571
Import package for an XML file seems odd. If it was an xml.gz file, then all is good.
Describe the bug A clear and concise description of what the bug is.
I get an XML parse error when I try to import the MikroTik_Device.xml file
To Reproduce Steps to reproduce the behavior:
Expected behavior It should import the template, maybe give me a new device type?
Screenshots If applicable, add screenshots to help explain your problem.
Plugin (please complete the following information):
Desktop (please complete the following information):
Additional context Cacti Logs say the following: