<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks I can work with this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Jon</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=giorgio.ciccarelli@sociale.it
href="mailto:giorgio.ciccarelli@sociale.it">Giorgio Ciccarelli</A> </DIV>
<DIV style="FONT: 10pt arial"><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: 10pt arial"><B>Sent:</B> Wednesday, November 19, 2008 8:36
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users]
Monitoring</DIV>
<DIV><BR></DIV>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 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="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=ella4ever@gmail.com href="mailto:ella4ever@gmail.com">Hakan C</A>
</DIV>
<DIV
style="FONT: 10pt arial; 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: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Wednesday, November 19, 2008 7:07 AM</DIV>
<DIV
style="FONT: 10pt arial; 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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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 width="90%" SIZE=4>
_______________________________________________
-- 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>
<P>
<HR>
<P></P>_______________________________________________<BR>-- Bandwidth and
Colocation Provided by http://www.api-digital.com --<BR><BR>asterisk-users
mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>