1 of 1 people found this helpful
Generally speaking there are various ways to track rules execution – from which you can easily retrieve the containing file.
A couple of pointers :
* You can enable rules tracing (mcontrol -n CellName tracerule on|off) to capture trace information about the rules execution – it goes in the cell standard trace.
* If you want to “log” execution of the rules in your events, you can add a custom slot (eg Processing_History) to the event class and edit rules. Most rules will support adding statements like follows, which will cause all your meaningful rules log an entry in the event itself:
$cellrule=cellinfo(CellName) || ":" || $rule;
* If you mean to document your KB, there are a couple of scripts around (no pointer handy here) to provide some basic documentation on the rules, execution order, etc. This works “offline” of the live cell however.
* If you mean to track potential performance bottlenecks, use “mcontrol -n CellName profiling on|off”
Does that help ?
De : Alan Marks <firstname.lastname@example.org>
Envoyé : mardi 16 juin 2020 16:39
À : Philippe Plomteux <email@example.com>
Objet : - Logging which MRL(.WIC) file is used New message on BMC Communities
<https://communities.bmc.com/> BMC Communities
Logging which MRL(.WIC) file is used
created by <https://communities.bmc.com/people/alan.marks?et=watches.email.thread> Alan Marks in TrueSight Infrastructure Mgmt - <https://communities.bmc.com/message/876413?et=watches.email.thread#876413> View the full discussion
Thanks for this, its very helpful and gives me a great place to start.