# Asterisk Server Monitoring?

**URL:** <https://community.asterisk.org/t/asterisk-server-monitoring/10656>\
**Category:** Asterisk Support\
**Created:** [November 22, 2006, 6:03am UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656 "2006-11-22T06:03:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![natas](https://avatars.discourse-cdn.com/v4/letter/n/e99b99/32.png) [@natas](https://community.asterisk.org/u/natas)\
**Post date:** [November 22, 2006, 6:03am UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/1 "2006-11-22T06:03:18Z")

</div>

Is there a way to monitor an Asterisk server and continuously see the amount of concurrent calls? I’d like to monitor my server and actually see how many concurrent calls we process at our peak levels. Other than consistantly monitoring Asterisk with “show channels” I don’t really know of a way to do this. Is it possible? Is there a way to like create a report with this info or anything?

---

<div class="post-metadata">

**Author:** ![baconbuttie](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/baconbuttie/32/916_2.png) [@baconbuttie](https://community.asterisk.org/u/baconbuttie)\
**Post date:** [November 22, 2006, 6:41am UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/2 "2006-11-22T06:41:31Z")

</div>

the answer to most “is there a way” questions is usually the wiki :

[voip-info.org/wiki-Asterisk+GUI](http://www.voip-info.org/wiki-Asterisk+GUI)

---

<div class="post-metadata">

**Author:** ![mrprotocols](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mrprotocols](https://community.asterisk.org/u/mrprotocols)\
**Post date:** [November 22, 2006, 3:43pm UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/3 "2006-11-22T15:43:36Z")

</div>

I just finished depoly Nagios to monitor asterisk using the check\_sip plugin. It work great for me to ensure everyone get notified if service go down =). Cacti do have some capcity planning add-on for asterisk you might want to take a look which I am planning to look into it soon too=).

Cacti Asterisk PBX Add-on  
[forums.cacti.net/about11557.html … t=asterisk](http://forums.cacti.net/about11557.html&highlight=asterisk)  
Cacti CDR Trend analysis  
[forums.cacti.net/about16773.html … t=asterisk](http://forums.cacti.net/about16773.html&highlight=asterisk)

---

<div class="post-metadata">

**Author:** ![uros09](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@uros09](https://community.asterisk.org/u/uros09)\
**Post date:** [April 17, 2007, 11:21am UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/4 "2007-04-17T11:21:57Z")

</div>

Could you tell me pls what did you write in your service\_command check\_sip! line in nagios cfg file ?  
check\_sip!sip:101/agent does not work for me 👿 (101 is extension and agent is context)  
It seems if works only for default context right ?  
Pls add you default service {} lines for check\_sip plugin

---

<div class="post-metadata">

**Author:** ![dmikusa](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dmikusa](https://community.asterisk.org/u/dmikusa)\
**Post date:** [April 18, 2007, 11:07pm UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/5 "2007-04-18T23:07:16Z")

</div>

You could easily write a script that uses the Asterisk Manager Interface to monitor the number of callers.

Essentially you want to write a script in your favorite language that connects to the AMI, runs ‘show channels’ (or any other command that will effectively show the number of current callers), parses the result, and stick it into an SQL table which you can query for your reports.

You can have the script sleep and repeat or have cron execute it at some interval.

Just another opinion on a problem with many solutions.

Dan

---

<div class="post-metadata">

**Author:** ![jeg1972](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jeg1972](https://community.asterisk.org/u/jeg1972)\
**Post date:** [April 19, 2007, 9:55am UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/6 "2007-04-19T09:55:21Z")

</div>

You will be able to use the check\_sip plugin with Zenoss as well.

---

<div class="post-metadata">

**Author:** ![uros09](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@uros09](https://community.asterisk.org/u/uros09)\
**Post date:** [April 19, 2007, 12:01pm UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/7 "2007-04-19T12:01:33Z")

</div>

Well thank you but I prefer nagios and cacti.I am not so advanced user to write my own plugin for [nagios.As](http://nagios.As) you see I am struggling with definition of check\_sip plugin for nagios.

---

<div class="post-metadata">

**Author:** ![agni\_suresh896](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@agni\_suresh896](https://community.asterisk.org/u/agni_suresh896)\
**Post date:** [April 19, 2007, 12:09pm UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/8 "2007-04-19T12:09:03Z")

</div>

Try the below url.

[vracbazar.free.fr/v2/atinymon/atinymon\_en.html](http://vracbazar.free.fr/v2/atinymon/atinymon_en.html)

Thanks,  
Suresh.

---

<div class="post-metadata">

**Author:** ![uros09](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@uros09](https://community.asterisk.org/u/uros09)\
**Post date:** [April 20, 2007, 8:45am UTC](https://community.asterisk.org/t/asterisk-server-monitoring/10656/9 "2007-04-20T08:45:00Z")

</div>

Thanks for the link.
