Page 1 of 1

Plotting the maximum

Posted: Wed Jan 28, 2015 11:51 am
by WillemDH
I was having a discussion with Michael Medin about showing total disk size. He suggested it's already possible to plot the maximum in order to get total disk size.

The discussion is in this thread:

https://github.com/mickem/nscp/issues/9 ... t-71837105

Could someone take a look and explain me how I would be able to plot the maximum of a check_drivesize with Nagios XI?
Your C drive:

...'C:\ free'=26.92205GB;3.96562;1.98281;0;39.65624...
Thats interpreted as:
26.9Gb free
We warn if there is less then 3.96Gb
We give a critical alert if there is less then 1.98Gb
The minimum value (bottom of the graf) is 0Gb
The maximum value (top of the graph) is 39.6Gb <--- This is the drive size...

The maximum value is the size of the drive, so plotting that would give you a graph showing the maximum, if the drive is changed (bigger/smaller) the line would shift...

So if you graph that line you should see the size of the drive right?
Grtz

Willem

Re: Plotting the maximum

Posted: Wed Jan 28, 2015 2:03 pm
by scottwilkerson
This is on the roadmap to plot the WARNING and CRITICAL levels in the standard graphs.

We do already have it in the Capacity planning graphs.

Re: Plotting the maximum

Posted: Wed Jan 28, 2015 6:16 pm
by Box293
scottwilkerson wrote:This is on the roadmap to plot the WARNING and CRITICAL levels in the standard graphs.
Willem is after the Maximum value to be plotted.

I can show you how to do this with a PNP template, but Highcharts I cannot.

Re: Plotting the maximum

Posted: Thu Jan 29, 2015 9:59 am
by scottwilkerson
Box293 wrote:
scottwilkerson wrote:This is on the roadmap to plot the WARNING and CRITICAL levels in the standard graphs.
Willem is after the Maximum value to be plotted.

I can show you how to do this with a PNP template, but Highcharts I cannot.
Ahh yes, I have added this to the same request, to be done at the same time.

Re: Plotting the maximum

Posted: Thu Jan 29, 2015 10:26 am
by WillemDH
Cool. Looking forward to that. :) Would this be an option to show min, max, warn and crit levels or will it be applied to all highcharts?

Re: Plotting the maximum

Posted: Thu Jan 29, 2015 10:31 am
by scottwilkerson
It will be something you select, very similar to what is on the capacity planning graphs