[Asterisk-Users] Asterisk monitoring availability
Sherwood McGowan
madprofzero at yahoo.com
Mon Sep 19 12:17:03 MST 2005
I personally use Zabbix, and custom scripts that call asterisk -rx or the
manager API and return numeric digits. For instance, I use "asterisk -rx
'sip show peers' | grep --text -i 'OK' | wc -l" to show me how many users
are connected at once, and test for no data return after 60 seconds for
deadlock catching. (Asterisk does not always play nice and return the data
you expect).
Another example: "asterisk -rx 'show channels' | grep --text -i 'active
call' | awk '{print $1}' " (if I remember correctly) gives me my number of
active calls.
Hope this was somewhat helpful.....
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sig Lange
Sent: Monday, September 19, 2005 2:58 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Asterisk monitoring availability
I'm attempting to implement an acceptable asterisk monitoring program. One
method is with a simple program i've written (Adapted from the perl one in
the wiki).
One problem with this solution is the timeout I expect a packet response.
Currently it's set to 1 second, and I still sometimes miss an IAX ping
response. Which throws false alarms to my other programs, SMS's, etc. What
have others done to monitor asterisks availability?
Thanks
--
Sig Lange
http://www.signuts.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050919/4fb39b08/attachment.htm
More information about the asterisk-users
mailing list