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

Add support for ODBC pollers in Zabbix >= 6.0 #881

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

fraenki
Copy link
Member

@fraenki fraenki commented Jul 31, 2023

Pull Request (PR) description

This PR adds support for the StartODBCPollers configuration parameter, that was introduced in Zabbix 6.0.

This Pull Request (PR) fixes the following issues

This parameter was already discussed in #814 (comment), but a PR was never submitted, AFAICT.

@fraenki
Copy link
Member Author

fraenki commented Jul 31, 2023

The test failure does not seem to be related to this PR.

@smortex
Copy link
Member

smortex commented Jul 31, 2023

REFERENCE.md is outdated

Please update REFERENCE.md with

$ bundle exec rake strings:generate:reference

Add it to the PR and CI should continue.

@fraenki
Copy link
Member Author

fraenki commented Aug 1, 2023

Please update REFERENCE.md with

Done.

@root-expert
Copy link
Member

@fraenki Please consider adding basic tests for the new parameter both for the proxy and the server 😄

@fraenki
Copy link
Member Author

fraenki commented Oct 17, 2023

@root-expert Rebased against current master and added basic tests.

(Side note: This module runs most tests with zabbix_version=5.0 and zabbix_version=6.0 is not supported for the server class on all operating systems. As a result the tests I've added aren't perfect. But once all tests run with zabbix_version=6.0 everything should be fine.)

manifests/proxy.pp Outdated Show resolved Hide resolved
manifests/server.pp Outdated Show resolved Hide resolved
spec/classes/proxy_spec.rb Outdated Show resolved Hide resolved
spec/classes/proxy_spec.rb Outdated Show resolved Hide resolved
spec/classes/server_spec.rb Outdated Show resolved Hide resolved
manifests/params.pp Outdated Show resolved Hide resolved
manifests/params.pp Outdated Show resolved Hide resolved
manifests/init.pp Outdated Show resolved Hide resolved
@root-expert root-expert added the enhancement New feature or request label Oct 18, 2023
@root-expert root-expert changed the title add support for ODBC pollers in Zabbix >= 6.0 Add support for ODBC pollers in Zabbix >= 6.0 Oct 18, 2023
@fraenki
Copy link
Member Author

fraenki commented Oct 23, 2023

@root-expert, all suggested changes applied, thanks. :)

@evgeni evgeni merged commit e9b96c8 into voxpupuli:master Nov 28, 2023
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants