Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 2.38 KB

CHANGELOG.md

File metadata and controls

58 lines (46 loc) · 2.38 KB

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.

Added

  • Zabbix 7 compatibility
  • Configuration option for setting group prefix separator.
    • [zabbix]
      • prefix_separator: Separator for group prefixes. Default is -.
  • Configuration options for each process.
    • [zac.process.garbage_collector]
      • enabled: Enable automatic garbage collection.
      • delete_empty_maintenance: Delete maintenances that only contain disabled hosts.
      • update_interval: Update interval in seconds.
    • [zac.process.host_updater]
      • update_interval: Update interval in seconds.
    • [zac.process.hostgroup_updater]
      • update_interval: Update interval in seconds.
    • [zac.process.template_updater]
      • update_interval: Update interval in seconds.
    • [zac.process.source_merger]
      • update_interval: Update interval in seconds.
  • Automatic garbage collection of maintenances (and more in the future.)
    • Removes disabled hosts from maintenances.
    • This feature is disabled by default, and must be opted into with zac.process.garbage_collector.enabled
    • Optionally also delete maintenances that only contain disabled hosts with zac.process.garbage_collector.delete_empty_maintenance.
    • If you have a large number of disabled hosts, it's recommended to set a long update_interval to avoid unnecessary load on the Zabbix server. The default is 300 seconds.
  • Automatic creation of required host groups.
    • Creates the groups configured by the following options:
      • zabbix.hostgroup_all
      • zabbix.hostgroup_disabled
  • Utility functions for serializing source collector outputs:
    • zabbix_auto_config.models.hosts_to_json
    • zabbix_auto_config.models.print_hosts
  • py.typed marker file.

Changed

  • API internals rewritten to use Pydantic models.
    • Borrows API code from Zabbix-cli v3.
  • Dry run mode now guarantees no changes are made to Zabbix by preventing all write operations via the API.

Deprecated

  • Zabbix 5 support.
    • Should in most cases work with Zabbix 5, but it will not be actively supported going forward.

0.1.0

First version