MogiePete / zabbix-systemd-service-monitoring

Simple Zabbix Template to discover, monitor, and alert on systemd services.
GNU General Public License v2.0
91 stars 41 forks source link

The template is incompatible with Zabbix 3.4.7 #9

Closed tiborkiss closed 5 years ago

tiborkiss commented 5 years ago

After commenting out many tags, which were unexpected, now I see missing tags also. It is possible to have a backported version from this template?

MogiePete commented 5 years ago

Can you provide details? This template was originally created in 3.4.x and no modification was done to support 4.x

Additionally, as is listed in the README, this template is currently intended for Zabbix 4.0. As I am no longer running a Zabbix 3.x installation I can't provide assistance in troubleshooting any issues you have without your assistance.

tiborkiss commented 5 years ago

The current error says the following:

Invalid tag "/zabbix_export/templates/template(1)/discovery_rules/discovery_rule(1)/item_prototypes/item_prototype(1)": the tag "master_item_prototype" is missing.

Before that I had to remove some tags (many), but now I have to guess the missings.

Unfortunately I am not familiar with Zabbix's template details. Surprisingly I couldn't find a converter between versions.

tiborkiss commented 5 years ago

Finally I solved the problem. Temporarily I created an AWS instance with Zabbix 4.0, imported there the template, then manually I recreated the template in my zabbix 3.4 to look like in zabbix 4.0. I also exported, zipped and attached here for reference.

Then I did some tests and I am happy with this zabbix agent extension.

Template_App_systemd_Services-v3.4.xml.zip

MogiePete commented 5 years ago

@tiborkiss

Awesome work! Glad you like the extension.