[xymon] test ssh on private ip
Tim McCloskey
tm at freedom.com
Mon Feb 7 22:43:45 CET 2011
Cheesy, but you can just add the internal IP address to the /etc/hosts file of your xymon server. You'll want to have a look at /etc/nsswitch.conf to see if name resolution follows the order of "hosts: files dns".
________________________________________
From: sholmes42 at gmail.com [sholmes42 at gmail.com] On Behalf Of Steve Holmes [sholmes42 at mac.com]
Sent: Monday, February 07, 2011 1:38 PM
To: xymon at xymon.com
Subject: [xymon] test ssh on private ip
[Running 4.2.3 on solaris with a lot of linux clients]
We have a heavily (some would say 'insanely') firewalled environment. For some clients, I need to be able to test ssh on the private ip address, but even though I have the private ip in the bb-hosts file and have specified testip, the ssh test insists on testing the public address (which it is getting from DNS, apparently) and fails because the firewall doesn't allow ssh connections on that interface.
Is there a way to do this?
Thanks,
Steve
More information about the Xymon
mailing list