Configure Script as a Notification

This topic provides instructions to define and configure a Script as a notification output. ESA allows you to run scripts in response to ESA alerts. You need to define the script using the netwitness_adminicon_25x22.png (Admin) > System > Notifications > Output tab. You can use any script for ESA notifications.

To configure the script as a notification

  1. Go to netwitness_adminicon_25x22.png (Admin) > System.
  2. In the options panel, select Global Notifications.
  3. On the Output tab, from the netwitness_ic-adddrop.pngdrop-down menu, select Script.


  4. In the Define Script Notification dialog, provide the required information and click Save.

    Note: To retrieve alerts information in the scripts, use command line arguments based on the scripting language. For Example:
    - If you are using Python as the scripting language, use sys.argv (command line arguments) to retrieve alerts information.
    - If you are using Bash as the scripting language, use $*, $1, $2, and $@ (command line arguments) to retrieve alerts information.

    Note: Use Temp folder to create files or folders as a part of the script.

For details of the parameters and descriptions, see Define Notification Server Dialogs.