Re: [Ganglia-developers] Dynamically resizable buffer for slurpfile()

2011-02-24 Thread Carlo Marcelo Arenas Belon
On Wed, Feb 23, 2011 at 05:12:03PM -0800, Bernard Li wrote: I tested under EL5 and EL6 and it was't able to get past the initial buffer size. ?I believe what I did was: Correction. It works on EL6, but not on EL5: most likely the test is just giving inconsistent results, and that is why

Re: [Ganglia-developers] Dynamically resizable buffer for slurpfile()

2011-02-24 Thread Carlo Marcelo Arenas Belon
On Wed, Feb 23, 2011 at 09:42:56AM -0800, Bernard Li wrote: what second pass? ? dummy = proc_sys_kernel_osrelease; ? rval.int32 = slurpfile(/proc/sys/kernel/osrelease, dummy, ? ? ? ? ? ? ? ? ? ? ? ? ?MAX_G_STRING_SIZE); why would anyone call slurpfile in a loop anyway?, and

Re: [Ganglia-developers] $conf array

2011-02-24 Thread Jesse Becker
+1 to that too On Wed, Feb 23, 2011 at 23:49, Bernard Li bern...@vanhpc.org wrote: +1 from me as well. I guess we should probably check it into both monitor-web-2.0 and trunk. Cheers, Bernard On Wed, Feb 23, 2011 at 7:35 PM, Jesse Becker haw...@gmail.com wrote: +1 On Wed, Feb 23, 2011

Re: [Ganglia-developers] hsflowd for Windows + Ganglia webfrontend

2011-02-24 Thread Bernard Li
Hi Neil: I finally had a chance to test out the patch. Didn't run into any major issue on my end, so +1 from me. On Thu, Feb 17, 2011 at 2:22 PM, Neil McKee neil.mc...@inmon.com wrote: There are three metrics to draw particular attention to: 1. System UUID I noticed that on my Windows

Re: [Ganglia-developers] hsflowd for Windows + Ganglia webfrontend

2011-02-24 Thread Neil McKee
On Feb 24, 2011, at 3:07 PM, Bernard Li wrote: Hi Neil: I finally had a chance to test out the patch. Didn't run into any major issue on my end, so +1 from me. On Thu, Feb 17, 2011 at 2:22 PM, Neil McKee neil.mc...@inmon.com wrote: There are three metrics to draw particular attention

Re: [Ganglia-developers] $conf array

2011-02-24 Thread Alex Dean
I wrote a script to read in a conf.php file and convert it to use a $conf array. I don't think we have a place for utility scripts like this right now. Where should it go? https://github.com/alexdean/ganglia-stuff/blob/master/reformat_conf.php After you use this tool, but before all code

Re: [Ganglia-developers] gengetopt and SYSCONFDIR

2011-02-24 Thread Bernard Li
This should be a better patch against current trunk, which does not add gengetopt as a build dependency (unless you need to modify cmdline.sh and re-generate the files): Index: gmetric/Makefile.am === --- gmetric/Makefile.am