Highcharts stacked graphing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

Highcharts stacked graphing

Post 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!
--
Griffin Wakem
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Highcharts stacked graphing

Post 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?
Former Nagios Employee
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

Re: Highcharts stacked graphing

Post 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."
--
Griffin Wakem
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Highcharts stacked graphing

Post by WillemDH »

Truly stacked graphs were implemented in XI 5. What version are you on? It is the default setting for multistacked atm.
Nagios XI 5.8.1
https://outsideit.net
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

Re: Highcharts stacked graphing

Post 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?
--
Griffin Wakem
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Highcharts stacked graphing

Post 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.
Former Nagios employee
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

Re: Highcharts stacked graphing

Post 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.
--
Griffin Wakem
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Highcharts stacked graphing

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked