Page 1 of 1
Highcharts stacked graphing
Posted: Tue May 03, 2016 8:04 am
by gwakem
Good morning!
Standard Info: Using XI 5.2.7 on RHEL7.
The question: Is the ability to produce stacked graphs in Highcharts possible at this point or is this on the agenda?
Several execs in my company have requested stacked graphs in highcharts for ease of viewing in their monthly reports. This mostly correspond with CPU and Memory reporting on critical systems. In searching the forums, I found this thread (
https://support.nagios.com/forum/viewto ... =16&t=4191) from 2011 that pretty accurately summed up the situation.
Thanks!
Re: Highcharts stacked graphing
Posted: Tue May 03, 2016 10:07 am
by rkennedy
If I understand correctly, I think you're looking for the Multistacked graphs. (which allows you to add multiple different performance graphs to the same one.)
From the Home Page, click Graph Explorer -> then the 'Multistacked Performance Graph' tab. You'll need to add in the hosts / services you're looking to compare.
Is that what you were looking for?
Re: Highcharts stacked graphing
Posted: Tue May 03, 2016 10:44 am
by gwakem
Negative, I was looking for stacked graphs, as explained in the linked forum post above (
https://support.nagios.com/forum/viewto ... =16&t=4191).
Example from that post:
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."
Re: Highcharts stacked graphing
Posted: Tue May 03, 2016 12:49 pm
by WillemDH
Truly stacked graphs were implemented in XI 5. What version are you on? It is the default setting for multistacked atm.
Re: Highcharts stacked graphing
Posted: Tue May 03, 2016 12:58 pm
by gwakem
We're using XI 5.2.7.
I think I see now. Using the multistacked performance graphs under graph explorer is a pretty good workaround on a case by case basis, but in the case of having saved reports via the reports section (and in some cases auto emailed reports,) it kind of breaks down. Is there a way to utilize that stacking functionality with the reporting piece?
Re: Highcharts stacked graphing
Posted: Tue May 03, 2016 1:17 pm
by tmcdonald
I think I understand.
Our current implementation would probably be better titled as Overlaid Graphs - you want several related metrics to be stacked such that they add up to 100%. Does that sound about right? If so, I can't say that is anything we have implemented currently. I can certainly put in a feature request if that is what you are looking for.
Re: Highcharts stacked graphing
Posted: Tue May 03, 2016 1:28 pm
by gwakem
Yup, that's correct! A feature request would be great, I appreciate it. Hopefully it's easy to implement, since the functionality is already there in the system.
As a workaround to this issue for anyone who stumbles on this with a similar issue, I looked at adding the multistacked graphs for each CPU metric to a dashboard (and then print that for auditors,) but that ends up not working very well either, since the displays come out completely different. Standard highcharts graphs show the numbers involved in the "legend", while multistacked graphs show the service check name, host, and metric, but no actual numbers. Also, the regular graphs have a both a large title above them with the host: service description while the multistacked have a tiny, hard to see title only on the left side. So that workaround ended up being a no-go.
Thanks for the assistance, this can be locked if desired.
Re: Highcharts stacked graphing
Posted: Tue May 03, 2016 4:07 pm
by bwallace
Filed a feature request for this:
TASK ID 8438 created - Nagios XI Feature Request: Overlaid Graphs
I'll close this one out now, thanks.