$ go get -u github.com/monitoringartist/zabbix-template-converter
$ zabbix-template-converter --in in-template.[xml|json|yaml] --out out-template.[xml|json|yaml]
App depends heavily on the Zabbix template model, which supports:
You may verify support for your template with commands, where you compare input with output xml templates:
$ zabbix-template-converter --in <in-template.xml> --out <out-template.xml>
$ diff --text --ignore-blank-lines --ignore-space-change <in-template.xml> <out-template.xml>
No difference is OK.
Feel free to open PR, which improves used template model.
Devops Monitoring Expert, who loves monitoring systems and cutting/bleeding edge technologies: Docker, Kubernetes, ECS, AWS, Google GCP, Terraform, Lambda, Zabbix, Grafana, Elasticsearch, Kibana, Prometheus, Sysdig,...
Summary:
Professional devops / monitoring / consulting services: