graph Explorer templates

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia

graph Explorer templates

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph Explorer templates

Post 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.
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia

Re: graph Explorer templates

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph Explorer templates

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: graph Explorer templates

Post 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:
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: graph Explorer templates

Post 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 ; )