Skip to content
A FreeSWITCH plugin for collectd using collectd's Python plugin.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
freeswitch.conf
freeswitch_channels.py

README.md

freeswitch-collectd-plugin

A FreeSWITCH plugin for collectd using collectd's Python plugin.

Data captured includes:

  • Number of active channels

Install

  1. Place freeswitch_channels.py in /opt/collectd/lib/collectd/plugins/python (assuming you have collectd installed to /opt/collectd).
  2. Configure the plugin (see below).
  3. Restart collectd.

Configuration

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>
You can’t perform that action at this time.