Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment out LLD filters to support zabbix 2.2 #2

Merged
merged 1 commit into from Apr 16, 2015

Conversation

dominikborkowski
Copy link
Contributor

Looks like zabbix 2.4 created additional keys for low level discovery, including creating more elaborate filters. Unfortunately, this means the new filter array cannot be imported into zabbix 2.2 without failing, even if the filters are not used.

https://www.zabbix.com/documentation/2.4/manual/api/reference/discoveryrule/object
vs
https://www.zabbix.com/documentation/2.2/manual/api/reference/discoveryrule/object

This patch simply comments out those unused filters, to allow import on zabbix 2.2.x

Looks like zabbix 2.4 created additional keys for low level discovery, including creating more elaborate filters. Unfortunately, this means the new filter array cannot be imported into zabbix 2.2 without failing, even if the filters are not used.

https://www.zabbix.com/documentation/2.4/manual/api/reference/discoveryrule/object
vs
https://www.zabbix.com/documentation/2.2/manual/api/reference/discoveryrule/object

This patch simply comments out those unused filters, to allow import on zabbix 2.2.x
anapsix added a commit that referenced this pull request Apr 16, 2015
comment out LLD filters to support zabbix 2.2

Good stuff.. Since _filters_ do not appear to be used here, might as well comment it out for the sake of compatibility.
Thanks @dominikborkowski
@anapsix anapsix merged commit ae995bb into anapsix:master Apr 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants