[ZBX-15233] fuzzytime trigger function description is wrong Created: 2018 Nov 29  Updated: 2024 Apr 10  Resolved: 2019 Jan 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D), Frontend (F)
Affects Version/s: 4.0.2
Fix Version/s: 3.0.25rc1, 4.0.4rc1, 4.2.0alpha2, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: alix Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBX-12293 <= and >= operator do not listed in t... Closed
Duplicate
Team: Team B
Sprint: Sprint 47, Dec 2018, Sprint 48, Jan 2019
Story Points: 0.125

 Description   

Frontend's trigger expression condition editor says that:
"fuzzytime() - Difference between item timestamp value and Zabbix server timestamp is over T seconds (1 - true, 0 - false)"

however, I believe the correct fuzzytime return values would be (0 - true, 1 - false), as stated in the manual:
https://www.zabbix.com/documentation/4.0/manual/appendix/triggers/functions



 Comments   
Comment by alix [ 2018 Dec 03 ]

Just tested the 4.0.2, and fuzzytime(T) indeed returns 0 when time difference is over T.

Comment by Valdis Murzins [ 2018 Dec 03 ]

Thank you alix.
Yes, it is as you stated - current values in documentation are correct.
The ones in frontend will be fixed in scope of this task.

Comment by richlv [ 2018 Dec 03 ]

The values in the frontend were previously auto-generated from the manual - thus allowing for a uniform styling and requiring only one location to keep up to date manually. Perhaps it is worth to return to that approach.

Comment by Alexander Vladishev [ 2018 Dec 03 ]

richlv, you take it wrong. This has never happened, but the remark is right . Thanks!

Comment by richlv [ 2018 Dec 03 ]

I do recall it happening in ZBX-9168, where all of item key helper descriptions were fully and completely regenerated from the manual
Also in ZBXNEXT-2791 and ZBX-12554, maybe more occurrences.

That approach allowed to stop worrying about the key helper - if item descriptions were changed or if new keys were added, it all was pushed in the item key helper easily and semi-automatically.

Comment by Ivo Kurzemnieks [ 2018 Dec 21 ]

Fixed in:

  • pre-3.0.25rc1 r88053
  • pre-4.0.4rc1 r88054
  • pre-4.2.0alpha2 (trunk) r88055
Comment by Alexander Vladishev [ 2018 Dec 21 ]

(2) [D] Documentation needs to be updated

martins-v Description of 'fuzzytime' updated in supported trigger function page for 4.2, 4.0, 3.0. RESOLVED

iivs CLOSED

Generated at Thu Apr 25 20:20:47 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.