Proper Way To Get Configuration information from probes

Discussion created by andrew.tranquada on Mar 18, 2010
Latest reply on Mar 18, 2010 by andrew.tranquada
My goal is to write a probe that will respond on a callback and will return what profiles are active for each probe.
I was attempting to do:
my $cdm_config = cfgOpen("/opt/Nimbus/probes/system/cdm/cdm.cfg",0);
my @list = cfgSectionList($cdm_config,"/setup");
but list just returns an empty array. The documentation does not show any examples.

I must be doing something wrong, what am I doing wrong?