I am using 4 event detectors as triggers for a single applet using boolean "or" logic to coorelate on any 1 of the detectors. They are:
event tag 1.0 is a timer
event tag 2.0 is a syslog pattern
event tag 3.0 is a cli pattern
event tag 4.0 is a cli pattern
How can I know which detector was the trigger? If I try to look at the internal variable associated with the detector and it wasn't the trigger for the applet to be executed, then the applet crashes. For example, if I try to reference the syslog detector (_syslog_msg) and the syslog detector was not the trigger then the applet does not continue on with the execution of the other actions and it sends a syslog message indicating an error occurred executing applet <applet_name> statement <label> . I'm trying to use the detector that triggers the applet as a determiner of the actions to follow.