Feature Request: Asterisk SNMP Support

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.

Please confirm each of the sections below by putting an x in the box like [x].

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==================================== section of ./validate.php which you can run from the cli.
Component Version
LibreNMS eca168ea68446936c606d0ed6e29a209e63248eb
DB Schema 156
PHP 5.3.3
MySQL 5.1.73
RRDTool 1.3.8
SNMP NET-SNMP 5.5
  • Unless your issue is for a WebUI fix or feature then please provide ALL info asked for here.

Asterisk host discovery paste: asterisk host discovery - Pastebin.com
Asterisk host poller paste: asterisk host poller - Pastebin.com
Asterisk SNMP paste pt1: asterisk host snmp pt1 - Pastebin.com
Asterisk SNMP paste pt2: asterisk host snmp pt2 - Pastebin.com
Asterisk SNMP paste pt3: asterisk host snmp pt3 - Pastebin.com

  • Please provide as much detail as possible.

Deployed Asterisk SNMP monitoring according to SNMP. Following this process, you need to install net-snmp and net-snmp-devel and recompile Asterisk while specifying the addition of the snmp_res.so module. After compiling Asterisk (and configuring it up all nice - omitting that information as some of it is in house), you need to place the snmp_res.so into the /etc/asterisk/modules. Unload the snmp_res.so module and then reload it, then make changes to snmpd.conf to make use of the AgentX subagent.

When performing snmpwalk on the LibreNMS host, use v1 or v2c (don’t have v3 configured) and use an OID of .1.3.6.1.4.1.22736 to narrow the output to just Asterisk. The MIB files for Asterisk and Digium are linked below:

Asterisk mib file: ASTERISK-MIB - Pastebin.com
Digium mib file: http://pastebin.com/xb15E8tw
(both acquired from https://wiki.asterisk.org/wiki/display/AST/Digium+MIB+Definitions and are quite dated. Haven’t found if there is an updated mib for either)

So while I am getting output from snmpwalk for Asterisk, LibreNMS does not have support for it in the web UI. For the above section, do note that it was output from a host in test so expect a lot of the int type OIDs to have zero or NULL values.

The Asterisk version on the host from the pastebin files above is 11.23.1 (kinda dated) on a CentOS 6.8 2.6.32-642.6.2.el6.x86_64 host.

  • Please do NOT post more than 10 lines of debug information here, use a pastebin service or GitHub Gists.

Don’t have any debug output handy, but can provide as requested.

Please dont post stuff from Observium here.

Please dont post stuff from Observium here.