Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.36 KB

task-testing-script-execution.adoc

File metadata and controls

49 lines (38 loc) · 1.36 KB
permalink sidebar keywords summary
health-checker/task-testing-script-execution.html
sidebar
You can verify that your script is executed correctly when an alert is generated for a storage object.

Testing script execution

You can verify that your script is executed correctly when an alert is generated for a storage object.

Before you begin

  • You must have the Application Administrator or Storage Administrator role.

  • You must have uploaded a script in the supported file format to Unified Manager.

Steps

  1. In the left navigation pane, click Storage Management > Scripts.

  2. In the Scripts page, add your test script.

  3. In the left navigation pane, click Storage Management > Alert Setup.

  4. In the Alert Setup page, perform one of the following actions:

    To…​

    Do this…​

    Add an alert

    1. Click Add.

    2. In the Actions section, associate the alert with your test script.

    Edit an alert

    1. Select an alert, and then click Edit.

    2. In the Actions section, associate the alert with your test script.

  5. Click Save.

  6. In the Alert Setup page, select the alert that you added or modified, and then click Test.

    The script is executed with the “-test” argument, and a notification alert is sent to the email addresses that were specified when the alert was created.