Graph Differences between current and previous values

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cmutchler@gmail.com
Posts: 2
Joined: Thu Jun 07, 2007 12:38 pm

Graph Differences between current and previous values

Post by cmutchler@gmail.com »

I am trying to modify my interface errors graphs to display only the differences between the current and previous values. Has anyone done this before and if so can I get a general outline on how this was done? I appreciate any and all help.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Well, that is technically what the graph is already doing.

The errors value is a counter, so what the graph is showing your is the difference between the current and last value divided by the collection interval (5 minutes) to give you a value that represents errors/second.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cmutchler@gmail.com
Posts: 2
Joined: Thu Jun 07, 2007 12:38 pm

Post by cmutchler@gmail.com »

Wow thanks for posting so fast! I guess what I'm trying to do is prevent my graph line from displaying anything if there were no increases in errors between polls. So if I have 30 errors on an interface and five minute later there are no additional errors then I want the line graph value for that poll to be 0. If I gain an additional 30 errors then I want the line to sit at 30. If I can get it working I will probably modify my gprints as well and include a total to show the raw value.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests