Hello all,
I'm reaching out to see if anyone knows of a way to utilize the forecast function, based on a daily maximum for an ethernet port, to do a 30 day forecast. I know I can do this, and am doing so, by creating an item to pull the max() once per day for the previous day, and then run the forecast on that item, but that seems like an extra step and I think would be more difficult to template.
I've tried a few forecast options on Zabbix 6 and 7, but it's not producing the results I would expect and I suspect it's ultimately doing some sort of daily average rather than the daily max.
I have a item for an 100G ethernet port item (key = traffic.in.eth0) on a device (name = router1). In researching the Zabbix documentation and forums, I've tried the forecast statements below, but they have reports lower results then what I know would be correct or not worked.
forecast(/router1/traffic.in.eth0/,30d,30d,,max) - lower than expected results
and
forecast(max(/router1/traffic.in.eth0,1d),30d,30d) - reported an error on submission
Any pointers would be greatly apricated.
To summarize, I want to create a 30 day forecast based on the single largest item result per day from the last 30 days of the port.
Thank you.
I'm reaching out to see if anyone knows of a way to utilize the forecast function, based on a daily maximum for an ethernet port, to do a 30 day forecast. I know I can do this, and am doing so, by creating an item to pull the max() once per day for the previous day, and then run the forecast on that item, but that seems like an extra step and I think would be more difficult to template.
I've tried a few forecast options on Zabbix 6 and 7, but it's not producing the results I would expect and I suspect it's ultimately doing some sort of daily average rather than the daily max.
I have a item for an 100G ethernet port item (key = traffic.in.eth0) on a device (name = router1). In researching the Zabbix documentation and forums, I've tried the forecast statements below, but they have reports lower results then what I know would be correct or not worked.
forecast(/router1/traffic.in.eth0/,30d,30d,,max) - lower than expected results
and
forecast(max(/router1/traffic.in.eth0,1d),30d,30d) - reported an error on submission
Any pointers would be greatly apricated.
To summarize, I want to create a 30 day forecast based on the single largest item result per day from the last 30 days of the port.
Thank you.