average data to fix broken graphs?

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

Moderators: Developers, Moderators

Post Reply
User avatar
inetquestion
Cacti User
Posts: 67
Joined: Wed Feb 01, 2006 11:13 am
Location: Charlotte NC

average data to fix broken graphs?

Post by inetquestion »

In the event a polled host is down or there is some other problem preventing cacti from reaching its intended target, your graphs will end up with broken sections during the time the outage occurred. Is there any plug-in available that will retroactively fix the graphs by averaging out the data between the last two points of interest, thus repairing gaps in the graph? See sample attached graph.

If a plug-in doesn't exist has anyone ever done this manually? Would it be easy to script out?
Attachments
cacti.JPG
cacti.JPG (15.25 KiB) Viewed 1609 times
User avatar
inetquestion
Cacti User
Posts: 67
Joined: Wed Feb 01, 2006 11:13 am
Location: Charlotte NC

Post by inetquestion »

I was talking to a coworker about this today and the question came up how would you know from looking at a fixed graph whether it had been fixed or not...

I suppose you could fake this out by shifting extrapolated values to graph under a different data point, then use a different color to show the fixed data. This seems to be getting a little ugly in terms of how to implement however.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I'd recommend "smoothing" using the TREND function. Please google for it in the cacti forums. It's a CDEF tweak
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests