[ZBX-13309] Problem/Recovery time is wrong Created: 2018 Jan 08 Updated: 2024 Apr 10 Resolved: 2018 May 29 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Documentation (D), Frontend (F) |
Affects Version/s: | 3.4.5 |
Fix Version/s: | 3.4.8rc1, 4.0.0alpha5, 4.0 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Giorgio Biondi | Assignee: | Andrejs Griščenko |
Resolution: | Fixed | Votes: | 2 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Redhat 7.4 |
Issue Links: |
|
||||||||||||||||||||||||
Team: | Team B | ||||||||||||||||||||||||
Sprint: | Sprint 28, Sprint 29, Sprint 30, Sprint 31, Sprint 32, Sprint 33, Sprint 34, Sprint 35 | ||||||||||||||||||||||||
Story Points: | 1 |
Description |
In the problem view, I have noted time of recover often is before time to detect issue. Like this:
|
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Jan 08 ] |
Do you mean that it takes this trigger 5 minutes after agent becomes unreachable to go into problem state, but it takes only 23 to get back to OK? If yes, what would be your suggestions to fix the trigger? |
Comment by Giorgio Biondi [ 2018 Jan 08 ] |
Hi Glebs, All the best. Giorgio Biondi. |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Jan 08 ] |
Ah, got it. Can you provide steps to reproduce the issue? |
Comment by Giorgio Biondi [ 2018 Jan 09 ] |
Hi Glebs, |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Jan 09 ] |
Managed to reproduce with nodata() trigger based on trapper item by sending value with timestamp from the past when trigger is PROBLEM. I think what happens is that nodata() trigger gets calculated by timer process and generates an event with current time as a timestamp, then it gets recalculated when the item gets new value (by history syncer) and the timestamp of item value is used as recovery event timestamp. So the recovery will always be before problem, which looks confusing. Also frontend miscalculates Duration, looks like it takes the absolute value. |
Comment by Giorgio Biondi [ 2018 Jan 19 ] |
Hi at all.. I have installed new version V.3.4.6 and the problem is the same.. The issue is resolver BEFORE occurred.. 06:11:30 Average 06:11:26 RESOLVED |
Comment by Giorgio Biondi [ 2018 Jan 23 ] |
Hi, please edit the version affected.. please add also V3.4.6 Best regard. |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Jan 23 ] |
Quoting reporting guidelines:
|
Comment by Glebs Ivanovskis (Inactive) [ 2018 Feb 06 ] |
Most likely solution will be to document this behaviour in more detail and definitely fix duration calculation in the frontend. |
Comment by Andrejs Griščenko [ 2018 Feb 27 ] |
(1) No translation string changes. sasha CLOSED |
Comment by Andrejs Griščenko [ 2018 Feb 27 ] |
RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-13309 |
Comment by Andrejs Griščenko [ 2018 Mar 14 ] |
Fixed in:
|
Comment by Andrejs Griščenko [ 2018 May 28 ] |
Let's consider one of the most common situations when problem recovery time is displayed before problem start time. It is proposed that similar examples should be added to the documentation. martins-v Great, thanks for these examples. |
Comment by dimir [ 2019 Oct 28 ] |
Documentation:
How does negative duration affect Reports -> Availability report and SLA calculation in services:
|