[hobbit] ssh on one onterface and ping on other interface

Asif Iqbal vadud3 at gmail.com
Wed Jun 13 05:59:12 CEST 2007


On 6/12/07, Charles Jones <jonescr at cisco.com> wrote:
>
>  Asif Iqbal wrote:
>
> On 6/12/07, s_aiello at comcast.net <s_aiello at comcast.net> wrote:
> >
> > On Tuesday 12 June 2007 11:19, Ralph Mitchell wrote:
> > > On 6/12/07, Asif Iqbal < vadud3 at gmail.com> wrote:
> > > >
> > > > Is there a work around?  I  just want to get ssh on interface and
> > ping on
> > > > the other interface tested but keep the results under same hostname.
> > >
> > > Let Hobbit do the ping test.  Write a script to connect to the other
> > > port via ssh and send a green/red report to Hobbit.
> > >
> >
> > I have a script that I through together to do this. It is single
> > threaded tho.
> > No real documentation on it, but if you want it.. I could throw
> > something
> > together and forward it to ya. Basically the script uses nc to do a port
> > check.
>
>
>
>
> I still think there is a simpler way to do this. I think I saw somethink
> like this in the past.
>
> 1.2.3.4 host.net # testip ssh
> 0.0.0.0 host.net #
>
>
> I think that would be:
>
> 1.2.3.4 host.net # conn testip
> 0.0.0.0 host.net # noconn ssh
>
> 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 :)
>


Hmm.. why so? Is there a patch may be to fix that behavior?!


-Charles
>
>


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070612/1be934b1/attachment.html>


More information about the Xymon mailing list