Zabbix monitoring for FreeSWITCH— no SNMP

Status
Not open for further replies.

henryd99

New Member
Dec 20, 2021
20
2
3
29
Hi all,

I wanted to create an alternative to mod_snmp compile requirement in Freeswitch.

So I put together a lightweight alternative using Zabbix Agent UserParameters and fs_cli. It's read-only queries over the event socket — no modules to compile, no Freeswitch restarts, no impact on running calls.

What it monitors:
- Active calls (total, inbound, outbound)
- Channels
- Sessions (current, peak, max)
- CPS (current and max)
- SIP registrations
- Uptime
- Service status (up/down)
- Failed gateways

Includes triggers for service down (disaster), session capacity alerts, failed gateways, CPS thresholds, and restart detection.

Tested on Debian 12 with FreeSWITCH 1.10.12 and Zabbix Agent 2. Running it across multiple FusionPBX servers including servers handling 150+ concurrent calls with no measurable performance impact.

Repo: https://github.com/Henry-Do-Su/fusionpbx_zabbix

Happy to take feedback or requests. Planned additions include per-domain/tenant metrics via Zabbix LLD and per-gateway discovery.

Hope someone else finds it useful.
 
Status
Not open for further replies.