You are mixing the old and new GPRINT syntaxes, which is why it doesn’t work.
Old deprecated style: GPRINT:varname:cf:format Where ‘varname’ is a DEF or CDEF, and CF is AVG, MAX, MIN, LAST New style: VDEF:vdefname=varname,function GPRINT:vdefname:format[:strftime] The new style uses a VDEF in the GPRINT, which has to be defined separately. ‘function’ is one of the summary stat RPN functions (see the RPN manual) that include AVERAGE, MAXIMUM and also the LSL and Percentile calculations. So, to do what you want, you would need to have (using the new syntax) something like: VDEF:ioratemax:iorate,MAXIMUM GPRINT:ioratemax:’Maximum IO value %5.2lf%sbps at ’ GPRINT:ioratemax:%c:strftime Steve Steve Shipway [email protected] From: [email protected] [mailto:[email protected]] On Behalf Of Steven Sim Sent: Thursday, 19 June 2014 3:08 a.m. To: [email protected] Subject: [rrd-users] I don't understand ':strftime' in command: 'GPRINT:IORATE:MAX:%c:strftime'. Error creating the Storage IORATE PNG file Err... I cannot figure out this error ... 1341 entries processed! ERROR: I don't understand ':strftime' in command: 'GPRINT:IORATE:MAX:%c:strftime'. Error creating the Storage IORATE PNG file The syntax of the GPRINT command as follows ... . . . HRULE:${_MAXVALUE}${BLUE}:'80% Max Value':dashes GPRINT:${_METRIC1}:MAX:'Maximum IO value %5.2lf' GPRINT:${_METRIC1}:MAX:%c:strftime The rrdtool graph render command works just fine until I add the last line What's wrong with the strftime syntax? Deepest Regards Steven Sim
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
