zabbix-tools / zabbix-template-converter

Migrate Zabbix templates between versions
MIT License
45 stars 30 forks source link

Zabbix 3.0 doesn't like <httptests /> tag from 3.2 template; script leaves it #1

Closed JCCyC closed 7 years ago

JCCyC commented 7 years ago

I tested zabbix-template-converter on the template included in zabbix-module-systemd. The generated file has only the version and timestamp changed, but in order for 3.0 to accept it I had to remove the tag.

cavaliercoder commented 7 years ago

Web scenario exports were introduced in 3.2.0 (see: https://support.zabbix.com/browse/ZBXNEXT-178).

I've added the FixHttpTests rule to enforce this constraint.

Many thanks for reporting this issue.