Print Download PDF Send Feedback

Previous

Next

Creating a Block Event Activity Reaction

  1. Select Add > Block Event Activity.
  2. Give the automatic reaction a significant name.
  3. From the drop-down list, select the number of minutes to block this source.
  4. Select Save.

Creating an External Script Automatic Reaction

To add an External Script:

  1. Create the script. See the Guidelines for creating the script below.
  2. Put the script on the SmartEvent Server:
    1. In $RTDIR/bin, create the folder ext_commands. Run:
      mkdir $RTDIR/bin/ext_commands
    2. Put the script in $RTDIR/bin/ext_commands/ or in a folder under that location. The path and script name must not contain any spaces.
    3. Give the script executable permissions. Run:
      chmod +x <script_filename>
  3. In the SmartEvent GUI client Policy tab, in Automatic Reactions, Select Add > External Script.
  4. In the Add Automatic Reaction window:
    1. Give the automatic reaction object a significant Name.
    2. In Command line, enter the name of the script to run. Specify the name of the script that is in $RTDIR/bin/ext_commands/ directory. Use the relative path if needed. Do not specify the full path of $RTDIR/bin/ext_commands/.
    3. Select Save.

Guidelines for creating the script