Re: [Ganglia-developers] dynamic discovery of hosts in EC2

2012-10-12 Thread Nicholas Satterly
Hi Paul, Thanks for your feedback. That was the best solution I came up with too so I've added this in and it seems to work well. An added side-effect is that the file can also be used to troubleshoot if you need to know exactly where the gmond is sending its metrics too without having to run

Re: [Ganglia-developers] dynamic discovery of hosts in EC2

2012-10-12 Thread Alex Dean
On Oct 10, 2012, at 7:38 AM, Paul Hewlett wrote: Hi Nick Modify gmond to write a special file /etc/ganglia/ec2.conf with the discovered instances and then modify gmetric to read that file – using a cmdline option perhaps This change should be lightweight enough for gmetric I

Re: [Ganglia-developers] dynamic discovery of hosts in EC2

2012-10-12 Thread Nicholas Satterly
It's currently writing to /var/lib/ganglia/gmond-ec2.conf but I'm flexible... https://github.com/satterly/monitor-core/blob/master/lib/libgmond.c#L614 --Nick. On Fri, Oct 12, 2012 at 4:02 PM, Paul Hewlett paul.hewl...@arm.com wrote: Hi Alex You are correct - it should be