Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-22 Thread Brad Nicholes
Unless I am misunderstanding the issue, a missing configuration option shouldn't be a problem for libconfuse. Follow the 'Title' configuration directive on a metric. Every metric can optionally have a title that is ultimately passed up through the XML. The code in gmond.c asks libconfuse for

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-22 Thread Jesse Becker
On Thu, Oct 22, 2009 at 10:58, Brad Nicholes bnicho...@novell.com wrote: Unless I am misunderstanding the issue, a missing configuration option shouldn't be a problem for libconfuse. That directly contradicts the libconfuse docs; however, those docs are limited, at best, and I suppose could be

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-21 Thread Jesse Becker
Minor update on this: It appears that libconfuse is completely unable to handle missing/default values for configuration options[1]. So adding an 'alias' option to gmond will mean that every gmond.conf file has to be updated to include an alias= line. The libconfuse documentation is...limited.

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-09 Thread Spike Spiegel
On Fri, Oct 2, 2009 at 9:59 PM, Jesse Becker haw...@gmail.com wrote: On Fri, Oct 2, 2009 at 10:35, Brad Nicholes bnicho...@novell.com wrote: How well does this fit into the previous discussions of using a GUID to identify a box rather than an IP or FQDN?  Are aliasing and GUID identifiers

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-09 Thread Jesse Becker
On Fri, Oct 9, 2009 at 15:52, Spike Spiegel fsm...@gmail.com wrote: On Fri, Oct 2, 2009 at 9:59 PM, Jesse Becker haw...@gmail.com wrote: On Fri, Oct 2, 2009 at 10:35, Brad Nicholes bnicho...@novell.com wrote: How well does this fit into the previous discussions of using a GUID to identify a

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-09 Thread Spike Spiegel
On Fri, Oct 9, 2009 at 9:48 PM, Jesse Becker haw...@gmail.com wrote: The GUID discussion I refered to was if gmond/gmetad should be rewritten, top-to-bottom, to use GUIDs instead of relying on DNS/IP addresses.  My understanding is that everything would have use them, including the .rrd files

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-09 Thread Jesse Becker
On Fri, Oct 9, 2009 at 17:05, Spike Spiegel fsm...@gmail.com wrote: As to Rick's comments I believe they are only valid if we assume that the string representing a host should be its ip or the fqdn resolving to it, which I think is one of the many problems this alias patch is meant to solve

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-09 Thread Rick Cobb
Works for me; generating a GUID into an alias value in the configuration file may be the easiest way to avoid resolving things. Whether the map to something easy to debug from is from an IP address or a GUID isn't particularly material to me; I just want that map to be easy (and in my

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-02 Thread Jesse Becker
On Fri, Oct 2, 2009 at 01:43, Rick Cobb rc...@quantcast.com wrote: Well, as far as generating discussion goes, I think we're better off only aliasing/spoofing IP addresses @ the gmond level, and resolving all names with gmetad.   That removes all issues of, e.g., whether the host thinks it

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-02 Thread Brad Nicholes
On 10/2/2009 at 6:34 AM, in message dbdc3b250910020534o384ab14cu3c39134a39bc2...@mail.gmail.com, Jesse Becker haw...@gmail.com wrote: On Fri, Oct 2, 2009 at 01:43, Rick Cobb rc...@quantcast.com wrote: Well, as far as generating discussion goes, I think we're better off only aliasing/spoofing

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-02 Thread Jesse Becker
On Fri, Oct 2, 2009 at 10:35, Brad Nicholes bnicho...@novell.com wrote: How well does this fit into the previous discussions of using a GUID to identify a box rather than an IP or FQDN?  Are aliasing and GUID identifiers related or are they two separate issues? I think that is a separate,

[Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-01 Thread Jesse Becker
Here's my poor attempt at a patch to add aliasing to gmond, in an effort to stimulate some discussion on the topic. The patch is against trunk. I've done some basic testing (e.g. no immediate core dumps), but that's it for the moment. Comments? Improvements? Index: lib/libgmond.c

Re: [Ganglia-developers] Feeble attempt at gmond aliasing

2009-10-01 Thread Rick Cobb
Well, as far as generating discussion goes, I think we're better off only aliasing/spoofing IP addresses @ the gmond level, and resolving all names with gmetad. That removes all issues of, e.g., whether the host thinks it should send a FQDN or just a basename, or how well dns /