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

Regards

--
Paul Hewlett  X25250
http://www.theregister.co.uk/2012/06/25/rbs_natwest_what_went_wrong/
ARM Ltd
110 Fulbourn Road, Cambridge, CB1 9NJ
Tel: +44 (0)1223 405923
skype: paul-at-arm
www.arm.com<http://www.arm.com/>


From: Nicholas Satterly [mailto:nfsatte...@gmail.com]
Sent: 10 October 2012 13:06
To: ganglia-developers@lists.sourceforge.net
Subject: [Ganglia-developers] dynamic discovery of hosts in EC2

Hi,

I've been hacking on the ganglia gmond code to get the agent to auto-discover 
other servers in its cluster when running in EC2 [1]. It works a lot like the 
way elasticsearch does [2].

Does anyone have any suggestions on how I might get gmetric to work in a 
scalable way if it can't rely on the UDP send destinations being listed in the 
gmond.conf file? It really is a show-stopper for us at the moment which is 
unfortunate because gmond would work brilliantly in EC2 with these changes.

Thanks in advance,
Nick

[1] https://github.com/satterly/monitor-core
[2] http://www.elasticsearch.org/guide/reference/modules/discovery/ec2.html and 
http://www.elasticsearch.org/tutorials/2011/08/22/elasticsearch-on-ec2.html





-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to