Releases: VitexSoftware/PohodaZabbix
Releases · VitexSoftware/PohodaZabbix
v0.3.0
What's new in 0.3.0
New metrics
-
pohoda.digest.mserver_ok—1when all modules succeed,0on any mServer error (HTTP 500, auth failure, data file not open). Recommend a DISASTER-level Zabbix trigger:{<hostname>:pohoda.digest.mserver_ok.last()}=0 -
pohoda.digest.bank_without_attachment.count— counts bank movements that have neither a PDF document nor a URL link (e.g. SharePoint) in Pohoda's Dokumenty tab.
Improvements
- Bank statements are now fetched via raw mServer XML so attachment metadata (
<bnk:attachments>) is preserved — the vendor library discards this section. - HTTP 500 and other mServer errors are propagated as
RuntimeExceptioninstead of silently returning empty results. - Updated Zabbix UserParameter config with new items and DISASTER trigger comment.
v0.2.0
What's new in 0.2.0
Features
--periodoption forpohoda-zabbix-digest: choosemonth(default, last 30 days),year(current calendar year), or a specific four-digit year (e.g.2024). Each period has its own cache file.PohodaDataProvidernow 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.*andoutcoming_invoices.*metrics —ZabbixOutputInterfacewas added to both modules upstream indigest-modules.
Fixes
- Pohoda date filter corrected to
dateTill(wasdateTo). - Connectivity check uses
isOnline()(was non-existentgetStatus()).
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).