[ZBXNEXT-2696] Forecasting Graphs and Triggers Created: 2015 Feb 02 Updated: 2018 Feb 22 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Ross Peoples | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 11 |
Labels: | graphs, prediction, triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
This is related to I have a separate app written in Python/Django that gets values from the trending tables in the Zabbix database, displays the last 3 months worth of trends for an item, then displays (in a separate color) the forecast for the item over the next two weeks (variable time-frames). I did this using a Holt-Winters double exponential smoothing algorithm I found code for. The result was fairly accurate for a forecast. Again, written in Python, but should be translatable to PHP. The method itself was pretty simple: pass a list of [clock, value] and it returns a list of [clock, value], where clock contains future dates and times. I don't know how much work, if any, has been done in this area, but it would be a great feature to have, and one that I personally need. While I have a separate app that does this forecasting, it would be even better if it were built-in to Zabbix. I would be happy to provide any additional information, the Python code for the Holt-Winters algorithm, possibly even some time to implement this (though I haven't worked with PHP in a while). Please let me know if there is work being done in this area, or if not, would this be a desired feature for anyone else. |
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2015 Sep 07 ] |
Hi! As you can see there is some progress on It is very interesting that you use Holt-Winters method. As I can see, there are three-four parameters in this model. This is probably too much for an ordinary user to tune. And we would not want to provide "default" parameters because it is very hard to find parameter set which would suit everyone. Wiki says about exponential smoothing:
And this is what concerns us the most. Anyway, I would be glad to hear more from you about your vision of forecasting in Zabbix and about your experience with Holt-Winters. |
Comment by Ross Peoples [ 2015 Sep 08 ] |
Hello, The difference between Being able to see forecasts in graphs allows you to plan for capacity, rather than react to it. It's great that there is some forecasting being done via triggers, now I think we just need to put that into graphs as well. If the extrapolation techniques used for triggers would be suited for graphing as well, then that's fine. I chose Holt-Winters at the time because it was recommended for forecasting things with fluctuations, like CPU usage. |
Comment by Glebs Ivanovskis (Inactive) [ 2015 Sep 14 ] |
Hi,
Fluctuations are unpredictable by nature. Sometimes Holt-Winters is able to guess them surprisingly well, but sometimes all can go totally wrong. |
Comment by David Lang [ 2016 Jan 05 ] |
I'll point out that rrdtool implements Holt-Winters and is C code released under GPLv2 (or later), so the code can be directly copied into Zabbix. for simple functions, calculating it on the fly as you access it can work, but for more complex things, it makes more sense to calculate it once and store the result the way you would any other data source. looking at Is there a way to have a predictive trigger create a data item that can then be graphed as you would any other item? |
Comment by Ismael Ricardo Packer [ 2018 Feb 22 ] |
Any update with this feature? |