Skip to content

Releases: VitexSoftware/PohodaZabbix

v0.3.0

22 May 14:14

Choose a tag to compare

What's new in 0.3.0

New metrics

  • pohoda.digest.mserver_ok1 when all modules succeed, 0 on 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 RuntimeException instead of silently returning empty results.
  • Updated Zabbix UserParameter config with new items and DISASTER trigger comment.

v0.2.0

22 May 00:04

Choose a tag to compare

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.* metricsZabbixOutputInterface 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).