code: public GMetric getConfig() throws IOException, XPathExpressionException {
  		// TODO what happens when the node cannot be found? do we use all
  		// default values?
  		ganglia = getXmlNode("/jmxetric-config/ganglia", inputSource);
  		// Gets the config for ganglia
  		// Note that the ganglia config needs to be found before the samplers
  		// are created.
  		GMetric gmetric = makeGMetricFromXml();
  		return gmetric;
  	}
docs: Creates a GMetric attribute on the JMXetricAgent from the XML config
  
  @return
  @throws IOException
  @throws XPathExpressionException