Mike
2009-Dec-08 21:45 UTC
[asterisk-users] Easy way to see what dahdi channels are being used
Hi, I have just recently been using DAHDI, and I wanted to know how to monitor capacity. Let's say I have two DS1 (23 channels) coming in, one for Florida (let's say) and one for New York. How can I get a reading of how many channels of each T1 port is being used at any given moment? Ideally, have two values, one for each T1. dahdi show channels doesn't show outgoing calls. Is there another command I am not aware of? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091208/cdc563d9/attachment.htm
Tim Nelson
2009-Dec-08 21:45 UTC
[asterisk-users] Easy way to see what dahdi channels are being used
[This email is either empty or too large to be displayed at this time]
Danny Nicholas
2009-Dec-08 21:49 UTC
[asterisk-users] Easy way to see what dahdi channels are being used
Core show channels shows all calls. you will get two entries for most calls, 1 for the dahdi channel and one for the sip phone using it. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike Sent: Tuesday, December 08, 2009 3:45 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] Easy way to see what dahdi channels are being used Hi, I have just recently been using DAHDI, and I wanted to know how to monitor capacity. Let's say I have two DS1 (23 channels) coming in, one for Florida (let's say) and one for New York. How can I get a reading of how many channels of each T1 port is being used at any given moment? Ideally, have two values, one for each T1. dahdi show channels doesn't show outgoing calls. Is there another command I am not aware of? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091208/ed983f63/attachment.htm
Mike
2009-Dec-09 00:04 UTC
[asterisk-users] Easy way to see what dahdi channels are being used
Thanks Tim and Danny. It seems a more direct way should be there, but that`ll work. Regards, Mike From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tim Nelson Sent: Tuesday, December 08, 2009 16:45 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Easy way to see what dahdi channels are being used
Carlos Chavez
2009-Dec-09 00:24 UTC
[asterisk-users] Easy way to see what dahdi channels are being used
On Tue, 2009-12-08 at 19:04 -0500, Mike wrote:> Thanks Tim and Danny. It seems a more direct way should be there, but > that`ll work. > >A more direct way would be to use SNMP in Asterisk and keep statistics with Cacti. That way you will have an historical view of usage by hour, day, week and year. Even if you do not use cacti to create graphs you can still do an snmpwalk to query how many lines of what type are in use at any moment. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091208/c0bdf1a1/attachment.pgp
Mike
2009-Dec-09 01:44 UTC
[asterisk-users] Easy way to see what dahdi channels are being used
That`s my plan exactly, but for that I need some value to poll, and I was looking for the most efficient way to know that 12 out of 23 channels are being used. Seems that I need to massage the data more than I wanted, instead of using a "dahdi show port 3" command. That`s what I meant by it being "indirect". Mike> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- > bounces at lists.digium.com] On Behalf Of Carlos Chavez > Sent: Tuesday, December 08, 2009 19:25 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Easy way to see what dahdi channels are being > used > > On Tue, 2009-12-08 at 19:04 -0500, Mike wrote: > > Thanks Tim and Danny. It seems a more direct way should be there, but > > that`ll work. > > > > > A more direct way would be to use SNMP in Asterisk and keep > statistics with Cacti. That way you will have an historical view of usage > by hour, day, week and year. Even if you do not use cacti to create graphs > you can still do an snmpwalk to query how many lines of what type are in > use at any moment. > > > > -- > Telecomunicaciones Abiertas de M xico S.A. de C.V. > Carlos Ch vez Prats > Director de Tecnolog a > +52-55-91169161 ext 2001