![](https://secure.gravatar.com/avatar/d86109eab004454679c8da55b874eaf2.jpg?s=120&d=mm&r=g)
On 19/07/2012 17:17, Pieter De Wit wrote:
On 19/07/2012 16:30, Adam Armstrong wrote:
On 19/07/2012 04:41, Pieter De Wit wrote:
Hi Guys,
Do you guys know if there is plans to support Asterisk monitoring via SNMP in the near future ?
None of the developers have any requirement to support Asterisk monitoring.
adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Thanks Adam,
Any pointers if I want to add it to the code ? Samples etc ?
Thanks !
Hey Adam,
I finally got some time to work on this (and finally got Asterisk and snmp speaking :) )
I have an issue with the module however, perhaps you can help. I added:
$config['poller_modules']['asterisk'] = 1; $config['discovery_modules']['asterisk'] = 1;
to includes/defaults.inc.php
I then created asterisk.inc.php under "includes/discovery" and started working on the code. I used to be able to test this with "./discovery.php -m asterisk -h 92" but this has stopped and I don't know why. Even if I put a print at the start of the module, I get nothing during the discovery.
If I look at the device from the web interface, Asterisk is shown and enabled, both poller and discovery.
Can you also tell me how/where I define the data that this module will store ? Is this the right way to go about things ? Any other files I need to look at to edit etc ?
Thanks,
Pieter