>>> On 5/17/2007 at 12:07 AM, in message <[EMAIL PROTECTED]>, Ulf
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> have you ever checked out http://www.perzl.org/ganglia/ , these will add 
> some power 5 metrics to ganglia, which are working fine. Tested for 
> about 2 months on AIX 5.3.
> Is it possible to integrate them, or will it conflict with some kind of 
> license?
> 
> Best regads,
> Ulf
> 

Actually these metrics could be very easily added to gmond as a metric module.  
As a metric module, all it is responsible for is producing the metric(s) and 
does not need to be tightly integrated into the rest of the gmond code like the 
built-in metrics.  So you can basically just take the code that you add to 
metrics.c and create a DSO out of it.  Once you have done that, just load the 
DSO through the gmond.conf file and configure the metric just like you would 
with any other metric.  There are examples of how to create a metric module in 
SVN trunk under gmond/modules/example.  There are also examples of how to load 
the DSO in gmond/modules/conf.

Since it appears that the POWER5 metrics are specific to certain hardware, 
implementing them as a module allows you to load them on the hardware where it 
makes sense and exclude them from all other hardware without having to #ifdef 
the gmond code or build specialized versions of gmond.

Brad


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to