>>> On 6/1/2010 at 10:56 AM, in message
<aanlktinemhqf8mm5w-mcafyeesu-vywfxdrycv8vm...@mail.gmail.com>, Jesse Becker
<haw...@gmail.com> wrote:
> On Tue, Jun 1, 2010 at 11:52, Art Peck <arthurp...@aol.com> wrote:
>>
>> I am very impressed with Ganglia 3.1.7. I would like to create an addon 
> package to facilitate monitoring of the Oracle Sun Ray Server Software and 
> associated desktop devices.
>>
>> I've already created one Python module and integrated it into gmond and 
> gmetad. For the most part, it is working as I wanted. However, I would really 
> like to be able to manipulate the formatting of the resulting graph(s). For 
> example, I would greatly prefer a line graph to an area and I really need to 
> STACK several metrics on a graph. So I have the follow RFE's:
> 
> Writing custom graphing modules has been more easily supported for
> several releases now.  If you have need to create customized charts
> (like many of us do), there is a well documented framework for doing
> so.  Take a look at the various *_report.php files in the web/graph.d
> directory of your ganglia installation.  I've specifically written a
> storage report script that uses stacked graphs.
> 
>> (1) Extend the descriptor dictionary to include key=value pairs that get 
> passed to gmetd and the web frontend allowing for specification of more of 
> the rrdgraph formatting options. Maybe something like 'graph_type' = 'Line', 
> 'line_color' = 'Red', 'background_color' = 'Lt Blue', etc
> 
> I believe that you could "fake" this already using string metrics.
> 

This is true.  You can actually add anything that you want to the metric 
definition in your module.  If Gmond does not recognize the extra elements in 
the definition, it will simply add the key/value pair as <extradata/> in the 
XML that is produced by gmond.  Both gmond and gmetad will ignore extra data 
and just continue to pass it through in the XML.  At that point you could write 
a specialized graph module in the web front end that does understand the extra 
data tags in the XML and reacts to them appropriately.

Brad 


------------------------------------------------------------------------------

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

Reply via email to