On Thu, Jun 24, 2010 at 10:21:53AM +0000, Ronny wrote:
>
> I am facing the problem, that my gmond udp_send_channels sends via the wrong
> network interface on a multi homed linux machine.
there is some information on multihomed setups in the README which could
help.
> The machines have a front NIC and an backend NIC. Both IPs from the NICs get
> resolved by the name service, but the primary IP's dns name is the system's
> hostname (with an IP address out of 62.48.x.x)
>
> In my clients gmond.conf I have set:
>
> udp_send_channel {
> bind_hostname = yes # Highly recommended, soon to be default.
> # This option tells gmond to use a source address
> # that resolves to the machine's hostname. Without
> # this, the metrics may appear to come from any
> # interface and the DNS names associated with
> # those IPs will be used to create the RRDs.
> host = 10.0.11.16
> port = 8649
> ttl = 1
>
> }
>
> whereby 10.0.11.16 is the backend network.
>
> But this gmond seems to ignore to use 10.0.11.16 and sends via the
> primary IP adress 62.48.x.x to the udp_receive_channel locatet on
> another host. A firewall between send_channel and receiver channel
> machines using 62.48.x.x is blocking that traffic. I can't currently
> open the firewall.
that is what bind_hostname is meant to do AFAIK, maybe you would like to use
instead bind = 10.0.11.16 (host should point to your collector if using
unicast, so host and bind should be most of the time different ips in
10.0.11.x unlike this example)
Carlo
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general