On Feb 7, 2008 6:01 PM, Bernard Li <[EMAIL PROTECTED]> wrote:
> For one of my Python modules, I forgot to specify the value type, and
> when I start gmond, I got the following messages in /var/log/messages:
>
> GMOND[13687]: [PYTHON] No value type given. Using uint.
>
> Is it possible for it to log *which* module is causing this warning?

I took a quick look, and this is thrown by mod_python.c:342.  At this
point in the code, I'm not sure that the specific module information
is available.  The function fill_metric_info looks like it parses
minfo, a pointer to py_metric_init_t (defined at the top of the same
file).  I don't see an information about the module present in that.

Probably the best you could do is try to print as much "other"
information about the metric as you can, and work backwards. :-/



-- 
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0  2720 0083 0931 9A2B 06A2

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to