Hi Chris:

On Fri, Jul 11, 2008 at 3:19 PM, Chris Stefanetti
<[EMAIL PROTECTED]> wrote:

>  would like gmond to bind to a  particular address on my Solaris 10
> multihomed machines.
>
> this is gmond 3.0.7 build for solaris from sunfreeware.com
>
> I'm not sure why at this point it is binding to the address on nge1
> but it is even though I specify the mcast_if to be nge0
>
> The problem is that the gmetad machine show's the hosts as coming from
> 172.16.1.1 and I want the machine to show up in the web gui as
> 10.128.1.52 which is the address on nge0 interface of the machine.
>
> thanks in advance for your help!!
>
> here is partial netstat output:
>
>       *.32781                             Idle
>       *.4045                              Idle
>       *.8649                              Idle
> 172.16.1.1.33812     239.2.11.71.8649     Connected
>
>
>
> ifconfig -a
>
> nge0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER>
> mtu 1500 index 2
>         inet 10.128.1.52 netmask ff000000 broadcast 10.255.255.255
>         groupname sc_ipmp0
>         ether 0:1b:24:5c:c8:84
> nge1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu
> 1500 index 3
>         inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
>         ether 0:1b:24:5c:c8:85
>
> gmond.conf:
>
> * If a cluster attribute is specified, then all gmond hosts are
> wrapped inside
>  * of a <CLUSTER> tag.  If you do not specify a cluster tag, then all
> <HOSTS> will
>  * NOT be wrapped inside of a <CLUSTER> tag. */
> cluster {
>   name = "production"
>   owner = "unspecified"
>   latlong = "unspecified"
>   url = "unspecified"
> }
>
> /* The host section describes attributes of the host, like the
> location */
> host {
>   location = "unspecified"
> }
>
> /* Feel free to specify as many udp_send_channels as you like.  Gmond
>    used to only support having a single channel */
> udp_send_channel {
>   mcast_join = 239.2.11.71
>   port = 8649
>   ttl = 1
>   mcast_if = nge0
> }
>
> /* You can specify as many udp_recv_channels as you like as well. */
> udp_recv_channel {
>   mcast_join = 239.2.11.71
>   port = 8649
>   bind = 239.2.11.71
>   mcast_if = nge0
> }

Since you are using multicast, you should create a static route for
multicast to go through nge0.  Another way around this is to use
unicast.

Cheers,

Bernard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to