#1 new enhancement

Simple anomaly detection

Reported by: jo Owned by: jo
Priority: normal Milestone: Munin 3.0.0
Component: master Version:
Severity: minor Keywords:
Cc:

Description

RRDTool 1.2 supports anomaly detection. Munin should be able to use it.

Change History (4)

comment:1 Changed at 2006-08-30T02:58:06+02:00 by janl

  • Severity changed from normal to minor

Also, if munin could detect high rates of change in graphs - or new record high/low levels in a graph (on a yearly basis) then we would have pretty good "interesting graphs" detection - which is a nice thing to have if we want to make a munin dashboard.

comment:2 Changed at 2007-10-17T10:41:53+02:00 by mariow

Just yesterday I had an outage that could clearly be seen in the graph but avoided all other detection mechanisms we had. The anomaly detection should have informed me of the problem within minutes. Is there any chance that this feature will be integrated into munin 1.4 or at least 1.6?

comment:3 Changed at 2007-11-16T05:54:50+01:00 by mozai

Did not hear of this until today, and I had trouble finding mention of it anywhere else, so hope you don't mind if I do some explaining.

rrdcreate allows definition of additional RRA (round-robin accumulate) formulas that, instead of summarizing data, provides a smoothed verison of the data acquired, and attempts to predict deviations from the smoothed curve using Holt-Winters forecasting. You must define a cyclic time period (the "season") for the data, so that predicted deviations correspond to appropriate times. IE.: website hits tend to ebb and flow as per time of day, so the "season" would be 24hours, and the middle of the night low measurements would correspond to the middle of the previous night, and the night before, and so on. There are other predictions to be made, such as how many samples and their weights to use for the smoothed data, and some initial settings for the predicted deviations.

Settings for this could be made in a plugin's graph_args section, like anything else you'd pass to rrdcreate. However, tuning these settings would require calling rrdcreate again, and thus losing the historical data. I get the impression that finding the proper deviation settings is a trial-and-error process; if you rely solely on rrdtool to make predictions, you can't just up the warn/crit thresholds, you'd have to start over.

More information can be found at http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html and http://en.wikipedia.org/wiki/Exponential_smoothing

comment:4 Changed at 2009-12-04T23:23:52+01:00 by janl

  • Milestone set to Munin 1.6

Want munin-graph to be refactored before we attempt this.

Note: See TracTickets for help on using tickets.