[Ganglia-developers] ideas on sanitizing variables.

2008-02-12 Thread Jesse Becker
Attached is a bunch of variable sanitation checking. It isn't done, but I wanted to throw it out for comments before I go too far down some hole and can't dig myself out. This is not a patch, since are only two "include_once" lines (in index.php and graph.php) for existing files. The rest of the

Re: [Ganglia-developers] 3.0.7 release

2008-02-12 Thread Bernard Li
Hi Alex: On 2/12/08, Alex Dean <[EMAIL PROTECTED]> wrote: > >> 1) (now 0.00) > >> 2) "Show Hosts" toggle stopped working > > > > Both look fixed. > > > > Yep, works for me. Please feel free to submit a patch if you want to further sanitize the $_GET["sh"] variable... Thanks, Bernard -

Re: [Ganglia-developers] 3.0.7 release

2008-02-12 Thread Alex Dean
Jesse Becker wrote: > On Feb 12, 2008 7:57 PM, Bernard Li <[EMAIL PROTECTED]> wrote: >> Guys: >> >> I plan to check-in the following patch and release 3.0.7: > >> -GANGLIA_RELEASE_NAME="Foss" >> +GANGLIA_RELEASE_NAME="Fossett" > > Nice touch. > >> The following issues are fixed: >> >> 1) (now 0.

Re: [Ganglia-developers] 3.0.7 release

2008-02-12 Thread Jesse Becker
On Feb 12, 2008 7:57 PM, Bernard Li <[EMAIL PROTECTED]> wrote: > Guys: > > I plan to check-in the following patch and release 3.0.7: > -GANGLIA_RELEASE_NAME="Foss" > +GANGLIA_RELEASE_NAME="Fossett" Nice touch. > The following issues are fixed: > > 1) (now 0.00) > 2) "Show Hosts" toggle stopped w

Re: [Ganglia-developers] Overlapping labels in graphs

2008-02-12 Thread Jesse Becker
On Feb 12, 2008 7:06 PM, Bernard Li <[EMAIL PROTECTED]> wrote: > Some times I get graphs such as the attached one. The top and bottom > labels are overlapping -- any ideas why? > > (This graph was generated by the code in trunk) I think that's from rrdtool. What version are you using? Do you ha

[Ganglia-developers] 3.0.7 release

2008-02-12 Thread Bernard Li
Guys: I plan to check-in the following patch and release 3.0.7: Index: configure.in === --- configure.in(revision 907) +++ configure.in(working copy) @@ -38,10 +38,10 @@ # increment GANGLIA_MAJOR_VERSION and set # G

Re: [Ganglia-developers] Group host metrics by GROUP in ganglia-web

2008-02-12 Thread Bernard Li
Hi Brad: On 2/12/08, Brad Nicholes <[EMAIL PROTECTED]> wrote: > This seems to be working much better now. I can see where a "hide/restore" > button for each group could really make this much more useful. How hard > would it be to put a small +/- button or dropdown arrow on each group that >

Re: [Ganglia-developers] Memory leak in gmond

2008-02-12 Thread Bernard Li
Hi Vaibhav: On 2/8/08, Kumar Vaibhav <[EMAIL PROTECTED]> wrote: > I have tried it on Scientific linux 5.0 (a clone of RHEL 5.0). I see > similar problem in Scientific linux 4.1 ( clone of RHEL 4 update 1). I'm running gmond on CentOS 4.x and didn't have any issues. > I had a subscription to gan

Re: [Ganglia-developers] Memory leak in gmond

2008-02-12 Thread Kumar Vaibhav
Carlo Marcelo Arenas Belon wrote: > On Tue, Jan 22, 2008 at 04:17:07PM +0530, Kumar Vaibhav wrote: >> I am using ganglia-3.0.5 on a woodcrest processor cluster. and I see >> that after running for weeks the memory consumption of the gmond process >> is something about 400 MB. > > did you check w

Re: [Ganglia-developers] Memory leak in gmond

2008-02-12 Thread Kumar Vaibhav
Bernard Li wrote: > Hi Vaibhav: > > On 1/22/08, Kumar Vaibhav <[EMAIL PROTECTED]> wrote: > >> I am using ganglia-3.0.5 on a woodcrest processor cluster. and I see >> that after running for weeks the memory consumption of the gmond process >> is something about 400 MB. I tried to debug the problem

Re: [Ganglia-developers] mod_python

2008-02-12 Thread Brad Nicholes
>>> On 2/11/2008 at 3:59 PM, in message <[EMAIL PROTECTED]>, "Bernard Li" <[EMAIL PROTECTED]> wrote: > Brad: > > This is on a system running the latest gmond trunk: > > 24845 ?Ssl1:45 /usr/sbin/gmond > 19447 ?Z 0:00 \_ [netstat] > > Looks like it's still not fixed...

Re: [Ganglia-developers] Trunk r920 snapshot available

2008-02-12 Thread Brad Nicholes
>>> On 2/12/2008 at 12:04 PM, in message <[EMAIL PROTECTED]>, Ulf <[EMAIL PROTECTED]> wrote: > Hi, > > I just look at the latest snapshot and what I see are some new requirements. > At least libconfuse, which isn' t even avaible on a SLES distribution. > http://software.opensuse.org/search?basep

Re: [Ganglia-developers] Trunk r920 snapshot available

2008-02-12 Thread Bernard Li
Hi Ulf: On 2/12/08, Ulf <[EMAIL PROTECTED]> wrote: > I just look at the latest snapshot and what I see are some new requirements. > At least libconfuse, which isn' t even avaible on a SLES distribution. Requirement to build, yes, but not to use. BTW, if libconfuse is not available from SLES, yo

[Ganglia-developers] Trunk r920 snapshot available

2008-02-12 Thread Ulf
Hi, I just look at the latest snapshot and what I see are some new requirements. At least libconfuse, which isn' t even avaible on a SLES distribution. But I' m in doubt that the new gmond will run/compile on AIX and Solaris? Tested by someone? What is about the gmond compatibility between 3.0.x

Re: [Ganglia-developers] Group host metrics by GROUP in ganglia-web

2008-02-12 Thread Brad Nicholes
>>> On 2/11/2008 at 6:50 PM, in message <[EMAIL PROTECTED]>, "Bernard Li" <[EMAIL PROTECTED]> wrote: > Hi Brad: > > On 2/11/08, Brad Nicholes <[EMAIL PROTECTED]> wrote: > >> I get a no_group group but I only see at most, one graph in that grouping. > The error that is showing up in the apache e

[Ganglia-developers] How to calculate RRAs

2008-02-12 Thread Ulf
Hi, again a small update. Probably this is the correct calculation? Usage of RRA from the rrdtool homepage RRA:AVERAGE | MIN | MAX | LAST:xff:steps:rows Default polling interval (gmetad.conf): 15s=0.25 minutes => RRA stepping This should be the result: 6 minute average for 24.4 hours (used 24 in

Re: [Ganglia-developers] clean_float() vs clean_number()

2008-02-12 Thread Jesse Becker
On Feb 12, 2008 11:43 AM, <[EMAIL PROTECTED]> wrote: > Quoting Jesse Becker <[EMAIL PROTECTED]>: > > In the meantime, I started on a patch to put all of the variable > > checks and sanitation in one place. > > Do you mean move the checks out of get_context.php and graph.php? Yes, pretty much all

Re: [Ganglia-developers] clean_float() vs clean_number()

2008-02-12 Thread alex
Quoting Jesse Becker <[EMAIL PROTECTED]>: > On Feb 11, 2008 6:46 PM, Bernard Li <[EMAIL PROTECTED]> wrote: >> Hi Alex: >> BTW, I am going to check in the patches for trunk, however, I will >> rename clean_float() to clean_number() since the function name and the >> comment seems a bit misleading b

Re: [Ganglia-developers] clean_float() vs clean_number()

2008-02-12 Thread Jesse Becker
On Feb 11, 2008 6:46 PM, Bernard Li <[EMAIL PROTECTED]> wrote: > Hi Alex: > BTW, I am going to check in the patches for trunk, however, I will > rename clean_float() to clean_number() since the function name and the > comment seems a bit misleading based on its call to is_numeric (i.e. > it is not

[Ganglia-developers] How to calculate RRAs

2008-02-12 Thread Ulf
Hi, after some tries, I got the calculation behind the RRAs 1 hour=1 1 day=24 hours 1 week=168 hours 1 month=672 hours default stepping = 15 seconds RRA #1: RRA:AVERAGE:0.5:1:244: 15 second average for 61 minutes=((1 * 3600) / 15) + 4 RRA #2: RRA:AVERAGE:0.5:24:244: 6 minute average for 24.4 hou