Skip to main content
OnCommand Unified Manager 9.5
A newer release of this product is available.

Adding scripts

Contributors

You can add scripts in Unified Manager, and associate the scripts with alerts. These scripts are executed automatically when an alert is generated, and enable you to obtain information about storage objects for which the event is generated.

Before you begin

  • You must have created and saved the scripts that you want to add to the Unified Manager server.

  • The supported file formats for scripts are Perl, Shell, PowerShell, and .bat files.

    • For Perl scripts, Perl must be installed on the Unified Manager server. If Perl was installed after Unified Manager, you must restart the Unified Manager server.

    • For PowerShell scripts, the appropriate PowerShell execution policy must be set on the server so that the scripts can be executed.

    Note

    If your script creates log files to track the alert script progress, you must make sure that the log files are not created anywhere within the Unified Manager installation folder.

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

About this task

You can upload custom scripts and gather event details about the alert.

Steps

  1. In the toolbar, click clusterpage settings icon, and then click Scripts in the left Management menu.

  2. In the Management/Scripts page , click Add.

  3. In the Add Script dialog box, click Browse to select your script file.

  4. Enter a description for the script that you select.

  5. Click Add.