Web interface caches a lot of the information for example. For example if you look in

/var/lib/ganglia/conf

there is ganglia_metrics.cache which is PHP serialized array of host to cluster mappings, host to metrics mappings etc.

Also if you use Nagios integration it will cache a cleaned up version of the XML tree.

Vladimir

On Thu, 10 May 2012, Aaron Nichols wrote:

On Thu, May 10, 2012 at 9:05 AM, Seth T Graham <set...@fnal.gov> wrote:
      Perhaps more interesting is the interactive port, which allows a script 
to send a GET style query to gmetad and
      fetch only the data the user is interested in. Downside being it's not 
documented terribly well (or it wasn't a
      couple years ago).. I had to figure out how to use it by digging through 
the web frontend php scripts.


That does sound more interesting - looking around it seems pretty 
straightforward to get a subset of the xml this way if you
know what you are looking for. Would be great to hear from others if there are 
options for getting a list of what's available
without collecting all the data (for example, list of clusters, list of hosts 
in cluster, etc). 



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to