Asterisk Plugin

Asterisk is a free and open source framework for building communications applications. This plugin allows you to monitor calls as well as incoming calls.

Metrics

  • Calls
  • Incoming calls

Reported Dependencies

The agent360 user needs sudo access to run sudo asterisk. Open the /etc/sudoers file and append the following at the end of the file:

    agent360 ALL=(ALL) NOPASSWD: /usr/sbin/asterisk 

This command assumes that asterisk is installed in /usr/sbin/asterisk. You can locate where asterisk is installed by running the whereis asterisk command.

Configure the plugin

To enable the plugin, edit the /etc/agent360-custom.ini file and add the following lines:

[asterisk]
enabled = yes

Test the plugin

Run the su -p agent360 command, and then run the agent360 test asterisk command to see if everything is installed correctly.

asterisk:{"calls": 0,"incomingcalls": 0}

Now you can restart the agent with the service agent360 restart command.

Create charts

Click on the Metrics link on the top menu, and then select asterisk as the metric type and calls as the metric. Select the servers you would like to graph, and save it to your dashboard.