Discussion:
[asterisk-users] Asterisk Monitoring
Dan Journo
2009-10-18 00:30:37 UTC
Permalink
Hello,



I was wondering if anyone has any insights on the best way to automatically monitor an asterisk box to check it is constantly available and processing calls.



Many thanks

Dan



________________________________



IT Maintenance Contract Clients can now access our Instant Chat Service to receive immediate remote IT support. Click the chat link below for support.
For more information on receiving IT support from £150 per month, please contact Kesher Communications.

________________________________





Dan Journo
IT Business Consultant
Kesher Communications Ltd

Tel: 07957 233 599
Web: http://www.KesherCommunications.com <http://www.keshercommunications.com/>
Live Chat/Instant Support: Click Here <http://eu.ntrsupport.com/inquiero/web/digisign/digisign.asp?login=I23E7F508C6B61A91700343&lang=en&surpre=PreSurvey>

This email and any files transmitted with it are confidential and intended solely for the recipient(s). If you are not the named addressee you should not disseminate, copy or alter this email. Under no circumstances may this email be distributed without written permission from the sender. Warning: Although the Company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. All prices exclude VAT unless otherwise stated. No responsibility is taken for any recommendations made by a sender or by Kesher Communications Ltd. Recipient(s) takes responsibility for any actions taken as a result of advice and recommendations given by Kesher Communications Ltd.
Alex Balashov
2009-10-18 00:28:20 UTC
Permalink
Post by Dan Journo
Hello,
I was wondering if anyone has any insights on the best way to
automatically monitor an asterisk box to check it is constantly
available and processing calls.
Depends on which signaling technology is in use.

I'll assume SIP here.

Checking whether it's processing calls (especially in some sort of
subjective way) can be a bit hard. But checking if the SIP interface
on it is responsive is quite easy; just install a tool called SIP
Swiss Army Knife ('sipsak'):

sipsak -T -s sip:***@ip.of.your.asterisk.box

***@octavia:~$ sipsak -T -s sip:***@10.250.10.1
warning: IP extract from warning activated to be more informational
0: ?? (70.357 ms) SIP/2.0 404 Not Found
without Contact header

Conversely, if it were down:

***@octavia:~$ sipsak -T -s sip:***@10.250.10.6
warning: IP extract from warning activated to be more informational
send failure: Connection refused

Or it would just time out.

This command returns a value which can be captured by a shell script,
and so it is possible to build it into something like a Nagios plugin,
for example.
--
Alex Balashov - Principal
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Jarrod Lash
2009-10-18 00:59:28 UTC
Permalink
We use Nagios. It is by far the most popular system for making sure process
are running and whatnot..

www.nagios.org
--
Jarrod Lash, <***@fed-com.com>
Federated Communications
Office: +1-412-357-2127
Mobile: +1-412-999-0049
Fax: +1-412-545-8368
Post by Dan Journo
Hello,
I was wondering if anyone has any insights on the best way to automatically
monitor an asterisk box to check it is constantly available and processing
calls.
Many thanks
Dan
------------------------------
[image: See original image]
*IT Maintenance Contract Clients can now access our Instant Chat Service
to receive immediate remote IT support. Click the chat link below for
support.
*For more information on receiving IT support from £150 per month, please
contact Kesher Communications.
------------------------------
[image: sig]
*Dan Journo
**IT Business Consultant*
Kesher Communications Ltd
Tel: 07957 233 599
Web: http://www.KesherCommunications.com<http://www.keshercommunications.com/>
Live Chat/Instant Support: Click Here<http://eu.ntrsupport.com/inquiero/web/digisign/digisign.asp?login=I23E7F508C6B61A91700343&lang=en&surpre=PreSurvey>
This email and any files transmitted with it are confidential and intended
solely for the recipient(s). If you are not the named addressee you should
not disseminate, copy or alter this email. Under no circumstances may this
Although the Company has taken reasonable precautions to ensure no viruses
are present in this email, the company cannot accept responsibility for any
loss or damage arising from the use of this email or attachments. All prices
exclude VAT unless otherwise stated. No responsibility is taken for any
recommendations made by a sender or by Kesher Communications Ltd.
Recipient(s) takes responsibility for any actions taken as a result of
advice and recommendations given by Kesher Communications Ltd.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
Jai Rangi
2009-10-18 01:02:43 UTC
Permalink
Nagios has a plugin "check_sip" that can be used for this.


-Jai
Post by Dan Journo
Hello,
I was wondering if anyone has any insights on the best way to automatically
monitor an asterisk box to check it is constantly available and processing
calls.
Many thanks
Dan
------------------------------
[image: See original image]
*IT Maintenance Contract Clients can now access our Instant Chat Service
to receive immediate remote IT support. Click the chat link below for
support.
*For more information on receiving IT support from £150 per month, please
contact Kesher Communications.
------------------------------
[image: sig]
*Dan Journo
**IT Business Consultant*
Kesher Communications Ltd
Tel: 07957 233 599
Web: http://www.KesherCommunications.com<http://www.keshercommunications.com/>
Live Chat/Instant Support: Click Here<http://eu.ntrsupport.com/inquiero/web/digisign/digisign.asp?login=I23E7F508C6B61A91700343&lang=en&surpre=PreSurvey>
This email and any files transmitted with it are confidential and intended
solely for the recipient(s). If you are not the named addressee you should
not disseminate, copy or alter this email. Under no circumstances may this
Although the Company has taken reasonable precautions to ensure no viruses
are present in this email, the company cannot accept responsibility for any
loss or damage arising from the use of this email or attachments. All prices
exclude VAT unless otherwise stated. No responsibility is taken for any
recommendations made by a sender or by Kesher Communications Ltd.
Recipient(s) takes responsibility for any actions taken as a result of
advice and recommendations given by Kesher Communications Ltd.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
http://lists.digium.com/mailman/listinfo/asterisk-users
John A. Sullivan III
2009-10-18 04:02:33 UTC
Permalink
Post by Dan Journo
Hello,
I was wondering if anyone has any insights on the best way to
automatically monitor an asterisk box to check it is constantly
available and processing calls.
<snip>
It depends on how deep and far you want to go. As already mentioned,
Nagios will do a nice job of letting you know SIP is responding and is
an all around excellent product.

Despite our familiarity with Nagios, we've been taking the plunge into
OpenNMS. It is much, much, much more difficult to set up for Asterisk
monitoring and is an enormous product. On the other hand, it gives you
access into the entire Asterisk SNMP MIB, does an outstanding job of
collecting and presenting statistics for all channels (not just SIP -
Nagios could theoretically expose the entire MIB but I don't know that
anyone has written such a plugin and doing it via the SNMP plugin alone
would be difficult at best). We were very keen to track much more data
than Nagios gave us in order to tweak, troubleshoot, and diagnose our
services. Hence the investment in learning OpenNMS. Once you get past
the huge learning curve of OpenNMS, it is a remarkably powerful product.

There was a flurry of queries regarding the specifics of setting up
Asterisk monitoring on the OpenNMS mailing list just a couple of days
ago and another string on monitoring SIP a couple of weeks ago. Hope
this helps - John
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
***@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society
John A. Sullivan III
2009-10-18 04:02:33 UTC
Permalink
Post by Dan Journo
Hello,
I was wondering if anyone has any insights on the best way to
automatically monitor an asterisk box to check it is constantly
available and processing calls.
<snip>
It depends on how deep and far you want to go. As already mentioned,
Nagios will do a nice job of letting you know SIP is responding and is
an all around excellent product.

Despite our familiarity with Nagios, we've been taking the plunge into
OpenNMS. It is much, much, much more difficult to set up for Asterisk
monitoring and is an enormous product. On the other hand, it gives you
access into the entire Asterisk SNMP MIB, does an outstanding job of
collecting and presenting statistics for all channels (not just SIP -
Nagios could theoretically expose the entire MIB but I don't know that
anyone has written such a plugin and doing it via the SNMP plugin alone
would be difficult at best). We were very keen to track much more data
than Nagios gave us in order to tweak, troubleshoot, and diagnose our
services. Hence the investment in learning OpenNMS. Once you get past
the huge learning curve of OpenNMS, it is a remarkably powerful product.

There was a flurry of queries regarding the specifics of setting up
Asterisk monitoring on the OpenNMS mailing list just a couple of days
ago and another string on monitoring SIP a couple of weeks ago. Hope
this helps - John
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
***@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society
Steve Totaro
2009-10-18 07:44:33 UTC
Permalink
Post by Dan Journo
Hello,
I was wondering if anyone has any insights on the best way to automatically
monitor an asterisk box to check it is constantly available and processing
calls.
Many thanks
Dan
I just telnet from a "monitor box" to the AMI and issue a number of show
commands to gather info such as how many sip, iax2, zap, etc, calls and use
RRD for history and graphs.

Argus is pretty good too.

Thanks,
Steve T
r***@gmail.com
2009-10-18 16:39:20 UTC
Permalink
-- Sent from my Palm Unknown
Jai Rangi wrote:

Nagios has a plugin "check_sip" that can be used for this.


-Jai



On Sat, Oct 17, 2009 at 5:30 PM, Dan Journo &lt;***@keshercommunications.com> wrote:















Hello,

 

I was wondering if anyone has any insights on the best way
to automatically monitor an asterisk box to check it is constantly available
and processing calls.

 

Many thanks

Dan

 













IT Maintenance Contract Clients can now access our
Instant Chat Service to receive immediate remote IT support. Click the chat
link below for support.

For more information on receiving IT support from £150 per month, please
contact Kesher Communications.
















 


Dan Journo

IT
Business Consultant

Kesher
Communications Ltd
Tel: 07957 233 599

Web: http://www.KesherCommunications.com

Live Chat/Instant Support: Click
Here





This
email and any files transmitted with it are confidential and intended solely
for the recipient(s). If you are not the named addressee you should not
disseminate, copy or alter this email. Under no circumstances may this email be
distributed without written permission from the sender. Warning: Although the
Company has taken reasonable precautions to ensure no viruses are present in
this email, the company cannot accept responsibility for any loss or damage
arising from the use of this email or attachments. All prices exclude VAT
unless otherwise stated. No responsibility is taken for any recommendations
made by a sender or by Kesher Communications Ltd. Recipient(s) takes
responsibility for any actions taken as a result of advice and recommendations
given by Kesher Communications Ltd.

 

 

 

 







_______________________________________________

-- Bandwidth and Colocation Provided by http://www.api-digital.com --



AstriCon 2009 - October 13 - 15 Phoenix, Arizona

Register Now: http://www.astricon.net



asterisk-users mailing list

To UNSUBSCRIBE or update options visit:

  http://lists.digium.com/mailman/listinfo/asterisk-users
Lee Archer
2009-10-19 07:19:41 UTC
Permalink
Zenoss has something that hits the manager port. I run Asterisk 1.4 boxes and are using SNMP to monitor. Asterisk 1.6 has a couple of extra SNMP OID’s that show the number of calls processed. It’s a shame 1.4 doesn’t have this OID as it could be really useful.



Regards



Lee



From: asterisk-users-***@lists.digium.com [mailto:asterisk-users-***@lists.digium.com] On Behalf Of ***@gmail.com
Sent: 18 October 2009 17:39
To: Asterisk Users Mailing List - Non-Commercial Discussion; abc005
Subject: Re: [asterisk-users] Asterisk Monitoring





-- Sent from my Palm Unknown



________________________________

Jai Rangi wrote:

Nagios has a plugin "check_sip" that can be used for this.


-Jai




On Sat, Oct 17, 2009 at 5:30 PM, Dan Journo <***@keshercommunications.com> wrote:

Hello,



I was wondering if anyone has any insights on the best way to automatically monitor an asterisk box to check it is constantly available and processing calls.



Many thanks

Dan



________________________________

See original image

IT Maintenance Contract Clients can now access our Instant Chat Service to receive immediate remote IT support. Click the chat link below for support.
For more information on receiving IT support from £150 per month, please contact Kesher Communications.

________________________________

sig



Dan Journo
IT Business Consultant
Kesher Communications Ltd

Tel: 07957 233 599
Web: http://www.KesherCommunications.com <http://www.keshercommunications.com/>
Live Chat/Instant Support: Click Here <http://eu.ntrsupport.com/inquiero/web/digisign/digisign.asp?login=I23E7F508C6B61A91700343&lang=en&surpre=PreSurvey>

This email and any files transmitted with it are confidential and intended solely for the recipient(s). If you are not the named addressee you should not disseminate, copy or alter this email. Under no circumstances may this email be distributed without written permission from the sender. Warning: Although the Company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. All prices exclude VAT unless otherwise stated. No responsibility is taken for any recommendations made by a sender or by Kesher Communications Ltd. Recipient(s) takes responsibility for any actions taken as a result of advice and recommendations given by Kesher Communications Ltd.










_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Loading...