Re: [Observium] Asterisk SNMP support
Drop it into an rrd and add in entry into $graps_enabled matching the graph type which will draw it.
You also need a graph type def in definitions.
Adam.
Pieter De Wit pieter@insync.za.net wrote:
On 7/04/2013 09:50, Tom Laermans wrote:
On 6/04/2013 23:02, Pieter De Wit wrote:
<snip>
I can give you access to the box via SNMP or a dump of the OID's (it's small) if you want to have a look.
I pastebin'ed it: http://pastebin.com/nCyzbV44
Are you sure you mean what you say when you say that
It's not really a hack though, it's enabling SNMP in Asterisk. The
agent will have to fetch the data from Asterisk and, imho, it's going to be more complicated code (Talking to Asterisk via CLI or AMI is a pain to get this type of data)
I see pretty much no useful info in their MIB, and this dump confirms it.
Number of active calls seems to be the only graphable output.
Tom _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hey Tom,
Yip - I am sure :) I have written am AMI and it's painful. As for the enabling SNMP part, there is 4 lines of config to add, 2 to Asterisk and 2 to snmpd.conf. I am happy to maintain the wiki page on this.
The only thing I want is, as you say, the number of active calls. There is nothing else in the dump, nor anything else that I can think of that is useful.
The way I see this playing out that we will have 12 graphs, one per channel type of the active number of calls. The other "usefull" info is the "enabled" features, like transfer, but I am not sure how we going to display that. For "version 1" I think we stick to the number of channels.
Now I just need to figure out how to get this into the DB and then I will work on the poller includes.
Cheers,
Pieter _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
On 7/04/2013 18:48, Adam Armstrong wrote:
Drop it into an rrd and add in entry into $graps_enabled matching the graph type which will draw it.
You also need a graph type def in definitions.
Adam.
<snip>
Hey Adam,
I'm sorry - but I don't see where I do the definitions and the adding of entries in graph_enabled (or graphs_enabled - which I can't find :( )
Thanks,
Pieter
participants (2)
-
Adam Armstrong
-
Pieter De Wit