code: public static void configure(JMXetricAgent agent, String agentArgs)
  			throws Exception {
  		CommandLineArgs args = new CommandLineArgs(agentArgs);
  		InputSource inputSource = new InputSource(args.getConfig());
  
  		configureGanglia(agent, inputSource, args);
  
  		configureJMXetric(agent, inputSource, args);
  	}
docs: Configures the JMXetricAgent based on the supplied agentArgs Command line
  arguments overwrites XML arguments. Any arguments that is required but no
  supplied will be defaulted.
  
  @param agent
  the agent to configure
  @param agentArgs
  the agent arguments list
  @throws java.lang.Exception