Re: [Ganglia-developers] Ganglia gmetad thread stuck at TCP SYN SENT

2013-02-05 Thread Kostas Georgiou
On Fri, Jan 25, 2013 at 12:45:10PM +, Nicholas Satterly wrote: Does anyone have any ideas of how the connection could at least be timed out? Keep in mind that the gmetad is multi-threaded so I'm pretty sure that rules out the use of SIGALRM. .., How could a 2 second timeout be enforced on

Re: [Ganglia-developers] [Ganglia-general] [SECURITY] [IMPORTANT] Security issue in Ganglia Web

2012-08-03 Thread Kostas Georgiou
On Thu, Aug 02, 2012 at 09:35:47PM +, Daniel Pocock wrote: I remember that logic - but that doesn't really reflect what the distributions do Just backporting/cherry-picking the most essential security fixes to an old branch shouldn't be a big pain though I believe Kostas has already

Re: [Ganglia-developers] Protocol Efficiency Ideas

2012-01-29 Thread Kostas Georgiou
On Sun, Jan 29, 2012 at 08:10:08AM -0500, Jeff Buchbinder wrote: On Sat, Jan 28, 2012 at 11:21 PM, Kostas Georgiou k.georg...@atreides.org.uk wrote: On Fri, Jan 27, 2012 at 06:59:06AM -0800, Im Root wrote: I believe that adding json would be a mistake. The reason is that when users

Re: [Ganglia-developers] Protocol Efficiency Ideas

2012-01-28 Thread Kostas Georgiou
On Fri, Jan 27, 2012 at 06:59:06AM -0800, Im Root wrote: I believe that adding json would be a mistake. The reason is that when users install the main package there would be now a dependency on having json installed. It just adds to the complexity and helps to perpetuate RPM hell. I've had to

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

2011-02-23 Thread Kostas Georgiou
On Wed, Feb 23, 2011 at 05:12:03PM -0800, Bernard Li wrote: Hi Carlo: On Wed, Feb 23, 2011 at 9:42 AM, Bernard Li bern...@vanhpc.org 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

Re: [Ganglia-developers] sFlow counters in Ganglia

2010-10-08 Thread Kostas Georgiou
On Fri, Oct 08, 2010 at 11:52:29AM -0700, Peter Phaal wrote: Brad, Thanks for the information on spoofing in modules. The way that I would envision an sflow module working would be similar to the spoofing example module that is currently checked into the Ganglia SVN repository. The

Re: [Ganglia-developers] ganglia 3.1.2 files

2010-02-11 Thread Kostas Georgiou
3.0. I am looking at the possibility to add it as ganglia31 but the policy isn't clear yet. Cheers, Kostas Georgiou -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing

Re: [Ganglia-developers] libmetrics - second configure script?

2010-02-08 Thread Kostas Georgiou
of the ganglia tree and on it's own project will be an advantage long term on the other hand dropping the configure script will be much easier to do. Cheers, Kostas Georgiou [1] http://www.mail-archive.com/ganglia-developers@lists.sourceforge.net/msg02072.html

Re: [Ganglia-developers] bootstrapping for 3.1.X series and 3.2.X

2010-01-08 Thread Kostas Georgiou
On Thu, Jan 07, 2010 at 02:36:38PM +, Daniel Pocock wrote: then you are going to need either 2 public resources for all release managers to use consistently or a coordinate release process were the package is generated and then independently binary packages are added to it before

Re: [Ganglia-developers] Undefined variable: rrd_options in functions.php

2009-09-10 Thread Kostas Georgiou
On Thu, Sep 10, 2009 at 04:32:01PM +0100, Daniel Pocock wrote: Daniel Pocock wrote: Jesse Becker wrote: I think that $rrd_options might be defined in the wrong spot? I'm getting lots of Undefined variable: rrd_options in functions.php error messages in trunk. It is used in

Re: [Ganglia-developers] Patch for multithread gmond

2009-07-17 Thread Kostas Georgiou
On Mon, Jul 13, 2009 at 04:49:17PM +0100, Daniel Pocock wrote: Brad Nicholes wrote: On 7/13/2009 at 8:17 AM, in message e6ccb7f50907130717i2f3dfd5fi1c69dbd4124a7...@mail.gmail.com, utopia zh utopia...@gmail.com wrote: Hi, While trying to use gmond to monitor our

Re: [Ganglia-developers] gmond python module interface

2009-01-28 Thread Kostas Georgiou
On Wed, Jan 28, 2009 at 06:09:48AM -0800, Gilad Raphaelli wrote: I think this is a well thought out email and I'm a little surprised at the lack of response to it. Is it because no one is actually using the gmond python module interface and hasn't had to make these types of decisions? I

Re: [Ganglia-developers] patches for: [Sec] Gmetad server BoFandnetwork overload + [Feature] multiple requests per connoninteractive port

2009-01-16 Thread Kostas Georgiou
On Thu, Jan 15, 2009 at 04:54:23PM -0700, Brad Nicholes wrote: Since it is limited by REQUESTLEN, I am OK with it. So it sounds like we just need a fix for the off-by-one and the check for NULL on the malloc. What about this patch then? Kostas diff --git a/monitor-core/gmetad/server.c

Re: [Ganglia-developers] patches for: [Sec] Gmetad server BoF andnetwork overload + [Feature] multiple requests per conn oninteractive port

2009-01-15 Thread Kostas Georgiou
On Thu, Jan 15, 2009 at 01:41:53PM -0700, Brad Nicholes wrote: On 1/15/2009 at 8:56 AM, in message 496efa2a02ac0003a...@lucius.provo.novell.com, Brad Nicholes bnicho...@novell.com wrote: After taking a little closer look at the patch, I think we are OK as far as the recursive call to

Re: [Ganglia-developers] patches for: [Sec] Gmetad server BoF andnetwork overload + [Feature] multiple requests per conn oninteractive port

2009-01-14 Thread Kostas Georgiou
On Wed, Jan 14, 2009 at 07:00:29PM -0500, Jesse Becker wrote: On Wed, Jan 14, 2009 at 18:45, Kostas Georgiou k.georg...@imperial.ac.uk wrote: On Wed, Jan 14, 2009 at 05:10:31PM -0500, Jesse Becker wrote: I suggest that once this is accepted, we release 3.1.2 ASAP. Any possibility

Re: [Ganglia-developers] Wildcard Configuration

2008-08-29 Thread Kostas Georgiou
On Tue, Aug 26, 2008 at 09:01:43AM -0600, Brad Nicholes wrote: Thanks Rich. This got me thinking a little about how the same thing might be done only in a more generic way rather than just sequentially numbered metrics. I am wondering if, rather than looping through numbers, we

[Ganglia-developers] Any reason why the init script starts gmetad as root?

2008-08-13 Thread Kostas Georgiou
Hi, I just noticed that the default init scripts start gmetad as root and it then does a setuid to nobody. Is there a reason why gmetad needs extra priviliges? It doesn't need to bind privileged ports or anything else that requires root privileges as far as I can tell so a daemon --user nobody

Re: [Ganglia-developers] [PATCH] remove version from libganglia package name

2008-08-12 Thread Kostas Georgiou
On Tue, Aug 12, 2008 at 07:38:15AM -0500, Martin Hicks wrote: On Mon, Aug 11, 2008 at 11:30:24PM +0200, Marcus Rueckert wrote: this is not the package version. it is the soname mangled a bit. the base idea behind it is, that you can install multiple version of the same library in

Re: [Ganglia-developers] disabling python plugins

2008-08-12 Thread Kostas Georgiou
On Mon, Aug 11, 2008 at 12:08:29PM -0600, Brad Nicholes wrote: Actually this issue really isn't that hard solve. The python capability is all implemented in the C module mod_python. When mod_python's init() function is called, it simply reads the python module directory from it's

[Ganglia-developers] disabling python plugins

2008-08-04 Thread Kostas Georgiou
Hi, I've noticed that the python scripts are always initialized even if they don't have any metrics collected. In most cases this isn't too bad (assuming module_init doesn't do anything too invasive) but for example tcpconn.py starts a thread running netstat that will keep running even if nobody

Re: [Ganglia-developers] Auto configuration ideas

2008-07-29 Thread Kostas Georgiou
On Tue, Jul 29, 2008 at 09:51:58AM +0100, [EMAIL PROTECTED] wrote: I've been looking at how we currently deploy Ganglia configuration files in our organisation, and whether the process can be improved. Is anyone already working on any aspect of this issue: You should look at one of the

[Ganglia-developers] Nagios plugin

2008-07-29 Thread Kostas Georgiou
Hi, Recently I started using a small script to use the information that ganglia collects from nagios. Other people have similar nagios plugins I suspect so adding one of them in contrib is probably a good idea. Any thoughts? I am attaching the plugin that I use, it's nothing special so if