Need help to configure ssh test
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
If I read the MAN page for bb-hosts correctly this should work, but on the xymon logs I see this:
2011-04-06 22:16:56 WARNING: Could not bind to source IP 10.20.30.40 for test (null): Cannot assign requested address.
Can someone kindly explain what I am doing wrong? We are running Xymon 4.2.3
Thanks in advance for your help,
~Alex
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
participants (2)
-
campos@utpa.edu
-
henrik@hswn.dk