v2.0.0 - Zabbix 6.0#63
Conversation
|
This is a full pack overhaul to bring it in line with zabbix v6.0 Currently a draft to make sure everything is in order and to give some time for interested parties to review and comment. |
|
Nice job on updating the pack. The commits are under an address that hasn't signed the St2 CLA. You'll need to accept the CLA with the new address or amend the commits to use the address that has already signed the CLA. |
## Release Notes – v2.0.0 see CHANGELOG.md for more details ### Breaking Changes - Not backward compatible with previous releases. - Configuration schema updated; existing settings may require renaming or restructuring. - Actions and sensors refactored; action names, parameters, and outputs may have changed. - Event handling and trigger behavior modified for Zabbix integrations. - Legacy dependencies and runtimes removed; pack now aligned to modern Python and StackStorm runtime expectations. ### Version / Platform Changes - **Python** - Built with Python 3.12.3 - Migrated fully to Python 3; Python 2 support removed. - Expected compatibility with modern StackStorm-supported Python versions (≥3.8). 【1-6d08ba】【2-90abbc】 - **StackStorm** - Tested against StackStorm 3.9 - Requires newer StackStorm releases (3.x line). - StackStorm versions now require Python 3.8+ and support newer dependency stacks (MongoDB, etc.). 【1-6d08ba】 - **Zabbix** - Built/tested with Zabbix v6.0.46 - Continues to rely on Zabbix API integrations; minimum supported versions historically ≥3.0. 【3-11d02b】 - Ensure server/proxy versions are aligned (Zabbix components should match major versions for full compatibility). 【4-1200c8】 - **Dependencies** - Python dependencies refreshed and pinned for Python 3 compatibility. - Pack virtualenv usage remains required for correct module loading. ### Enhancements - Modernized pack structure and dependency management. - Improved consistency across actions, sensors, and triggers. - Alignment with current StackStorm best practices. - General reliability and maintainability improvements. ### Fixes - Bug fixes across actions and integrations. - Cleanup and stabilization of codebase. - Improved compatibility with newer environments. ### Upgrade Notes - Treat upgrade as a fresh install. - Ensure StackStorm and Python versions meet minimum supported requirements. - Review and update all configuration. - Validate any automation relying on existing actions and triggers. - Re-test Zabbix to StackStorm event flow end-to-end.
I did a rebase and force push to squash everything and ensure the correct user (with CLA acceptance) is on the commit. pytest passed ================================================= test session starts ===============
platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0
rootdir: /home/iprice/git/st2packs/stackstorm-zabbix
collected 68 items
tests/test_acknowledge_event.py ... [ 4%]
tests/test_action_base.py ....................... [ 38%]
tests/test_call_api.py .... [ 44%]
tests/test_create_host.py .... [ 50%]
tests/test_create_or_update_maintenance.py .... [ 55%]
tests/test_delete_host.py ..... [ 63%]
tests/test_delete_maintenance.py ....... [ 73%]
tests/test_find_object.py ......... [ 86%]
tests/test_get_api_version.py .. [ 89%]
tests/test_host_status.py ..... [ 97%]
tests/test_verify_credentials.py .. [100%]
================================================== 68 passed in 0.14s =============== |
Release Notes – v2.0.0
see CHANGELOG.md for more details
Breaking Changes
Version / Platform Changes
Python
StackStorm
Zabbix
Dependencies
Enhancements
Fixes
Upgrade Notes