Excellent!  So Mr. Massie and/or the ganglia dev team...any thoughts about
getting something like this (from/to) into the main build of ganglia ?

thanks!
john

----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [email protected]
Sent: Tuesday, November 7, 2006 8:00:38 AM
Subject: RE: [Ganglia-general] Any plans on zooming or graphing 
granularitychanges to ganglia ?

John,

Yes, I hacked the php for "from/to" too. See picture, if it gets through
that is. We find it pretty useful - sometimes for some after-the-fact
analysis, but more usually for the simplest of reasons - we want to be
able to email a ganglia URL that refers to a fixed point in time and is
of a fixed duration. Also some of our users have crafted up nightly
reports of their clusters by simply creating the right HTML, which can
be located anywhere. Like this:

<h2>LDN FIP Bermudan</h2>
<img SRC="http://ganglia/graph.php?g=cpu_report&z=large&c=LDN FIP CRE
Bermudan PDN&m=&r=6pm%20yesterday&ends=6am%20Today">
<img SRC="http://ganglia/graph.php?g=network_report&z=large&c=LDN FIP
CRE Bermudan PDN&m=&r=6pm%20yesterday&ends=6am%20Today">
  
<h3>QA Level </h3>
<img SRC="http://ganglia/graph.php?g=cpu_report&z=large&c=LDN FIP QA
Bermudan PDN&m=&r=6pm%20yesterday&ends=6am%20Today">
<img SRC="http://ganglia/graph.php?g=network_report&z=large&c=LDN FIP QA
Bermudan PDN&m=&r=6pm%20yesterday&ends=6am%20Today">

The advantages of GET over PUT eh...

Adding more controlling parameters to graph.php was a bit dicky because
the the PHP passes around context/state explicitly from URL to URL.
Anyway I did it. I also eventually realised that to enable more flexible
date parsing all I needed to do was pass "from" and "to" fields directly
to rrdtool. Rrdtool can parse many date formats as documented here:
http://oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html (scroll down to the
date stuff).

So I would prefer having "from"/"to" in the standard build. In part this
is simply what I use my ganglia for. If you purely use ganglia for
looking at the here and now, then what it now does is fine. If you need
overnight reports, or you do after the fact analysis, then from/to is
useful. If you are thinking about capacity planning, then (after I stop
laughing), you may want another modification of mine, which is to have a
MAX consolidation function as well as AVERAGE, and graph them both. It
means you never lose sight of your spikes.

Richard Grevis
Infrastructure Architecture
Barclays Capital, Canary Wharf, London, E14 4BB
*DDI : +44 (0) 20 7773 4915
 * richard.grevis

------------------------------------------------------------------------
For more information about Barclays Capital, please visit our web site at 
http://www.barcap.com.

Internet communications are not secure and therefore the Barclays Group does 
not accept legal responsibility for the contents of this message.  Although the 
Barclays Group operates anti-virus programmes, it does not accept 
responsibility for any damage whatsoever that is caused by viruses being 
passed.  Any views or opinions presented are solely those of the author and do 
not necessarily represent those of the Barclays Group.  Replies to this email 
may be monitored by the Barclays Group for operational or business reasons.
------------------------------------------------------------------------






 
____________________________________________________________________________________
Sponsored Link

Free Uniden 5.8GHz Phone System with Packet8 Internet Phone Service
http://www.getpacket8.net/yahoo2

Reply via email to