On Wed, 2007-10-17 at 11:44 -0700, Steve Okay wrote: > I've been unable to find where in the config files or the Ganglia code > it determines what RRDs get created.
Here is a short summary. (All file names are relative to monitor- core/gmetad directory.) When gmetad processes the XML data it receives, each <METRIC> element triggers the startElement_METRIC(...) function in process_xml.c. It does some condition checks and then calls write_data_to_rrd(...) to write out the data. Also, when the closing </CLUSTER> tag is seen, it will invoke write_data_to_rrd(...) to write out the SummaryInfo metrics. The write_data_to_rrd(...) function in rrd_helpers.c construct the path to the rrd file and creates parent directories is necessary. It then calls push_data_to_rrd(...) which creates the rrd file (using RRD_create) if the file doesn't exist. After that, it calls RRD_update to insert the metric data. You could always insert a few debug statements in startElement_METRIC to see if it is even calling write_data_to_rrd for your metrics, and if not, determine what condition is failing that prevents the call. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

