Hi Alex:

Thanks for looking into this.

Off the top of my head, you can also specify the name of Cluster and
Grid, and combining that with Summary Filter.

Will let you know if I can dig up something further -- but search
through the archives, I believe there was a recent-ish
discussion/thread on that.

Cheers,

Bernard

On Tue, Mar 22, 2011 at 8:55 PM, Alex Dean <a...@crackpot.org> wrote:
> I'm tinkering with a PHP class to access data on gmetad's interactive port, 
> making it easy to use this data in applications.  Something along the lines 
> of what ganglia.php (from the current web frontend) does.
>
> I'm trying to get a handle on the various ways gmetad may return XML.  These 
> looks like the 2 typical data sets returned...
> <!-- normal -->
> <GANGLIA_XML>
>  <GRID>
>    <GRID>
>      <HOSTS/>
>      <METRICS></METRICS>
>    </GRID>
>    <CLUSTER>
>      <HOST>
>        <METRICS></METRICS>
>      </HOST>
>    </CLUSTER>
>  </GRID>
> </GANGLIA_XML>
>
> <!-- ?filter=summary -->
> <GANGLIA_XML>
>  <GRID>
>    <HOSTS/>
>    <METRICS></METRICS>
>    <GRID>
>      <HOSTS/>
>      <METRICS></METRICS>
>    </GRID>
>    <CLUSTER>
>      <HOSTS/>
>      <METRICS></METRICS>
>    </CLUSTER>
>  </GRID>
> </GANGLIA_XML>
>
> >From a quick scan of the gmetad source, it looks like 'summary' is the only 
> >supported filter.
> http://sourceforge.net/apps/trac/ganglia/browser/branches/monitor-core-3.1/gmetad/server.c#L333
>
> I am I missing any other ways that gmetad might structure the XML it returns?
>
> thanks,
> alex
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Ganglia-developers mailing list
> Ganglia-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-developers
>

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to