I've created a template using the SNMP2ZABBIX script using a ZD410. Importing keeps failing.... I've tried editing the XML, but changing the <VALUEMAP> <NAME> field does nothing. Telling Zabbix NOT to import values errors with something different.
Is there any documenation/reference for the error codes? I can't find Valuemapid in the import, but did find info on the VALUE MAP 'command'/Value. I can't see any difference between the file I'm importing and any of the existing files in this respect...:
I've just had a thought could it be the FLOAT value causing the issue as the documentation here:
talks ab out these numerical values :
Template is attached here - had to zip it up...
I've tried doing the same from SNMPWALK2ZABBIX, but had to edit the script for that (slight error on line 174 looking, I think, to split the MIB name at :: but was failing as there was only 1 instance of that in each/any of the name (code was
I changed it to
Whcih at least completed and created a template file.
Is there any documenation/reference for the error codes? I can't find Valuemapid in the import, but did find info on the VALUE MAP 'command'/Value. I can't see any difference between the file I'm importing and any of the existing files in this respect...:
Code:
<value_type>FLOAT</value_type> <valuemap> <name>something</name> </valuemap>
HTML Code:
https://www.zabbix.com/documentation/4.2/en/manual/xml_export_import/templates
| integer | 0 - float 1 - character 2 - log 3 - unsigned integer 4 - text |
Template is attached here - had to zip it up...
I've tried doing the same from SNMPWALK2ZABBIX, but had to edit the script for that (slight error on line 174 looking, I think, to split the MIB name at :: but was failing as there was only 1 instance of that in each/any of the name (code was
Code:
name = mib.split("::")[1]
Code:
name = mib.split("::")[0]
Comment