Hi Dave: On Sat, Sep 25, 2010 at 11:07 PM, Dave Josephsen <[email protected]> wrote:
> Idly, If I wanted to clean this up and contribute it to the project, how > would I go about it? I see some repositories for python modules, and gmetric > scripts, but nothing for user-contributed modules written in C. I'll probably > be writing a few other modules including an OpenBSD PF statistics collector. Actually we have a repository for hosting Gmond C DSO metric modules here: http://github.com/ganglia/gmond_c_modules BTW, since you have been writing quite a few C modules, do you think you can contribute some documentations/notes for the Wiki? http://sourceforge.net/apps/trac/ganglia/wiki We have some notes on writing Python modules but not so much on C modules. > 1. I did write a spell (package) for ganglia for SMGL, but I haven't > committed it to upstream Git, because it does a bunch of me-specific stuff > (like installing my modules etc..), and other people wouldn't probably > appreciate that. I see -- just curious. Obviously it would be cool if there is a 'generic' package available in the upstream distribution, but I guess if you're okay with it, you might want to contribute whatever package you have to http://github.com/ganglia/ganglia_contrib such that others do not need to re-invent the wheel. > 2. I don't have what I pasted to you in front of me because my mutt is > borked, but my guess would be that I gave you a copy of the code that was > hard-coded to count something other than bash (I wouldn't be surprised. > Attention to detail is obviously not my strong suit). Check to make sure it > says "bash" in the call to count_procs() and not something non-existent (like > "foo"). Here's an archive of the email you sent: http://www.mail-archive.com/[email protected]/msg05901.html I believe it's supposed to count the number of "bash" processes, however, I didn't think it worked on my OS. Anyhow, I guess the important thing is that your module is no longer segfaulting... Thanks, Bernard ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

