I have an asterisk server that I got SNMP working. I can do and snmpwalk from the librenms server and get all the information (sample output https://p.libren.ms/view/32820651) But when I add the server to the web interface the Asterisk application doesn’t get enabled now when I enable it manually will it pull data. I am getting all the basic information like CPU, RAM, hard drive, etc just not the Asterisk call information.
Here is the discovery and polling data.
./discovery.php -h HOSTNAME -d | ./pbin.sh https://p.libren.ms/view/45c76dad
./poller.php -h HOSTNAME -r -f -d | ./pbin.sh https://p.libren.ms/view/3b0d37f7
The Asterisk APP is for the “old” asterisk that doesnt have native snmp.
Download and configure the asterisk script.
I have compiled asterisk to use the snmp_res.so module.
I found this documentation Feature Request: Asterisk SNMP Support but not sure where to go with it from here.
I’ll look into the script. Will this pull call logs and such from a remote asterisk server or does LibreNMS need to be install on the asterisk server locally
I was able to get the script working and it’s pulling the data I was looking for.