RobinR1 / zbx-template-yum-updateinfo

Zabbix template to monitor a Redhat derivative OS for available security updates, enhancements, bugfixes and general package updates.
GNU General Public License v2.0
5 stars 4 forks source link

Fail to import template #2

Closed raafcioo closed 3 years ago

raafcioo commented 3 years ago

Hey, I have a problem. I cant import file with template to zabbix.

Failed: "Invalid tag "/zabbix_export/templates/template(1)/items/item(1)": unexpected tag "triggers"."

My zabbix version: Zabbix 5.0.10 I was try to fix file xml but unsuccessfully.

Thank you in advance for any help!

RobinR1 commented 3 years ago

Strange. This should be supported since v4.2. Granted, the template is said to be 4.0 compatible, but 4.0 does not yet support a triggers tag inside an item tag.. so this is actually a problem there. I will look into this. But importing it in 5.0.10 should actually not pose any problems

RobinR1 commented 3 years ago

@raafcioo, Could you try importing this version of the template?

raafcioo commented 3 years ago

@RobinR1 Full success. Everything works. Thanks for help :)

RobinR1 commented 3 years ago

Fixed in 487888737d7b16e5a5cb45de222cc09c5e9794e1