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 Zabbix 7 compatibility, rewrite API code #81

Merged
merged 17 commits into from
Sep 3, 2024
Merged

Add Zabbix 7 compatibility, rewrite API code #81

merged 17 commits into from
Sep 3, 2024

Commits on May 14, 2024

  1. Add Zabbix 7.0 compatibility (#79)

    * Add Zabbix 7.0 compatibility
    
    * Add Host model comments
    
    * Add missing type annotations to __init__ .py
    
    * Fix state manager mypy issues
    
    * Refactor failsafe OK file checking, add test
    
    * Add type annotations to __init__
    
    * Refactor process initialization
    
    * Refactor hanging process handling
    
    * Ignore missing mypy stubs in import
    
    * Extract failsafe functions, add tests
    
    * Fix zabbix_tags2zac_tags, add types
    
    * Fix StateManager mypy stub hack
    
    * Add type annotations for all processing.py methods
    
    * Improve state.State comments+docstrings
    
    * Refactor host modifier/source collector loading
    
    * Refactor failsafe checking
    
    Moves everything into failsafe.py module.
    
    This allows us to test the failsafe checking more thoroughly.
    
    * Fix incorrect variable usage
    
    * Refactor DB host retrieval in `ZabbixUpdater`
    
    * Fix broken tests
    
    * Add check_failsafe tests
    
    * Fix incorrect variable name
    pederhan authored May 14, 2024
    Configuration menu
    Copy the full SHA
    96c0ac9 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Rewrite API internals with Pydantic (#82)

    * Remove disabled hosts from maintenance
    
    * Add periodic maintenance cleanup
    
    * Add map_dir fixtures
    
    * Add config options
    
    * Fix mocks, use fixture
    
    * Rewrite API internals with Pydantic
    
    * Fix tests
    
    * Fix and improve JSON serialization
    
    * Fix changelog headers
    
    * Add API param building functions
    
    * Fix `set_hostgroups` not being able to remove groups
    
    * Add read-only mode for ZabbixAPI
    
    Activated during dryruns.
    
    * Fix `ParamsType` docstring
    
    * Document new config options in changelog
    
    * Update changelog
    
    * Add Py3.12 trove classifier
    
    * Update sample config
    
    * Fix ZabbixAPI method docstring tense
    
    * README: update supported versions
    
    * Create required host groups on startup
    
    * README: fix JSON example
    
    * README: Make host modifier example more relevant
    
    * Update changelog
    
    * Add notes on running source collectors standalone
    
    * Warn if no proxies
    
    * Remove redundant bool cast
    
    * Use absolute import
    
    * Use absolute imports
    
    * Sort host groups when logging new and old
    
    * Add note regarding Source Handler update interval
    
    * Change "replaced" to "updated" for source hosts
    
    * Remove trigger support in GC
    
    * Remove validation of request params
    
    * Add support for mysterious host.status==3
    
    * Fix missing assignments in SignalHandler.__init__
    
    * Fix missing parameter type annotation
    
    * Move warning next to statement that caused it
    
    * Add py.typed marker file
    
    * Update README, run GC every 24h
    pederhan authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    ffbfcde View commit details
    Browse the repository at this point in the history
  2. Show data in request errors

    pederhan committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    2dfd5bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6874f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f8fe0d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e661d6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1509b3d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    17148a2 View commit details
    Browse the repository at this point in the history
  8. Refactor set_interface

    pederhan committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    53b75b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    1f03651 View commit details
    Browse the repository at this point in the history
  2. Comments, var name

    pederhan committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4daa2c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d69e48d View commit details
    Browse the repository at this point in the history
  4. Changelog heading

    pederhan committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    c9251e2 View commit details
    Browse the repository at this point in the history
  5. Fix README grammar

    pederhan committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    554b92e View commit details
    Browse the repository at this point in the history
  6. Log names of templates

    pederhan committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    e7b4527 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Add NOTE comment

    pederhan committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    6681dc6 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    2db685d View commit details
    Browse the repository at this point in the history