[ZBX-13361] Failure to set item check interval to anything larger than 1d Created: 2018 Jan 18 Updated: 2024 Apr 10 Resolved: 2018 May 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 3.4.6 |
Fix Version/s: | 3.4.10rc1, 4.0.0alpha7, 4.0 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Herbert Buurman | Assignee: | Miks Kronkalns |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Team: | Team D |
Sprint: | Sprint 28, Sprint 29, Sprint 30, Sprint 31, Sprint 32, Sprint 33, Sprint 34 |
Story Points: | 0.5 |
Description |
When configuring an existing item to have an update interval of n days with n >1 using the string '2d' (for example), the update fails with the error: "Item will not be refreshed. Please enter a correct update interval." This happens when reconfiguring the item using the webinterface, but also when reconfiguring the item using the api. I would have expected the error message to either give details as to what was incorrect about the interval (since the time modifier 'd' is supported according to the docs), or Zabbix to not give an error at all and update the item to the desired interval. |
Comments |
Comment by Aleksejs Petrovs [ 2018 Jan 18 ] |
Hello Herbert, The maximum value is 86400 seconds = 24 hrs = 1d. If you want more specific scheduling, you can use Scheduled/Flexible intervals. But I can confirm that error contains no information about the correct interval. Regards, |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Jan 20 ] |
How do you know it? https://www.zabbix.com/documentation/3.4/manual/config/items/item#configuration does not say what the maximum allowed update interval is and neither does https://www.zabbix.com/documentation/3.4/manual/config/items/item/custom_intervals |
Comment by Nikita Filatovs (Inactive) [ 2018 Mar 19 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-13361 |
Comment by Nikita Filatovs (Inactive) [ 2018 Mar 19 ] |
(1) [F] Translation string changes
Miks.Kronkalns Translation string improved in r80395. |
Comment by Miks Kronkalns [ 2018 May 03 ] |
(2) [D] Updated API manual (added sentence "Maximum allowed update interval is 86400 seconds (1 day)."):
RESOLVED vmurzins CLOSED |