mike- if you want to look the code.. ./lib/net.c is the file and mcast_connect() and mcast_set_if() are the functions. if the interface is set to NULL, i set inaddr.s_addr = htonl ( INADDR_ANY ) otherwise i do the ioctl call.
you might want to look at the ifconfig -a output to see if eth0 is UP.. also.. the INADDR_ANY means that the kernel decides which interface to use. what does your netstat -rn look like? i haven't had this problem on our cluster .. and it hasn't been reported by anyone else so i'm trying to see if it's something unique to your configuration. we'll get this problem fixed i'm sure. good luck. -matt Yesterday, Mike Snitzer wrote forth saying... > matt massie ([EMAIL PROTECTED]) said: > > > look at the output of "ifconfig -a".. the first interface listen will be > > the interface that gmond communicates on. > > Ok, well if that is the case; that too goes against what is happening on > this particular node; because ifconfig -a lists eth0 as the first > interface; yet gmond is multicasting on eth1 by default. > > Mike > > > > Today, Mike Snitzer wrote forth saying... > > > > > All, > > > > > > While getting ganglia 2.2.1 going on a cluster I noticed gmond -h stated: > > > > > > -i, --mcast_if > > > set the interface gmond is to multicast on > > > default: first interface e.g. "eth0" > > > > > > this however does not appear to be the case; as the multicast was going > > > out eth1. So I was only seeing the master node in the php-rrd-client. > > > > > > As soon as I used: gmond -i eth0 all the nodes in the cluster were > > > viewable through the php-rrd-client. > > > > > > I've yet to get around to hacking the gmond source; but figured > > > I'd first mail the list to see if others have seen eth0 not being used as > > > the default multicast interface. > > > > > > Thanks, > > > Mike > > > > > > > > > _______________________________________________ > > > Ganglia-general mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/ganglia-general > > > > > >

