Hello,
   I have a question which may or may not be a bug.  I have a number of nodes 
running gmond 3.1.7.  All of these hosts are configured to unicast to a single 
server via udp:

udp_send_channel {
  host = 192.168.1.100
  port = 8649
}


This server is configured to received udp 

udp_recv_channel {
  port = 8649
}

tcp_accept_channel {
  port = 8649
}

this configuration works well, data is collected and stored in rrd.   I am 
using 
a script to connect to the TCP port and pull the XML description of the cluster 
state.  This works fine - except when the server gmond is restarted.  In this 
case the server gmond comes back up and receives data from the clients - but 
does add the metrics back to the XML description, instead I have XML host entry 
with no metrics.    I have left it running in this state for 24 hours with no 
update to XML metric information.


Example (no XML metric data)
<GANGLIA_XML VERSION="3.1.7" SOURCE="gmond">
<CLUSTER NAME="Dev" LOCALTIME="1305125947" OWNER="unspecified" 
LATLONG="unspecified" URL="unspecified">
<HOST NAME="test1.test.com" IP="192.168.1.121" REPORTED="1305125936" TN="10" 
TMAX="20" DMAX="0" LOCATION="unspecified" GMOND_STARTED="1305062306">
</HOST>
<HOST NAME="test2.test.com" IP="192.168.1.122" REPORTED="1305125937" TN="10" 
TMAX="20" DMAX="0" LOCATION="unspecified" GMOND_STARTED="1305062306">
....
</HOST>
</CLUSTER>
</GANGLIA_XML>


after restarting a gmond client, the XML descriptions are updated for that node 
on the server.

<HOST NAME="test1.test.com" IP="192.168.1.121" REPORTED="1305126101" TN="4" 
TMAX="20" DMAX="0" LOCATION="unspecified" GMOND_STARTED="1305126101">
<METRIC NAME="mem_total" VAL="2059524" TYPE="float" UNITS="KB" TN="2" 
TMAX="1200" DMAX="0" SLOPE="zero">
<EXTRA_DATA>
<EXTRA_ELEMENT NAME="GROUP" VAL="memory"/>
<EXTRA_ELEMENT NAME="DESC" VAL="Total amount of memory displayed in KBs"/>
<EXTRA_ELEMENT NAME="TITLE" VAL="Memory Total"/>
</EXTRA_DATA>
...



looks like a gmond 'server' restart requires clients to restart to get XML 
metric information.  Is this by design or a bug?



Thanks
Kevin

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to