[ZBX-16337] Incorrect debug log output when actions are suppressed while maintenance period Created: 2019 Jul 04 Updated: 2024 Apr 10 Resolved: 2019 Jul 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.0.10, 4.2.4 |
Fix Version/s: | 4.0.11rc1, 4.2.5rc1, 4.4.0alpha1, 4.4 (plan) |
Type: | Problem report | Priority: | Major |
Reporter: | Kotaro Miyashita | Assignee: | Viktors Tjarve |
Resolution: | Fixed | Votes: | 0 |
Labels: | maintenance | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | zabbix-fix-check_escalation_result_string.patch |
Team: | Team A |
Sprint: | Sprint 54 (Jul 2019) |
Story Points: | 0.125 |
Description |
Not suitable log with DebugLevel=4 appears when actions are suppressed in when a maintenance period. Steps to reproduce: 1. Set DebugLeve=4 Result: Expected:
|
Comments |
Comment by Viktors Tjarve [ 2019 Jul 18 ] |
Released in:
|
Comment by Glebs Ivanovskis [ 2019 Jul 18 ] |
If ZBX_ESCALATION_* were a proper enum type instead of a bunch of #defines, compiler would be able to warn that certain enum values are not handled in switch. Just saying... |