Xymon Mailing List Archive search

Need help to configure ssh test

list Henrik Størner
Thu, 07 Apr 2011 07:50:53 +0200
Message-Id: <user-27924e959657@xymon.invalid>

Den 07-04-2011 05:25, Alex Campos skrev:
Hello,

I hope I am sending this question to the correct list. I’ve been trying
to setup a basic network test (ssh) for a multihomed server in such a
way that the connection test goes to IP “A” and the SSH test is
performed on IP “B”

This is how my bb-hosts line looks:

1.2.3.4 sever.domain.com # conn=worst,10.20.30.40 ssh:25052 at 10.20.30.40
The '@' modifier is for defining the SOURCE of the connection, not the destination. It is used when your Xymon server is multihomed.

For multihomed destinations, you need a separate entry in the hosts.cfg (bb-hosts) file with the alternate IP and the "testip" tag. In your case it would be like this:

10.20.30.40 server-ip2.domain.com # testip ssh


Regards,
Henrik