On Fri, Oct 26, 2007 at 06:45:59PM +0400, Kirill Nikonorov wrote:
> where to look in sources to switch off removing dead hosts after
> Ganglia daemons restart. I need to keep the view of my cluster even
> with dead nodes.

there is no way in the source to switch off removing dead hosts at shutdown,
because the cluster information is not persistant (is just in memory until the
gmond process that contains it dies).

what you would need to do is to make that information persistant (be written
to disk before shutdown and reloaded from disk at startup) or just don't
restart gmond.

> The second question is: is that possible to add nodes which are not
> reporting yet (no gmond installed) and see them in nodes list like
> "not installed" or "not reporting"? E.g. how to create empty RRD record
> for the new host, give it a hostname and make it visible in statistics?

sort of.

you could define a string metric with the value you want "not
installed/running" and spoof an update to that metric from the host that is
not yet installed (assumming the IP and DNS has been allocated already and you
are using UDP and have access to raw sockets) with a gmetric like tool that
you'll need to write and run as root.

Carlo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to