Re: [Ganglia-developers] Fwd: Getting started with developing a C++ DSO module

2009-11-16 Thread JB Kim
There are more qualified people on this list to answer your question about dynamically setting metric callbacks. But a quick glance through gmond.c reveals that it might not be possible with the current framework. When gmond starts up, it calls the function setup_metric_callbacks(), which steps th

Re: [Ganglia-developers] Fwd: Getting started with developing a C++ DSO module

2009-11-15 Thread JB Kim
Hi Sylvester, Not sure which tarball you got a hold of, but I uploaded the code at http://monitoringforge.org/plugins/modiostat . I haven't fully tested c++ gmond dso before, so I am not sure how it will work. However, I just slightly modified the dso template, replaced the .c code with .cpp, edi

Re: [Ganglia-developers] Contributing the source code (was:Getting started with developing a C++ DSO module)

2009-11-12 Thread JB Kim
Hi brad Sure, I'd be happy to contribute and post there. Still have mod_perl in the back burner. Let's see if my fulltime job gives me a bit of slack. On Nov 12, 2009, at 10:23 AM, "Brad Nicholes" wrote: >>>> On 11/11/2009 at 4:13 PM, in message > , JB

Re: [Ganglia-developers] Fwd: Getting started with developing a C++ DSO module

2009-11-11 Thread JB Kim
I've written the iostat standalone DSO module a while back in C. I do have the whole build process documented (to some degree) and provided template for creating standalone DSO. I think you can search for "iostat" in the archives. If you can't find it, I'll dig it up and reply again. On Nov

Re: [Ganglia-developers] Disk IO as gmond core metric

2009-07-09 Thread JB Kim
R. Thanks JB On Thu, Jul 2, 2009 at 11:18 PM, JB Kim wrote: > Ahh.. fair enough. I'll see what I can do. :-) > Thanks! > > On Thu, Jul 2, 2009 at 10:20 AM, Brad Nicholes wrote: >> Creating a standard template for building a module independent of the core >> is something

Re: [Ganglia-developers] Disk IO as gmond core metric

2009-07-02 Thread JB Kim
t;>>> On 7/1/2009 at 7:46 PM, in message > <8121824c0907011846q7934d103t980e76728842f...@mail.gmail.com>, JB Kim > wrote: >> Thanks for the feedback. Creating these metrics into independent >> module makes sense. I'll refactor it to isolate the code within >> mod_iostat.c and see how it work

Re: [Ganglia-developers] Disk IO as gmond core metric

2009-07-01 Thread JB Kim
n 6/30/2009 at 9:00 PM, in message > <8121824c0906302000y181b23adr87ebd98124450...@mail.gmail.com>, JB Kim > wrote: >> Hi folks >> >> Wow, it didn't occur to me this thread was more than a year ago. Time >> surely flies when you have a newborn at home. :-) >&

Re: [Ganglia-developers] Disk IO as gmond core metric

2009-06-30 Thread JB Kim
you would like these metrics to be included in the subsequent release, I'll enhance/modify the code as necessary. Thanks! On Tue, Apr 29, 2008 at 8:58 PM, JB Kim wrote: > Sure, sounds like a plan. I'll take a crack at it and let you know. > > On Tue, Apr 29, 2008 at 12:18 PM, Br

Re: [Ganglia-developers] Disk IO as gmond core metric

2008-04-29 Thread JB Kim
Sure, sounds like a plan. I'll take a crack at it and let you know. On Tue, Apr 29, 2008 at 12:18 PM, Brad Nicholes <[EMAIL PROTECTED]> wrote: > >>> On 4/28/2008 at 8:26 PM, in message > <[EMAIL PROTECTED]>, "JB Kim" > > <[EMAIL PROTECTED]&g

[Ganglia-developers] Disk IO as gmond core metric

2008-04-28 Thread JB Kim
Folks, I've made some changes to ganglia 3.0.7 gmond code to provide aggregated disk IO statistics for linux hosts. Since a given host can have one or more disks, the values from each individual disk are aggregated to a sum or to a max. It seems like a lot of folks are using a wrapper for iostat