Xymon Mailing List Archive search

ssh on one onterface and ping on other interface

list Rolf Schrittenlocher
Wed, 13 Jun 2007 11:46:05 +0200
Message-Id: <user-6526889a6833@xymon.invalid>

Hi,

just give the second IP a virtual hostname so that names in bb-hosts 
differ and it will work
regards
Rolf
On 6/12/07, *user-ce96540ed38f@xymon.invalid <mailto:user-ce96540ed38f@xymon.invalid>* 
<user-ce96540ed38f@xymon.invalid <mailto:user-ce96540ed38f@xymon.invalid>> wrote:

    On Tuesday 12 June 2007 11:19, Ralph Mitchell wrote:
On 6/12/07, Asif Iqbal < user-6f4b51ac2a40@xymon.invalid
    <mailto:user-6f4b51ac2a40@xymon.invalid>> 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 <http://1.2.3.4>; host.net <http://host.net>; # testip ssh
0.0.0.0 <http://0.0.0.0>; host.net <http://host.net>; #

Something like that. But I have not found the exact example yet


    ~Steve


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu <http://pgp.mit.edu>;

-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid