true, another way (and more foolproof, since number of channels fluctuates) I do it is to grab a rasterisk -x 'core show uptime'...My Zabbix user has it's sudoers entry locked down to a few specific commands such as that :D<br>
<br><div class="gmail_quote">On Mon, May 16, 2011 at 9:14 AM, Frederic Jean <span dir="ltr"><<a href="mailto:makafre@gmail.com">makafre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div> </div>
<div>Neither do I.</div>
<div> </div>
<div>I personally use Nagisk to monitor the Asterisk (channels, etc.) but not the process itself.</div>
<div>If Nagisk fails to get the information (Asterisk process is down) then it is reported.</div>
<div>However, this is unlikely to happen unless Asterisk cannot restart, as you mentioned.</div>
<div> </div>
<div>A sign that the Asterisk has been restarted would be a lower number of channels, which is worth investigating.</div><div><div></div><div class="h5">
<div> </div>
<div> </div>
<div class="gmail_quote">On Mon, May 16, 2011 at 9:54 AM, Sherwood McGowan <span dir="ltr"><<a href="mailto:sherwood.mcgowan@gmail.com" target="_blank">sherwood.mcgowan@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">Personally, my current HA Asterisk setups do not monitor the asterisk process since it's autorestarted<br>
<br>Sent from my iPhone<br><br>On May 16, 2011, at 8:25 AM, Bob Pierce <<a href="mailto:westmanbob@gmail.com" target="_blank">westmanbob@gmail.com</a>> wrote:<br><br>> Does anyone have an OCF file for Asterisk?<br>
><br>> I'm setting up an Asterisk HA system using HA-Linux with version 2<br>
> config file. I was thinking it would be nice to monitor the Asterisk<br>> process as a resource, but I can't find an Asterisk OCF file. I'm also<br>> wondering if there is much value in having Heartbeat monitor the<br>
> Asterisk resource since Asterisk is being started with safe_asterisk.<br>> What is the standard practice when setting up Asterisk with Linux-HA?<br>><br>> Bob<br>><br>> --<br>> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>><br>> asterisk-ha-clustering mailing list<br>> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering</a><br><font color="#888888"><br>--<br>_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-ha-clustering mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering</a><br>
</font></blockquote></div><br>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ha-clustering mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering</a><br></blockquote></div><br><br clear="all"><br>-- <br>Sherwood McGowan<br>
Telecommunications and VOIP Consultant<br><br>