>>> On 4/27/2010 at 3:20 AM, in message <1272360012.4619.9.ca...@station3.hq>,
Patrick Datko <patrick.da...@ymc.ch> wrote:
> Hey People,
> i'm using Ganglia 3.1.2, installed with aptitude, to observe my cluster
> and it works without any problem. I wanted to integrate a metric which
> control the traffic of the several nodes, so i build a little python
> module to check a xml-file which includes the traffic amount. I used
> sourceforge wiki to build one. I included in my python script the 3
> Methods (traffic_handler, metric_init, metric_cleanup) which are
> required of ganglia and added the following lines
> to /etc/ganglia/gmond.conf
> 
> module {
>     name = "traffic"
>     language = "python"
>     path = "/usr/lib/ganglia/traffic.py"
>   }
> 
> collection_group {
>   collect_every = 10
>   time_threshold = 50
>   metric {
>     name = "traffic"
>     title = "Traffic"
>     value_threshold = 70
>   }
> }
> 
> But if i restard gmond & gmetad the metric still not appears in the
> webinterface of ganglia. Does anyone has a clou where the Problem is or
> maybe has the same Problem like me?
> 


Have you run your module independent of gmond to make sure that it is 
functioning correctly?  Have you tried starting gmond with a -d 10 command line 
parameter to force the debug output to the screen?  This will usually show you 
if there is a problem loading the module.

Brad


------------------------------------------------------------------------------
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to