[mrtg] keeping the peak with just 2 values

chays whoooo at gmail.com
Fri Oct 10 04:34:36 CEST 2008


I follow, and my questions are answered.

Thanks, Steve, Sean. :)

On Thu, Oct 9, 2008 at 9:32 PM, Steve Shipway <s.shipway at auckland.ac.nz>wrote:

>  The other two lines display the peak values of the two variables, over
> the cdp interval (30min for wekly, 2hr for monthly, 1 day for yearly).  You
> should find the peak line is always the same or higher than its
> corresponding data line.  You can suppress them by using the WithPeak[]: n
> directive, and then you will only see the average lines.
>
>
>
> You cannot just display the peak values unless you use RRDtool mode, with
> the routers2 frontend, and define a graph with the 'maximum' option.
>
>
>
> Steve
>
>
>   ------------------------------
>
> *From:* mrtg-bounces at lists.oetiker.ch [mailto:
> mrtg-bounces at lists.oetiker.ch] *On Behalf Of *chays
> *Sent:* Friday, 10 October 2008 15:17
>
> *To:* mrtg at lists.oetiker.ch
> *Subject:* Re: [mrtg] keeping the peak with just 2 values
>
>
>
> On the yearly graph, there is the brown 'blob" that corresponds to the
> temperature and the light blue blob that graphs the humidity.
>
> Its the other 2 lines that I dont understand the purpose of, and want to do
> away with, if possible.
>
> Are those what are supposed to be displaying the peak values? I cant see
> how unless I dont understand what the_peak is, since when I look at those
> values they are, in some cases, smaller than the other 2.
>
> What I am trying to get is just 2 lines/outputs (humidity and temp), and
> have those 2 lines/outputs 'keep'/'display' the peak. Its a weather graph --
> if it was 101 in August, I want the yearly graph to reflect that.
>
> Is that a clearer explanation? Hopefully!
>
> On Thu, Oct 9, 2008 at 9:09 PM, Steve Shipway <s.shipway at auckland.ac.nz>
> wrote:
>
> Maybe I'm misunderstanding what you're asking for?
>
>
>
> * You'll never get peaks on daily graphs, because each cdp corresponds to 1
> pdp.
>
> * You can optionally have peaks on w, m and y graphs as there is a MAX RRA
> as well as an AVG RRA available.
>
> * If you use WithPeak[] you can optionally define which graphs you want
> peaks to appear on, out of w, m and y.
>
> * Since you appear to be running MRTG in native mode, your graphs will
> always have an area and a line for the average lines, plus two optional peak
> lines.
>
>
>
> If you are asking to have 4 lines appear on the graph, you cant do it
> unless you use RRDtool mode, and a frontend which supports it.
>
>
>
> If you are asking to display the peak lines only and not the data lines,
> then again you cant do it unless you use RRDtool mode, and a frontend which
> supports it
>
>
>
> The peak data is always maintained in the backing database, whether you
> display it or not.
>
>
>
> Steve
>
>
>   ------------------------------
>
> *From:* mrtg-bounces at lists.oetiker.ch [mailto:
> mrtg-bounces at lists.oetiker.ch] *On Behalf Of *chays
> *Sent:* Friday, 10 October 2008 15:05
> *To:* mrtg at lists.oetiker.ch
> *Subject:* Re: [mrtg] keeping the peak with just 2 values
>
>
>
> Thank you for the reply Steve, :)
>
> Then is it not possible to have 2 lines corresponding to the 2 values while
> maintaining the peaks? Ie, what I want display wise is what is shown on the
> daily graph, I just want the peaks to be maintained.
>
> Thanks again.
>
>  On Thu, Oct 9, 2008 at 8:59 PM, Steve Shipway <s.shipway at auckland.ac.nz>
> wrote:
>
> The two peak lines are appearing because you've asked for them.
>
>
>
> WithPeak[weather]: wmy
>
>
>
> This specifies to add 'peak' lines on the Weekly, Monthly and Yearly
> graphs.
>
>
>
> If you want to get rid of them, then use
>
>
>
> WithPeak[weather]: n
>
>
>
> (This requires MRTG 2.16, I think).  You could also remove the WithPeak
> line entirely, but that usually defaults to wmy anyway.
>
>
>
> Steve
>
>
>   ------------------------------
>
> *From:* mrtg-bounces at lists.oetiker.ch [mailto:
> mrtg-bounces at lists.oetiker.ch] *On Behalf Of *chays
>
> Target[weather]: `/path/to/file`
> MaxBytes[weather]: 200
> Options[weather]:
> gauge,nopercent,growright,nolegend,nobanner,noinfo,nolegend,pngdate,noborder,noarrow
> Title[weather]: Current Temperature in Fahrenheit (55106)
> YLegend[weather]: weather
> ShortLegend[weather]: &nbsp
> WithPeak[weather]: wmy
> LegendI[weather]: &nbsp;Temp in F:
> LegendO[weather]: &nbsp;Humidity %:
> Colours[weather]: GREEN#A24638,BLUE#3895A3,DARK GREEN#006600,VIOLET#ff00ff
>
> My 'problem' is removing the 2 extra graph lines that are visible and
> continuing to display the peak values. What am I missing, please? And for my
> own understanding, while this isnt an issue on my other graphs, I am curious
> what the extra 2 lines are actually graphing?
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081009/c9413a20/attachment-0001.html 


More information about the mrtg mailing list