Re: [Ganglia-general] Restful Api for Ganglia Database

2014-04-28 Thread Nick Satterly
Sorry, I forgot about the most simple case, which is a good start and probably does what most people would want. However, to create more complex dashboards you can use Graphite [1] to serve up the historical RRD metric data in JSON format until Ganglia comes up with its own native metric API.

Re: [Ganglia-general] Restful Api for Ganglia Database

2014-04-28 Thread Vladimir Vuksan
For time ranges use cs= and ce= Vladimir On 04/28/2014 02:02 PM, Silver, Jonathan wrote: Well here is something that I put together on the spur of the mo

Re: [Ganglia-general] Restful Api for Ganglia Database

2014-04-28 Thread Silver, Jonathan
Well here is something that I put together on the spur of the moment for someone, - just to return the latest entry. But I think that Vladimir’s comment is the way to go. Now that I look, I certainly should also have followed the parameter convention: http://sourceforge.net/apps/trac/ganglia/wi

Re: [Ganglia-general] Restful Api for Ganglia Database

2014-04-28 Thread Vladimir Vuksan
Nick, Any Ganglia graph can be exported in either CSV or JSON by appending &json=1 or &csv=1 to the graph URL. Vladimir On 04/28/2014 11:17 AM, Nick Satterly wrote: Hi Jon,

Re: [Ganglia-general] Restful Api for Ganglia Database

2014-04-28 Thread Nick Satterly
Hi Jon, I think you misunderstood me. All I referred to was a git commit log entry to a pull request that added support for responding to HTTP requests with current metric data. The relevant GitHub pull request does not include any documentation https://github.com/ganglia/monitor-core/pull/60 Wha

Re: [Ganglia-general] Restful Api for Ganglia Database

2014-04-28 Thread Silver, Jonathan
Nick, Can you please resend the link to the restful interface documentation. I did not see it and ended up implementing my own, But I’d really rather use the official. Thanks, jon From: Nick Satterly [mailto:nfsatte...@gmail.com] Sent: Saturday, April 26, 2014 3:36 PM To: Azaz Rauf Cc: ganglia-