<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Tahoma;
        color:teal;
        font-weight:bold;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><b><font size=2 color=teal face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:teal;font-weight:bold'>Thanks,
Ralph.  I’ll keep this in mind.<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=teal face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:teal;font-weight:bold'><o:p> </o:p></span></font></b></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ralph Mitchell
[mailto:ralphmitchell@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, June 12, 2006 11:56
PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">hobbit@hswn.dk</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [hobbit] Modem
monitoring</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Have you considered
"expect"??  It's an extension to Tcl that can spawn a program,
such as telnet, and then send commands to it.  I have a script that
telnets to a given server, answers TACACS prompt if necessary, and logs in,
then su's to root - if the password is provided. <br>
<br>
You should be able to spawn a telnet command to a specific IP + port number,
just as you would on the command line.  Send the AT command, wait for the
response.  If it times out, do one thing, if the response occurs, do
another thing.  Lather, rinse, repeat. <br>
<br>
I haven't yet got into running much stuff via Hobbit, but I've had a lot of
success over the last 5 years firing off Big Brother scripts from cron.<br>
<br>
Ralph Mitchell<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 6/12/06, <b><span style='font-weight:bold'>Smith,
Jim</span></b> <<a href="mailto:JMSmith@stvincenthealth.com">JMSmith@stvincenthealth.com</a>>
wrote:</span></font></span><o:p></o:p></p>

<div>

<div link=blue vlink=purple>

<div>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'>I've been using Big Brother for
about 4 years and have been testing Hobbit and plan to switch over soon. 
I have a situation that I have never been able to figure out how to address, so
I'd like to throw it out here and see if anyone has any ideas.</span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'> </span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'>We have a terminal server with
7 fax modems connected to it.  A Unix server uses it to fax reports out to
various doctor's offices around town.  For reasons that we've never been
able to figure out, one or more of the modems will occasionally
"lock-up", i.e. quit responding to commands.  This usually locks
the associated serial port on the terminal server as well.</span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'> </span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'>I would like to be able to
monitor these modems by connecting to their port on the terminal server, i.e. <a
href="http://192.168.1.15:2001" target="_blank">192.168.1.15:2001</a>, send
them an "AT" command, wait a few seconds for a response, then
disconnect.  I can't figure out a way to connect to them with the additional
requirement of having to use the network port that they addressed by on the
terminal server…in this case, 2001 through 2007.</span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'> </span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'>Any help would be greatly
appreciated.</span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'> </span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'>And , by the way, I think
Hobbit is great!  I think it is a big improvement upon Big Brother,
although I must admit that we're on the "better than free" license
since we are a non-profit, so I haven't seen what Quest may have done with it.</span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'> </span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'>Thanks in advance!</span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'> </span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'>Jim Smith</span></font></b><o:p></o:p></p>

<p><b><font size=2 color=teal face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;color:teal;font-weight:bold'> </span></font></b><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>NOTICE: This email contains confidential or proprietary information
which may be legally privileged. It is intended only for the named
recipient(s). If an addressing error has misdirected the email, please notify
the author by replying to this message. If you are not the named recipient, you
are not authorized to use, disclose, distribute, copy, print or rely on this
email, and should immediately delete it from your computer system. <o:p></o:p></span></font></p>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.</body>

</html>