<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Asif Iqbal wrote:
<blockquote
 cite="mid:a60f25fc0706121039y5d826648p5c51768c52e4d420@mail.gmail.com"
 type="cite">On 6/12/07, <b class="gmail_sendername"><a
 moz-do-not-send="true" href="mailto:s_aiello@comcast.net">s_aiello@comcast.net</a></b>
<<a moz-do-not-send="true" href="mailto:s_aiello@comcast.net">s_aiello@comcast.net</a>>
wrote:
  <div><span class="gmail_quote"></span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On
Tuesday 12 June 2007 11:19, Ralph Mitchell wrote:<br>
> On 6/12/07, Asif Iqbal <<a moz-do-not-send="true"
 href="mailto:vadud3@gmail.com">
vadud3@gmail.com</a>> wrote:<br>
> ><br>
> > Is there a work around?  I  just want to get ssh on interface
and ping on<br>
> > the other interface tested but keep the results under same
hostname.<br>
>
    <br>
> Let Hobbit do the ping test.  Write a script to connect to the
other<br>
> port via ssh and send a green/red report to Hobbit.<br>
><br>
    <br>
I have a script that I through together to do this. It is single
threaded tho.
    <br>
No real documentation on it, but if you want it.. I could throw
something<br>
together and forward it to ya. Basically the script uses nc to do a port<br>
check.</blockquote>
  <div><br>
  <br>
  <br>
I still think there is a simpler way to do this. I think I saw
somethink like this in the past.
  <br>
  <br>
  <a moz-do-not-send="true" href="http://1.2.3.4">1.2.3.4</a> <a
 moz-do-not-send="true" href="http://host.net">host.net</a> # testip ssh<br>
  <a moz-do-not-send="true" href="http://0.0.0.0">0.0.0.0</a> <a
 moz-do-not-send="true" href="http://host.net">host.net</a> #<br>
  </div>
  </div>
</blockquote>
<br>
I think that would be:<br>
<br>
1.2.3.4 host.net # conn testip<br>
0.0.0.0 host.net # noconn ssh <br>
<br>
This would make the ping test ping 1.2.3.4, and the ssh test would be
the DNS ip of host.net.  I don't think Hobbit "likes" when you do that
though, I know if you have duplicate hostnames it makes hobbitest turn
yellow and fuss at you :)<br>
<br>
-Charles<br>
<br>
</body>
</html>