-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Upgrade zabbixapi package for Zabbix 4.2 support #623
Conversation
Hi, thanks for the PR. Can you please rebase after #624 got merged? |
I think you can merge the PR and have GitHub rebase it? |
@Bouke yes that works. But that won't kick of travis before the merge. Please rebase. Afterwards travis will test your changes. |
I've rebased the PR. |
@Bouke can you please have a look at the failing travis tests? |
It looks like the new API version has an unsolved issue which the tests run into express42/zabbixapi#99. I think the only solution here is to wait until that bug is resolved in a future release. |
If anybody knows how to deploy a fork hosted on github using puppet_gem package provider, it would be very helpful. |
With the following in place, everything seems to work fine on Zabbix 4.4. It just logs a lot of "unsupported messages", but new resources seem to be added just fine.
|
@Bouke I would prefer not to add 'latest' to packages because it will update the package as soon as a new release gets out. Can we just set the variable to "4.1.2"? That's the latest release currently available on Rubygems. |
Dear @Bouke, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs? |
Ideally as a consumer of this module, I'd like the ability to override such versions. Currently it just hardcodes some version (either 'latest' or '4.1.2'). Maybe we can change the parameters to allow overriding the version? |
I agree that this should be a parameter. But we also need to provide sane default that work with up2date zabbix versions. I did a lot of fiddling around in https://github.com/voxpupuli/puppet-zabbix/pull/684/files to provide matching gem versions, but I failed hard (please ignore the labels). |
I've rebased the PR and made the change to hardcode version 4.1.2. So should be all good now. |
I now see the following message in the acceptance test output:
also we've a few places where we hardcode the zabbix version in the test to 3 because of old limitations from the gem: |
I agree that it would be good for this package to have good test coverage against recent releases of the various tools it configures. Meanwhile I would also suggest to leave that out of the scope of this PR. |
@Bouke can you please rebase against our latest master branch? I still think that the zabbix versions in our acceptance tests should be updated in this PR. The PR claims to support zabbix 4.2, but we only test on 3.0. |
thanks for all the work everybody. we merged the changes in #730 |
Pull Request (PR) description
zabbixapi 4.0.0 doesn't support Zabbix 4.2.
This Pull Request (PR) fixes the following issues