A FreeSWITCH plugin for collectd using collectd's Python plugin.
Data captured includes:
- Number of active channels
- Place freeswitch_channels.py in /opt/collectd/lib/collectd/plugins/python (assuming you have collectd installed to /opt/collectd).
- Configure the plugin (see below).
- Restart collectd.
Add the following to your collectd config or use the included freeswitch.conf.
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin python>
ModulePath "/opt/collectd/lib/collectd/plugins/python"
Import "freeswitch_channels"
<Module freeswitch_channels>
Host "localhost"
Port 8021
Username "freeswitch"
Password "works"
Verbose false
</Module>
</Plugin>