PohodaZabbix
v0.2.0
What's new in 0.2.0
Features
--period option for pohoda-zabbix-digest: choose month (default, last 30 days), year (current calendar year), or a specific four-digit year (e.g. 2024). Each period has its own cache file.
PohodaDataProvider now lives in this project — minimal implementation covering only the two entity types (invoices, bank statements) needed by the Zabbix modules. Contacts and products were removed.
- Fixed
debtors.* and outcoming_invoices.* metrics — ZabbixOutputInterface was added to both modules upstream in digest-modules.
Fixes
- Pohoda date filter corrected to
dateTill (was dateTo).
- Connectivity check uses
isOnline() (was non-existent getStatus()).
Infrastructure
- All dependencies now resolve from Packagist — no local path repositories.
- Debian packaging added (control, changelog, manpages, rules).
- Zabbix UserParameter config updated to match actual metric keys.
- PHPUnit test suite added (8 tests for
DigestFeeder::parsePeriod).