Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Zabbix Sender Laravel Package

disc/php-zabbix-sender

Modern PHP implementation of a Zabbix Sender client. Send metrics to Zabbix server quickly by adding host/key/value data and calling send(). Supports PHP 5.4+ and works with Zabbix 2.0.8, 2.1.7+ and 4.0.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Monitoring & Observability Stack: Enables seamless integration of custom PHP-based metrics into Zabbix, reducing reliance on external monitoring tools (e.g., Prometheus, Datadog) for legacy systems or cost-sensitive projects.
  • Cost Efficiency: Avoids licensing fees for proprietary monitoring solutions while maintaining compatibility with existing Zabbix infrastructure.
  • Legacy System Modernization: Allows teams to send metrics from older PHP applications (5.4+) to modern Zabbix setups (v4.0) without rewriting core logic.
  • Roadmap for Custom Metrics: Supports rapid prototyping of application-specific metrics (e.g., business KPIs, custom logs) without heavy engineering lift.
  • Build vs. Buy: Favors "build" for teams already invested in Zabbix, avoiding vendor lock-in or integration complexity of third-party tools.
  • Use Cases:
    • Real-time monitoring of PHP application performance (e.g., queue depths, API latency).
    • Alerting on custom business events (e.g., failed payments, inventory thresholds).
    • Replacing cron-based log parsers with direct metric ingestion.

When to Consider This Package

  • Avoid if:
    • Your stack uses Zabbix < 2.0.8 or > 4.0 (unsupported versions).
    • You need high-throughput metric collection (this is a lightweight sender, not a time-series database).
    • Your team prefers modern monitoring tools (e.g., Prometheus + Grafana) with active ecosystems.
    • You require advanced features like distributed tracing or log aggregation (Zabbix’s native capabilities are limited here).
    • Your PHP version is < 5.4 (minimum requirement).
  • Look elsewhere if:
    • You need Zabbix server-side extensions (e.g., custom items/triggers) → Use Zabbix API or Python modules.
    • You want real-time dashboards → Pair with Grafana or build a custom frontend.
    • You’re in a cloud-native environment → Consider AWS CloudWatch, Datadog, or New Relic.

How to Pitch It (Stakeholders)

For Executives: "This lightweight PHP package lets us send custom application metrics directly to our existing Zabbix setup—no new tools or licensing costs. It’s ideal for monitoring legacy PHP systems or adding business-specific alerts (e.g., ‘order failures’) without reinventing the wheel. Since it’s MIT-licensed and integrates with our current Zabbix 4.0, it’s a low-risk way to modernize observability while keeping operational overhead minimal."

For Engineering: *"This replaces manual zabbix_sender CLI calls with a clean PHP API, making it trivial to instrument metrics from any Laravel/legacy PHP app. Key benefits:

  • Zero dependencies beyond Composer (just disc/php-zabbix-sender).
  • Supports Zabbix v4.0 (our target version) with minimal boilerplate:
    $sender = new \Disc\Zabbix\Sender('zabbix.example.com');
    $sender->addData('webserver', 'app.response_time', 420); // ms
    $sender->send();
    
  • Timeouts and error handling built-in (unlike raw CLI calls).
  • MIT license = no legal red flags. Tradeoff: Not for high-volume metrics (use Prometheus for that), but perfect for sporadic or custom data."*

For DevOps/SRE: *"This fills a gap for teams using Zabbix but needing to send metrics from PHP apps. It’s a drop-in replacement for the Zabbix sender CLI, with the added benefit of being callable from code. Use cases:

  • Alerting on custom events (e.g., ‘database connection retries’).
  • Avoiding log parsing by sending structured data directly.
  • Legacy system integration without rewrites. Caveat: No built-in retry logic—wrap calls in your own error handling if uptime is critical."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity