Skip to main content

Asterisk VoIP SNMP

Pack Assets​


The Centreon Monitoring Connector Asterisk VoIP SNMP brings 1 host template:

  • App-VoIP-Asterisk-SNMP-custom

It brings the following Service Template:

Service AliasService TemplateService DescriptionDefault
Channel-UsageApp-Voip-Asterisk-SNMP-Channel-UsageCheck number of calls and channelsX

Collected metrics & status​

Metric NameUnit


SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your Asterisk server. Asterisk provides an official documentation to achieve this.

Network flow​

The Asterisk server must be reachable from the Centreon Poller on the UDP/161 SNMP port.


  1. Install the Centreon package on every Centreon poller expected to monitor Asterisk resources:
yum install centreon-plugin-Applications-Voip-Asterisk-Snmp
  1. On the Centreon Web interface, install the Asterisk VoIP SNMP Centreon Monitoring Connector on the Configuration > Monitoring Connector Manager page.



  • Log into Centreon and add a new Host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Asterisk server settings.
  • Select the App-VoIP-Asterisk-SNMP-custom template to apply to the Host.

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon Poller CLI using the centreon-engine user account (su - centreon-engine) and test the Plugin by running the following command:

/usr/lib/centreon/plugins// \
--plugin=apps::voip::asterisk::snmp::plugin \
--mode=channel-usage \
--hostname='' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-channels-active='' \
--critical-channels-active='' \
--warning-calls-active='100' \
--critical-calls-active='200' \
--warning-calls-count='' \
--critical-calls-count='' \

The expected command output is shown below:

OK: channels active: 54 calls active: 73 calls count: 746 | ''=54;;;0; ''=73;0:100;0:200;0; 'calls.processed.count'=746;;;0; 

This command would trigger a WARNING alarm if the number of active calls is reported as over 100 (--warning-calls-active='100') and a CRITICAL alarm if over 200than 50% (--critical-calls-active='200').

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins// \
--plugin=apps::voip::asterisk::snmp::plugin \
--mode=channel-usage \

All available options for a given mode can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins// \
--plugin=apps::voip::asterisk::snmp::plugin \


Please find all the troubleshooting documentation for the Centreon Plugins in the dedicated page