Hi,

I have installed ganglia to monitor my server grid on an ec2 deployment.
The pain point I face is that multicast is not allowed in ec2 and hence
auto discovery of nodes is not possible. But, that is quite essential,
since my system includes various clusters that auto scale.

I know this is a popular problem and have tried reading a lot on it. I have
tried various ways to hack into the existing configurations provided by
ganglia to work around this.

I have tried to:

1. spoof the ip and hostname by setting the override_hostname and
override_ip configs in gmond.conf to the same constant value for multiple
machines. I have defined this constant ip in the gmetad as a data_source.
But, I have not added the actual ips of these machines in gmetad. This does
not work.

2. use gmetric directly to send metrics with a spoofed ip:hostname. The
spoofed ip is present as a data_source in gmetad. This also does not work
until I add the actual ip of this machine in gmetad.

Remaining options I find:

3. Try using the hack provided by satterly as described in the wiki
https://github.com/ganglia/monitor-core/wiki/EC2-Discovery. Link to the
project https://github.com/satterly/monitor-core/tree/feature/cloud. It
gives a way to build and install on a debian machine and I am currently
using centos 6. Not sure how well would it go.

4. Use ec2-api to determine the new machines, add them to gmetad and
restart the service every time there is a change. This is prone to delays
and glitches in monitoring.

5. Use a single static machine, that is always up, to collect information
from all dynamically launched slaves and then report with different metric
names. This is not at all scalable.

Please share your experiences and suggest the best way ahead. Thanks.


-- 
Regards,
Samarth
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to