Sorry, sent it privately instead of to the list,<br><br>Yes, monit works great, setting up asterisk with monit is quite simple, I use it on my wrt platform with the following lines:<br><br>check process asterisk with pidfile /var/run/asterisk.pid<br>
start program "/etc/init.d/asterisk start"<br>stop program "/etc/init.d/asterisk stop"<br>if failed host 192.168.x.x port 5060 type udp then restart<br>IF 5 RESTARTS WITHIN 5 CYCLES THen timeout<br><br>
<br><div class="gmail_quote">On Mon, May 11, 2009 at 9:56 PM, nir grinberg <span dir="ltr"><<a href="mailto:nir@grinberg.org">nir@grinberg.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ohad hi,<br>
<br>
Thanks for the information, i really liked Munit's feature of turning<br>
"Active" a service that went off my itself. This by itself seems like<br>
a very valuable option. do you have any practical experience with the<br>
monit app? does it deliver like it promise?<br>
<br>
<br>
nir<br>
<font color="#888888"><br>
<br>
--<br>
</font><div class="im">Regards,<br>
<br>
Nir Grinberg<br>
I.T.C. IP Technologies Ltd.<br>
nir@IsraelNumber.com<br>
<a href="http://www.IsraelNumber.com" target="_blank">www.IsraelNumber.com</a><br>
972.3.9707000<br>
<br>
<br>
</div><div><div></div><div class="h5">On Mon, May 11, 2009 at 2:49 PM, Ohad Levy <<a href="mailto:ohadlevy@gmail.com">ohadlevy@gmail.com</a>> wrote:<br>
> Hi Nir,<br>
><br>
> you can do something simple with sipsak, I think that the asterisk / sip<br>
> nagious plugins uses it.<br>
> you might want to setup monit, this can ensure that asterisk runs as<br>
> service.<br>
><br>
> if you have network issues, you can check for errors (with a simple ifconfig<br>
> or ethtool commands) and run a tcpdump and watch the output with wireshark..<br>
><br>
> hope this helps,<br>
> ohad<br>
><br>
> On Mon, May 11, 2009 at 3:47 PM, nir grinberg <<a href="mailto:nir@grinberg.org">nir@grinberg.org</a>> wrote:<br>
>><br>
>> one of the servers I manage has develop a service-blinking issue.<br>
>> The server is running Asterisk, Trixbox 2.6. Lately the service has<br>
>> started to "Blink" from time to time. with no apparent reason<br>
>> Asterisk service will stop. amportal / asterisk service start will<br>
>> bring all back to life. I looked on the log file and saw an error<br>
>> relating to one of the server interfaces. this might be the issue,<br>
>> but i am not sure.<br>
>> As you can suspect this is very annoying to me and customer and i am<br>
>> trying to figure what is going on.<br>
>><br>
>> is there a tool allowing for remote service monitoring on VoIP<br>
>> services? (maybe something simple that create a SIP request every so<br>
>> often from a remote server, keeping logs and creating alerts?)<br>
>><br>
>> -<br>
>><br>
>> --<br>
>> Regards,<br>
>><br>
>> Nir Grinberg<br>
>> I.T.C. IP Technologies Ltd.<br>
>> nir@IsraelNumber.com<br>
>> <a href="http://www.IsraelNumber.com" target="_blank">www.IsraelNumber.com</a><br>
>> 972.3.9707000<br>
>><br>
>> _______________________________________________<br>
>> Linux-il mailing list<br>
>> <a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
>> <a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
><br>
><br>
</div></div></blockquote></div><br>