>>> On 8/16/2007 at 1:52 AM, in message <[EMAIL PROTECTED]>, "Shaily Goel" <[EMAIL PROTECTED]> wrote: > hi > > I am planning to write a Drift Python Metric. This metric will track the > user given list of files/directories for any change. > > Currently I am not able to find the way by which I can provide the input > arguments (list of file/ directories) to a python metric. > > Please let me know how can I provide the list of input arguments to a python > metric (PyDrift_metric). >
At the moment there isn't a way. I provided a way to define "params" in the gmond.conf file for a module when using the C module interface, but I haven't come up with a way to pass params through to python yet. This case is a little different because there isn't an explicit "loadmodule" type of directive in the .conf file for a python module so there isn't anything to associate a "params" directive with. For now your module could just look a file which contains file and directory designations, in a specific location or in the same location as the .py module. Brad ------------------------------------------------------------------------- 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-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-developers
