Over on the company blog, we just announced that we committed a complete Asterisk MIB implementation to OSS_SNMP in addition to a proof of concept Asterisk wallboard to NOCtools which includes active channels, uptime, version information and more.
Full details are on the company post but here’s a snippet of how easy it is to query Asterisk over SNMP:
$host = new \OSS_SNMP\SNMP( $asteriskIP, $community );
echo "Asterisk version: " . $host->useAsterisk()->version();
echo "Active calls: " . $host->useAsterisk()->callsActive();
echo "Calls processed: " . $host->useAsterisk()->callsProcessed();
And here’s a screenshot of the proof of concept Asterisk wallboard: