<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Jon,<br>
you can see in the proc filesystem, in the same place where the zttool
read.<br>
The command "<b>cat /proc/zaptel/1 | grep -i Span</b>" give you the
status of the span 1 . You can looking for the word RED with a grep
command: if it's present the span is KO.<br>
You can make a shell script and put it in crontab. <br>
Then, if the span is KO, you can use any applications to have to send
you a alarm email. <br>
<br>
Giorgio Ciccarelli<br>
<br>
Jon Weisman wrote:
<blockquote cite="mid1462AD2DBC324F348CDD7E7BB55C49ED@VaioMatic"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6001.18148" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Thanks Hakan,</font></div>
<div> </div>
<div><font face="Arial" size="2">I was kind of hoping I wouldn't have
to "write" anything. Anybody else got something I could just use? </font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
<a title="ella4ever@gmail.com" href="mailto:ella4ever@gmail.com">Hakan
C</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a title="asterisk-users@lists.digium.com"
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing
List - Non-Commercial Discussion</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, November 19, 2008 7:07 AM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: [asterisk-users] Monitoring</div>
<div><br>
</div>
<div>Hello Jon,</div>
<div> </div>
<div>Maybe you can think about SNMP support in Asterisk.</div>
<div>Also you can develop custom applications in many languages or
take a look to Nagios (<a href="http://www.nagios.org/">http://www.nagios.org/</a>)</div>
<div> </div>
<div>Try that command on your Asterisk box:</div>
<div>asterisk -rx 'pri show spans', it returns PRI status.</div>
<div> </div>
<div>Good lucks</div>
<div><br>
<br>
</div>
<div class="gmail_quote">On Wed, Nov 19, 2008 at 1:57 PM, Jon
Weisman <span dir="ltr"><<a href="mailto:jweisman@ibell.net">jweisman@ibell.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Hello
all -<br>
<br>
We are trying to implement some monitoring systems for our production<br>
asterisk boxes. We use whats up gold for all our other stuff. I'd like
to be<br>
able to monitor the status of PRI's. For example if a PRI is in alarm,
i'd<br>
like to get an e-mail notification. How are others accomplishing this?<br>
<br>
Thanks,<br>
Jon<br>
<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-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote>
</div>
<br>
<p> </p>
<hr> _______________________________________________<br>
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Giorgio Ciccarelli
Gruppo Capodarco - Area ICT Voip Ippofono
Via Ostiense, 131L asc.B 00154 ROMA
Cellulare Aziendale : 3454302411
"Ai sensi e per effetti della legge sulla tutela della riservatezza personale (D.lgs n. 196/2003), questa @mail e' destinata unicamente alle persone sopra indicate e le informazioni in essa contenute sono da considerarsi strettamente riservate. E' proibito leggere, copiare, usare o diffondere il contenuto della presente @mail senza autorizzazione. Se avete ricevuto questo messaggio per errore, siete pregati di rispedire la stessa al mittente. Grazie"
</pre>
</body>
</html>