3.2 KiB
3.2 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.6.0] - 2025-12-20
Added
- SSL: Added support for simplified SSL configuration (
ssl: required) for Managed/Cloud databases and updated Wizard/Config. - Safety: Added automatic cleanup of
housekeepertable during init (targeted) and conflict detection during maintenance. - CLI: Added short flags for all arguments (
-vv,-f,-d,-s,-w). - Validation: Enforced strict unit validation for retention periods and strict table existence checks.
- Error Handling: Improved error reporting used to identify specific tables causing configuration errors.
Changed
- CLI: Refactored
--initand--fast-initinto mutually exclusive standalone commands (Breaking Change). - CLI: Reorganized argument parsing logic for better maintainability.
- Safety: Updated initialization warnings to explicitly mention duration ("SEVERAL HOURS") and disk space requirements.
- Logic: Refined housekeeper conflict check to only warn about tables actively configured for partitioning.
[0.5.0] - 2025-12-16
Added
- Wizard: Added interactive configuration wizard (
--wizard). - CLI: Added
--fast-initflag to skip table scanning during initialization, instead of config option. - Monitoring: Added
--statsargument to output JSON statistics (Size, Count, Days Left). - Template: Updated
zabbix_mysql_partitioning_template.yamlto use Master/Dependent items for efficient stats collection.
Changed
- Config: Removed
initial_partitioning_startfrom configuration file (moved to--fast-init). - Template: Replaced legacy check item with comprehensive stats master item.
- CLI: Removed legacy
--check-daysargument (replaced by--stats).
[0.4.1] - 2025-12-16
Added
- CLI: Added
--verbose/-vflag to switch between INFO (default) and DEBUG logging levels. - CLI: Added
-rshort flag for--dry-run.
[0.4.0] - 2025-12-16
Added
- Monitoring: Added
--discoveryargument for Zabbix Low-Level Discovery (LLD) of partitioned tables. - Monitoring: Added
--check-daysargument to calculate days remaining until partition buffer exhaustion. - CLI: Added
--version/-Vflag to display script version. - Docker: Added
RUN_MODE=discoveryandRUN_MODE=checksupport toentrypoint.py. - Templates: Added Zabbix 7.0 compatible template
zabbix_partitioning_template.yaml.
Removed
- CLI: Removed unimplemented
--delete/-dargument.
[0.3.0] - 2025-12-14
Changed
- Refactor: Complete rewrite of
zabbix_partitioning.pyusing Class-based structure (ZabbixPartitioner). - Configuration: Extended comments in the configuration file (
zabbix_partitioning.conf). The config file is self-explanatory now. - Docker: Introduced Docker container support (
Dockerfile,entrypoint.py). The script can be run in a stateless manner using Docker.
Added
- Optimization: Added
initial_partitioning_startoption (db_minvsretention) to speed up initialization on large DBs.