say this is my *.pyconf

i'd like to be able to send a list through the config file to the
paramateres that are passed at init time for my python gmond module.
is there a syntax for allowing a list to be specified...something
like:

modules {
  module {
    name = "lb-monitor"
    language = "python"
    param server_pools {
      value = static-uploads,
      value = app-server
    }

  }

and then in my python module:

def metric_init(params):
  try:
    server_pools = params['lb-monitor']
  except KeyError:
    return []

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to