How to graph Max Values

marcioq

28-09-2004 10:16:50

In a interface it is possible to graph the Max values ? Like in Mrtg, that shows a line for the avarege over the last year and also a line the max in the graph ?

Thank´s

silfreed

28-09-2004 13:42:55

There's two ways of doing this; we do the second

1) Add an SNMP test for ifSpeed for your interface (assuming it supports it). Add this monitor to the interface you want to see the max value on. (Groups, find your device, sub-device, and you're at the monitors page)
Duplicate your current Lan Traffic Template Graph, then edit the name to be something like 'WAN Traffic'. After this, click on the name to see the graph items and add a new line1 that is the monitor for the device you just added.
A better way of doing this would be to add the ifSpeed monitor to your template device.

2) We duplicate the Lan Traffic graph, and just add a line1 using a 'fixed value' of '%ifSpeed%'. This will add a constant line to your graph that will change when your interface speed changes, but won't be graphed (ie, you can't view the history and see when you went from a T1 to a 10M ethernet link).

-Doug

balleman

28-09-2004 20:43:56

Hmm... I think Doug misread you. You're talking about MRTG's ablity to graph the max-over-five-minutes values on the larger interval graphs, right? NetMRG does not have the ability to do this yet (although we can look into adding it), but the information necessary should be stored in the RRDs (we have LAST, AVERAGE, and MAX RRAs for each time interval). So, this should be nothing more than an interface change. Let us know which you meant.

marcioq

30-09-2004 17:39:48

Hmm... I think Doug misread you. You're talking about MRTG's ablity to graph the max-over-five-minutes values on the larger interval graphs, right?
That is correct. NetMRG is a great software and I think it would be a good feature, to be able to do that. Judging, by what you said, maybe in 0.18 ? -)

By the way, it is possible to make a graph from 2 or more diferents rrd sources ? like the Input, from all interfaces in a Router on a Single graph ?
Thank´s for the answer

balleman

30-09-2004 17:59:40

Yeah, hopefully 0.18. It's bug#303.

Yes, you can create a multiple interface aggregate for a router. Create a custom graph and add STACK graph items for the input on each interface. I think there is a thread describing how to create a regular looking interface graph that does this using NetMRG.

marcioq

01-10-2004 08:33:03

Thank´s