[rrd-users] 3 questions
linux at thehobsons.co.uk
Wed Oct 12 20:51:07 CEST 2011
Shabnam Shahreza wrote:
>1) How can I draw only dots/pixels for the VDEF (MAXIMUM)
>values and not *line* or dashed line?
>I mean only one dot for the maximum value for start-to-end time period?
>2) And how can I compare different VDEF (MAXIMUMs) from several
>rrd files in one graph and pick the MAX of them? Do I need to create
>a new rrd file and extract the max from there?
You can access multiple RRD files in one graph like this :
Then you can use the RPN stuff to select the max, like this :
a,b,GT puts a result on teh stack to say if it's true or not, then
(something),a,b,IF selects a if (something) is true or b if it's not.
The result is if a>b then select a, else select b.
Of course, the simpler way I'd overlooked is just :
>3) And how can I calculate separate VDEF (MAXIMUM) for
>different start-to-end time frames in one graph, such as monthly?
You can add time spans to a DEF statement :
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the rrd-users