Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Configure a script action

Before you begin

Create diagnostic system modules

Create a script action

To configure a new script execution action:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane of the Console, select Diagnostics > Diagnostic Modules.
  3. In the Diagnostic System Modules table, select the name of the diagnostic system module containing the script action you want to configure.
  4. Select Configuration > Policies and Actions > Actions.
  5. In the Actions table, select the script action you want to configure.
  6. On the Script Properties page:
    1. in Working Directory, enter the working directory location for the child process.
    2. In Path to Script, enter the full path to the location of the script you want to execute. This field is required and should be a relative path to DOMAIN_HOME/bin/scripts. If you enter an absolute path, WebLogic Server rejects it with an error.
    3. In Environment Variables, enter a map of the environment variables to set for the child process.
    4. In Parameters, enter an array of ordered command-line arguments to the target script.
  7. Click Finish.
  8. In the Change Center, click Activate Changes.

Back to Top