What I did
Successful template import, no error message.
What I tried
- Opened https://github.com/jjmartres/Zabbix/...sco-envmon.xml > copied text > pasted into text editor SciTE (should have got verbatim raw text) and saved as zbx-cisco-envmon.xml
- Configuration > Templates > Import > browsed to zbx-cisco-envmon.xml > cleared all selections except "Create new" items, triggers and graphs > Clicked Import. Got "Invalid parameter "/source": invalid byte sequence in UTF-8"
- Found there is no string "source" in zbx-cisco-envmon.xml
- Experimentally converted zbx-cisco-envmon.xml to UTF-8:
Code:
$ file zbx-cisco-envmon.xml zbx-cisco-envmon.xml: XML 1.0 document, ISO-8859 text, with very long lines $ iconv -f ISO_8859-1 -t UTF-8 zbx-cisco-envmon.xml > zbx-cisco-envmon-utf8.xml
- Configuration > Templates > Import > browsed to zbx-cisco-envmon-utf8.xml > cleared all selections except "Create new" items, triggers and graphs > Clicked Import. Got "Invalid tag "/zabbix_export/templates/template(1)/items/item(1)": the tag "snmpv3_contextname" is missing."
Successful template import, no error message.
What I tried
- Searched for parts of both error messages. No solution found
- Downloaded Cisco MIBs to /usr/local/share/snmp/mibs/cisco, configured MIB search path to use them first
Code:
[email protected]:~# grep -v '^#' /etc/snmp/snmp.conf mibdirs /usr/local/share/snmp/mibs/cisco:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf
- Restarted zabbix-server.service
- Repeated the import attempts. Same result
Comment