All, I just wanted to get some feedback on how much interest there would be for a REST interface for Ganglia. I spent a few days putting together a POC of a REST interface and was able to get something that implements the following REST URLs:
/clusters /clusters/{cid} /clusters/{cid}/hosts /hosts /hosts/{hid} /hosts/{hid}/metrics /hosts/{hid}/metrics/{mid} /hosts/{hid}/metrics/{mid}/data /hosts/{hid}/metrics/{mid}/graph /hosts/{hid}/metrics/{mid}/info /clusters/... and /hosts/... pull data directly from the XML produced by gmetad. .../data, .../graph, .../info pull data or graphs directly from the rrd's through rrdtool. .../graph actually produces an rrdtool graph for the specified metric given some query params that affect the attributes of the graph. I would show you all a live demo but I don't have access to a web server outside our firewall. Before I can contribute the code, I need to get permission from my employer first so before going to that trouble, I just wanted to see if I was headed in the right direction. comments (on at least the little bit of information I gave you :) Brad >>> On 12/2/2011 at 5:31 PM, in message <CABcEujvoAs=a-yyuvqnur82rqcr6jyog3nk5a19wn9yvrqv...@mail.gmail.com>, Matt Massie <m...@massie.us> wrote: > Brad- > > Can you open a new thread on the developer's list? I think there's going > to be quite a bit of interest in a REST interface to Ganglia. It would be > really useful to have. I know I've been tempted to write one myself. > > -Matt > > > On Fri, Dec 2, 2011 at 4:21 PM, Vladimir Vuksan <vli...@veus.hr> wrote: > >> I am sure lots of people would appreciate REST interface to Ganglia. >> Myself and Jeff Buchbinder have been talking on how we could implement >> it but if you already have it completed that would be an awesome >> addition ;-). >> >> Vladimir >> >> On 02.12.2011 10:45, Brad Nicholes wrote: >> > Hey Matt, >> > How are you? It's been a while. I know I haven't been biggest >> > contributor to the Ganglia project lately but I still monitor the >> > mailing lists and this book sounds like a great idea. Count me in >> > anywhere I can help. >> > >> > On a slightly different note: >> > >> > I have managed to carve out a little time over the past few weeks to >> > get back into a little Ganglia development. Since we are gauging >> > interest, would anybody be interested in a REST interface for >> > Ganglia? >> > I have worked up a POC that allows a user to query metrics from >> > gmetad through REST as well as pull data and graphs directly from the >> > RRD files. I still have to get permission from my employer before I >> > can contribute the REST code to the Ganglia project, but before I go >> > to that effort I just wanted to see if this is something that the >> > Ganglia community would be interested in. >> > >> > Brad >> > >> > >> > >> >>>> On 12/1/2011 at 12:31 PM, in message >> > <CABcEujsJET24+hhHyVqAQ48aj_4YjfZsimGz=vmw06mnu86...@mail.gmail.com>, >> > Matt >> > Massie <m...@massie.us> wrote: >> >> There's an O'reilly editor who's interested in publishing a ~50-page >> >> eBook >> >> on ganglia. >> >> >> >> I have no doubt the ganglia community would benefit from a book >> >> covering >> >> topics like: >> >> >> >> - Ganglia's components and overall architecture >> >> - Typical deployment configurations including simple steps for >> >> verifying >> >> an installation (e.g. unicast/multicast, single cluster/multiple >> >> distributed clusters/datacenter) >> >> - Navigating and using the new web interface >> >> - Tips for extending ganglia's functionality (e.g. gmetric, >> >> modules) >> >> - Common integration points (e.g. Hadoop metrics, Nagios) >> >> - A simple step-by-step checklist for debugging common ganglia >> >> issues >> >> with pointers to our web site, mailing lists, irc channel, etc. >> >> - Supported platforms and core metrics >> >> - Scaling to clusters > 1000 nodes >> >> >> >> These are just ideas off the top of my head and not meant to final >> >> or >> >> comprehensive but meant to provide a list for discussion. Of >> >> course, let >> >> me know if there's topics the community would like to know more (or >> >> less) >> >> about. The purpose of the book is to serve as a first-read book for >> >> people >> >> new to ganglia. Keep in mind, for much of the book, we won't be >> >> starting >> >> from scratch. We already have a good amount of documentation that >> >> just >> >> needs to be organized and edited. >> >> >> >> I'll be happy to contribute time to make this eBook a reality; >> >> however, I >> >> want the book authors to be the leaders and experts in the ganglia >> >> community. I think it best we divide and conquer and write the book >> >> as a >> >> team. Who is interesting in helping write the book? >> >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> Ganglia-developers mailing list >> Ganglia-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ganglia-developers >> ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers