Xymon Mailing List Archive search

testing remote hosts with different source address

list Josh Luthman
Mon, 19 Jan 2009 08:28:26 -0500
Message-Id: <user-71e35b97a940@xymon.invalid>

Now that is really cool. Thank you!

On 1/19/09, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-ad41d929c936@xymon.invalid> Lorenzo Chiavacci <user-c7361b716a55@xymon.invalid>
writes:
I am using Hobbitmon 4.2 and I would like to set up a system with
multiple IP addresses on network interface so that I can perform test to
some hosts through an IP address and other tests through another IP
address, and  so  on with multiple address aliases.
It's not in the current version, but I do have code for this in
the current development version. There is a patch available at
http://henrik.hswn.dk/srcaddr.patch - this should apply to the 4.2.2
version:
  - save the file to /tmp/srcaddr.patch
  - cd xymon-4.2.2
  - patch -p0 < /tmp/srcaddr.patch
  - make
  - cp bbnet/bbtest-net ~xymon/server/bin/

With this patch, you can specify the source address using "@IP"
in the test-spec in bb-hosts. E.g.

  10.0.0.1   myhost   # ftp at 172.16.1.1 ssh

will cause the ftp-test to run with a source-address of 172.16.1.1

It doesn't support specifying the source for http/https tests.


Regards,
Henrik

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer