[rrd-users] value and name both
Steve Shipway
s.shipway at auckland.ac.nz
Mon Nov 21 05:19:16 CET 2011
If what you want to know is what time the Max value was obtained, then the vdef to give you the max also gives a time component for the time this was achieved, which you can use in a vrule statement or similar.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487
________________________________________
From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch [rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] on behalf of Simon Hobson [linux at thehobsons.co.uk]
Sent: Friday, 18 November 2011 4:12 a.m.
To: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] value and name both
Shabnam Shahreza wrote:
>But it still gives me the "value" not the "name of the variable
>carrying that value"... right?
>
>Imagine if the maximum value is 100.05 I want to know also which of
>the var1,var2,var3,.. has this value....
OK, this is the sort of logic you need :
get max
m=v1,v2,...,vn,max
test if v1 is the one
x1=m,v1,eq,1,0,if
More information about the rrd-users
mailing list