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