Page 1 of 1

Graph Explorer templates

Posted: Mon Nov 21, 2011 9:51 pm
by Fred Kroeger
I'm pretty impressed with the Graph Explorer component and would like to extend it's functionality further.
Is it possible for you to setup graph templates for Graph Explorer similar to what you provide now for the rrdtool graphs?
For example, I would like to display some graphs (like CPU) as a stacked area graph.
I would also like to display some fancier graphs, which I have developed using the old rrdtool. These graphs do a trend analysis which I use for storage capacity planning.

Regards..... Fred

Re: Graph Explorer templates

Posted: Tue Nov 22, 2011 10:59 am
by mguthrie
Hi Fred,

Can you post an example from the page below as to what you're looking for, and then an example as to the data sets you'd like displayed on the same graph? Are you looking for multiple services overlayed on the same graph, or just one service's data sets display in a new format?
http://www.highcharts.com/demo/

Right now the Graph Explorer templates are hard-coded, and the code doesn't support the flexibility of dropping in a new template yet, but that's definitely an interesting idea.

Re: Graph Explorer templates

Posted: Tue Nov 22, 2011 8:12 pm
by Fred Kroeger
Sure - one example that I find is useful is CPU Utilisation - a stacked area graph is perfect for this.
See http://www.highcharts.com/demo/area-stacked-percent

In this scenario, I show the System, User, Wait & Idle readings(all different colours) stacked on each other - they will all add to 100% .
I used Green for Idle, so when you look at the graph , if you see a lot of green, then you know the server isn't busy -lots of any other colour shows that it is busy.

Other stacked area graphs, can be for Write Ops & Read Ops - together, they will show the Total ops.

While I'm adding to the wish list, I would also like some way to show thumbnails of the CPU utilisation for many servers (or host groups) on one page - instead of all the graphs for just one server on a single page.

regards... Fred

Re: Graph Explorer templates

Posted: Wed Nov 23, 2011 10:30 am
by mguthrie
In this scenario, I show the System, User, Wait & Idle readings(all different colours) stacked on each other - they will all add to 100% .
I used Green for Idle, so when you look at the graph , if you see a lot of green, then you know the server isn't busy -lots of any other colour shows that it is busy.
That makes sense. Our project list is a bit full right now as we prepare for the 2012 release, but I'll put this one down as a feature request for this component.
While I'm adding to the wish list, I would also like some way to show thumbnails of the CPU utilisation for many servers (or host groups) on one page - instead of all the graphs for just one server on a single page.
This one would be better suited for the rrdtool graphs on the server side. For the graph explorer, all of the rrddata gets processed into a JSON object and loaded into the browser, and the graph images are generated strictly on the client-side. Doing this for multiple graphs would definitely create some memory issues both on the server-side call for data and in the browser. However, we do have a feature request like this already on our tracker for the rrdtool graphs. Feel free to add notes to it if you want.
http://tracker.nagios.com/view.php?id=121

Re: Graph Explorer templates

Posted: Wed Nov 23, 2011 10:44 pm
by Box293
Similar to the CPU Utilization idea I have another one that is similar but related to the bandwidth graphs that the Network Switch wizard generates. Let me paint the picture.
  • We have hosted terminal servers in our site
    Our customers connect over DSL links to access their own terminal server
    There is a router at the client side of the DSL link we are monitoring using the Network Switch wizard
    Some customers may have 4 or 5 sites so that is 4 or 5 routers we are gathering bandwidth data for
    It would be good to be able to select multiple service checks and then view a stacked graph of these with separate colours for each site/DSL link
    This then would give us an overall bandwidth used by the client
I can then look at another service check that collects data on how many terminal server sessions are active on the terminal server
With this information I can then say that client X who has 35 uses consumes Y bandwidth on average

Make sense?

Something to add to the mix for the already full project list :mrgreen:

Re: Graph Explorer templates

Posted: Mon Nov 28, 2011 11:38 am
by mguthrie
It probably won't make the first pass for 2012, but I'll play around with it and see what I can do ; )