On , Steve Shipway wrote:
Unknown function 'MIN' in VDEF 'storage01warning'
The VDEF function is MAXIMUM or MINIMUM (not MAX and MIN)
http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html
The abbreviated form is used in create statements. Makes things
confusing,
maybe Tobi should allow both abbreviated and full forms :)
Steve
Steve Shipway
[email protected]
Hm, this doesn't help any. Now I do get a date, but it is just the end
date of the graph...
Result:
http://imagebin.ca/v/278T8G2Hy6oQ
Code:
options.push("--end", "now+#{range}", "--start", "now-#{range}")
options.push("--vertical-label", "Space Available")
options.push("DEF:#{c}=#{rrdfile}:#{c}:MIN")
options.push("VDEF:#{c}slope=#{c},LSLSLOPE")
options.push("VDEF:#{c}int=#{c},LSLINT")
options.push("CDEF:#{c}avg=#{c},POP,#{c}slope,COUNT,*,#{c}int,+")
options.push("CDEF:#{c}limit=#{c}avg,0,2000000000000,LIMIT")
options.push("VDEF:#{c}warning=#{c}avg,MINIMUM")
options.push("LINE4:#{c}#{get_color(index)}:#{c}")
options.push("LINE1:#{c}avg#{get_color(index)}cc::dashes=6");
options.push("GPRINT:#{c}:LAST:Available\\: %7.2lf %s\\l")
options.push("GPRINT:#{c}warning: 2TB free @ %c\\l:strftime")
If I scale the timeout to past the slope meeting 0 MINIMUM still
follows the end date of the graph :-\
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users