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
[email protected]
Ph: +64 9 373 7599 ext 86487


________________________________________
From: [email protected] 
[[email protected]] on behalf of 
Simon Hobson [[email protected]]
Sent: Friday, 18 November 2011 4:12 a.m.
To: [email protected]
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

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to