unioslo / zabbix-auto-config

MIT License
3 stars 6 forks source link

Rewrite API internals with Pydantic #82

Closed pederhan closed 2 months ago

pederhan commented 3 months ago

This PR rewrites the entirety of the Zabbix API internals using Pydantic and HTTPX. Most of the code is ripped from Zabbix-cli v3, and adapted where needed to fit ZAC.

Furthermore, customization of update intervals for each process can now be configured in the config file.


Because I am an idiot, this PR also implements garbage collection that cleans up disabled hosts from maintenances and triggers.