>>> On 7/9/2009 at  5:43 PM, in message
<8121824c0907091643od6832c5y3c4ffa37696e4...@mail.gmail.com>, JB Kim
<jbremn...@gmail.com> wrote: 
> Ok I've isolated iostat code into its own module and managed to get
> the whole autoconf/automake work.
> 
> http://www.remnantone.com/pkgs/ganglia/modiostat.tar.gz
> 
> Provided that ganglia 3.1.x is already installed, it should just be a
> matter of running ./configure & make.
> 
> Also, here's my attempt at making the independent DSO build/deployment 
> template.
> Within autoconf file, I've retained much of the standard checks that
> ganglia does. In addition, it will
> check for existing ganglia installation (libganglia.so and headers)
> along with other necessary libs such as apr,confuse,expat.
> I've also provided setup.sh script in the template to make it simpler
> to deploy. Hopefully it will be useful for folks
> trying to write their own DSO modules.
> 
> http://www.remnantone.com/pkgs/ganglia/dso_template.tar.gz
> 
> Here's the readme doc on how to use this build template:
> 
> http://www.remnantone.com/pkgs/ganglia/README_DSO
> 
> Let me know how it works out..
> 

I downloaded the tarball and gave it a try.  Everything built and loaded as 
expected but I am not seeing any metrics.  I'm not exactly sure why.  I tested 
this on a SLED 10.2 box so I don't know if that has anything to do with it.  
Others may want to download the tarball and give it a try.

Anyway everything else worked just fine.  I have a couple of suggestion. You 
should probably include a sample .conf file so that the user doesn't have to go 
figure everything out like all of the module information.  I have attached the 
one that I used.  This way they can just drop the .conf file in the conf.d 
directory and everything just works.  You also might want to update the COPYING 
and INSTALL files to reflect the current state of things.  The INSTALL file 
should contain information about building and installing the module.

I haven't looked at the dso_template.tar.gz file yet but I am thinking that we 
should add this to the wiki and use the text from the your README.DSO file to 
explain how to use it.

Bernard, Jesse, what do you think?

Brad

Attachment: modiostat.conf
Description: Binary data

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to