[ZBX-21965] Incorrect SLA calculation Created: 2022 Nov 23  Updated: 2023 Oct 07

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 6.2.4, 6.4.0beta3
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Egor T. Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

zabbix_server (Zabbix) 6.2.0
Revision db780895726 4 July 2022, compilation time: Jul 4 2022 07:16:54
If


Attachments: PNG File image-2022-11-23-16-06-21-495.png     PNG File image-2022-11-23-16-06-32-604.png     PNG File image-2022-11-23-16-08-53-730.png     PNG File image-2022-11-23-16-09-47-757.png     PNG File image-2022-11-23-16-10-07-823.png    
Issue Links:
Sub-task
depends on ZBX-17188 Problems with negative duration are c... Open

 Description   

Based on followed documentation : 

https://www.zabbix.com/documentation/current/en/manual/it_services/sla

Expected behavior in case of adding downtime in the future and in the past:  SLI should be corrected in accordance of downtime periods. 

 Based on my experiments:

Today: 23.11 at 9:01 I can see that service in "not OK" status from the beginning. 

I've tried to add planned downtime in the past - result:

Downtime reduced for 3 hours but SLI was not changed. See below:

In cease of excluded downtime in future - result the same:

If my understanding correct daily SLI calculation should be like this:

(("Period from 00:00" - ("Not OK period" - "excluded downtimes"))/"Period from 00:00")*100%

If so - this is bug. Please check and let me know.


Generated at Thu Apr 03 17:22:58 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.