-
Incident report
-
Resolution: Won't fix
-
Major
-
None
-
1.8.8
This issue is continuation of ZBX-4321
I suggest to reconsider a design when escalator should expand the macros from action's "Default subject" and "Default message"
Currently it does expanding all macros as first step disregarding that for instance:
- according to operation condition(s) nothing to do;
- operation type it's "Remote command";
- operation does not use "Default message" (
ZBX-4321related); - escalation step should be skipped;
- insufficient user permission;
- allowed period of time doesn't passed;
- etc.
I suggest to expand macros even after function "check_time_period()" i.e. after all internal conditions will be passed. Once expanded and prepared values should be cashed for next action's operations, steps.
Benefits: less loaded escalator, less loaded SQL server, less lines in the DebugLog when no operations executed![]()
Would be nice to conclude the step of expanding "Default subject" and "Default message" to a separate function because currently in the DebugLog are not visible "borders" where this step is started and finished.
Demo debuglog (escalator only) is attached.