Re: [jffnms-users] Traffic Graphs with MAX Values

2005-11-06 Thread Rob Royan
Thanks Craig, After an array learning curve, I've come up with the following line that works. $opts_DEF[] = str_replace(output,output_max,$opts_DEF[output]) . ":reduce=MAX"; Since the data I'm looking for has already been called in with the rrdtool_get_def function call, this gives me the line

Re: [jffnms-users] Traffic Graphs with MAX Values

2005-11-06 Thread Craig Small
On Thu, Nov 03, 2005 at 10:30:23PM -0400, Rob Royan wrote: > DEF:indataMaxbytes=interface-663-0.rrd:data:AVERAGE:reduce=MAX Right, let's keep that in mind. > $opts_DEF = rrdtool_get_def($data,array("input")); > This would translate to: > DEF:indataMaxbytes=interface-663-0.rrd:data:AVERAGE "input"

[jffnms-users] Traffic Graphs with MAX Values

2005-11-05 Thread Rob Royan
I have figured out how to create a engine/graph file that supplies the rrdtool parameters required to generate a traffic graph with MAX peak values.  But it looks like the reduce option needed isn't supported by the current version of rrdtool I have installed.   I'm currently running rrdtool-1.

Re: [jffnms-users] Traffic Graphs with MAX Values

2005-11-04 Thread Rob Royan
Craig, thanks for your reply. I have very limited programming knowledge, so I probably missing something simple.  The rrdtool statement that I want to invoke is: DEF:indataMaxbytes=interface-663-0.rrd:data:AVERAGE:reduce=MAX My understanding is the engine/graphs files call this statement w

Re: [jffnms-users] Traffic Graphs with MAX Values

2005-11-03 Thread Craig Small
On Thu, Nov 03, 2005 at 11:22:50AM -0400, Rob Royan wrote: > I would like to add a traffic graph to JFFNMS that includes MAX values. > Currently these values get lost as the rrdtool consolidates the data to > match the graph width. The way the rrdtool handles this consolidation can be > changed by