[asterisk-users] Peak number of calls?

Steve Totaro stotaro at totarotechnologies.com
Wed Jan 23 15:45:42 CST 2008


On Jan 23, 2008 2:06 PM, Steve Edwards <asterisk.org at sedwards.com> wrote:
> On Wed, 23 Jan 2008, Drew Gibson wrote:
>
> > Gordon Henderson wrote:
> >> Is there any way to find-out the peak number of calls that an asterisk
> >> system has had? Not the total number of calls, but the maximum number of
> >> simultaneous calls.
> >
> > We use Asterisk-stat from Areski (GPL). It will show peak number of
> > calls by the hour. Select "Daily Load", scroll down and choose the hour
> > you want and "Fluctuation Graph". Lots of other goodies too.
> >
> > http://areski.net/areski/index.php?option=com_content&task=view&id=22&Itemid=54
>
> Or, as a quick & dirty...
>
>          DATE=$(date +%F-%H-%M-%S)
>          COUNT=$(sudo /usr/sbin/asterisk -r -x "sip show channels" | wc -l)
>          echo $DATE $COUNT >>/tmp/channel-counts
>
> in a shell script executed every second in cron.
>
> Thanks in advance,
> ------------------------------------------------------------------------
> Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                             Fax: +1-760-731-3000
>

I have seen Cacti used to make some *really* nice semi-realtime and
historic graphs.

Thanks,
Steve Totaro



More information about the asterisk-users mailing list