I've installed Ganglia 3.0.0 on a 32 node cluster of XServe G5's with
Darwin Kenel 7.8.0 on master node and 7.7.1 on interior nodes.  The
metrics are much better with version 3.0.0 (which I'm very grateful for)
but I have a couple problems I was hopeing someone might have some insight
about.

Problem 1:  When running the configure script I get the following message
(gcc version is 3.3):

checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING:  ## ------------------------------------ ##
configure: WARNING:  ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:  ## ------------------------------------ ##

The error messages in config.log are these:
configure:19987: checking net/if.h usability
configure:20000: gcc -c -g -O2 conftest.c >&5
In file included from configure:20069:
/usr/include/net/if.h:186: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:187: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:188: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:219: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:220: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:221: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:290: error: field `addr' has incomplete type
/usr/include/net/if.h:291: error: field `dstaddr' has incomplete type
configure:20003: $? = 1 configure:
failed program was:
| #line 19989 "configure"
| /* confdefs.h.  */

...

I'm not sure if these errors have any bearing on the other problem I
have.  Despite the configuration errors, I'm still able to compile and run
both gmond and gmetad.


--
Problem 2:  The gmond daemons do not return the hostname, but rather an
IP address. Here's an example from the XML output (telnet localhost 8649):

<HOST NAME="192.168.12.220" IP="192.168.12.220" REPORTED="1108749163"
TN="19" TMAX="20" DMAX="0" LOCATION="unspecified" GMOND_STARTED="1108747603">

If I switch back to version 2.5.6 then the hostnames appear fine. In any
event, the hostnames are resolvable through the /etc/hosts file and a DNS
server that serves the cluster.


Thanks for any help,
Stephen

Reply via email to