Have you looked to see if they're being logged to /var/log/asterisk/full ? That would be much easier to detect.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; --joey<br><br><div><span class="gmail_quote">On 8/3/06, <b class="gmail_sendername">Bart Fisher</b>
 &lt;<a href="mailto:bhfisher@icpage.com">bhfisher@icpage.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm trying to detect when a T1 goes to Yellow or Red alarm.&nbsp;&nbsp;I noticed
<br>these events will be displayed on the CLI.<br>What I'd like to do is cause an email to be sent when from a script on<br>these events, but somehow I would need to<br>capture the CLI outputs to detect messages<br><br>Message are:
<br>wct4xxp: Setting yellow alarm on span 1<br>wct4xxp: Clearing yellow alarm on span 1<br><br>Any clues?<br><br>Bart<br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>