[ZBXNEXT-8530] Housekeeping time units Created: 2023 Jun 22  Updated: 2023 Jun 27

Status: Reopened
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: 6.4.3
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Evgeny Semerikov Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Housekeeping, units
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-06-22-19-22-10-031.png    

 Description   

Steps to reproduce:

  1. Go to Administration > Housekeeping
  2. Set some parameter to 3y
  3. Get error "Incorrect value for field "hk_events_trigger": a time unit is expected."

Result:



 Comments   
Comment by Evgeny Semerikov [ 2023 Jun 22 ]

PS: also if I set value to 36m, then I get following error: "Incorrect value for field "hk_events_trigger": value must be one of 86400-788400000.", but 788400000 = 25 years.

Comment by Edgar Akhmetshin [ 2023 Jun 23 ]

Hello Evgeny,

Please read the documentation:

https://www.zabbix.com/documentation/current/en/manual/web_interface/frontend_sections/administration/housekeeping

Time suffixes are supported in the period fields, e.g. 1d (one day), 1w (one week). The minimum is 1 day (1 hour for history), the maximum - 25 years.

https://www.zabbix.com/documentation/current/en/manual/appendix/suffixes

s - seconds (when used, works the same as the raw value)
m - minutes
h - hours
d - days
w - weeks
M - months (trend functions only)
y - years (trend functions only)

Closing as Won't fix.

Regards,
Edgar

Comment by Evgeny Semerikov [ 2023 Jun 25 ]

Hello, Edgar!

May be move this to new feature request?

Generated at Wed Apr 09 20:49:54 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.