bytes-commerce/zabbix-api
Symfony bundle for the Zabbix JSON-RPC API with persistent auth/token caching, type-safe action factory, and history/metrics retrieval. PHP 8.3+ strict typing, zero-config via env vars, broad API coverage, optional async monitoring via Messenger.
Observability & Monitoring Roadmap:
getLast24Hours() for real-time analytics).Build vs. Buy:
Use Cases:
massAdd() for CI/CD pipelines).PushMetricMessage for error rates, API latency).PushEventMessage for feature adoption) alongside infrastructure data.HistoryTypeEnum::LOG for security events).APP_NAME prefix in host identification).Architectural Alignment:
Adopt if:
Look elsewhere if:
action, maintenance) require custom code.*"This package lets us integrate Zabbix monitoring into our Symfony app with zero manual API work—saving ~3–6 months of dev time while improving observability. It’s like having a pre-built dashboard for our infrastructure and business metrics, with automatic syncing of errors, performance data, and custom KPIs. For example:
ROI:
*"This is a batteries-included Zabbix client for Symfony that handles:
sessionid headaches.history.getLast24Hours()).Example Use Cases:
$this->zabbix->action(History::class)->getLast24Hours(['itemId'], HistoryTypeEnum::NUMERIC_FLOAT);
$bus->dispatch(new PushEventMessage('app.error', ['message' => $e->getMessage()]));
$this->zabbix->action(HostGroup::class)->massAdd(['groupid' => 15], ['hostid' => 10084]);
Why Not DIY?
Migration Path:
PushMetricMessage)."How can I help you explore Laravel packages today?