Error: "The action is invalid"

Symptom

An agent is in an error state and is not successfully executing an action specified in the script. The script has the following error:

The action is invalid
Cause

A script action specifies an action that is not a CLI command and is not valid on this switch and software version.

Action
  1. Determine which script action is invalid.

    To see which command or action failed, in the Web UI, view the Action Result section of the Alert Details screen of the alert that generated this error.

  2. Modify the script to change or remove the script action that contains the command.
    1. Delete all agents associated with the script.

      Consider recording information about the agent names and parameter values so that you can create equivalent agents from the modified script.

    2. Modify the script.
    3. Upload the modified script.
    4. Create agents from the modified script.
    5. Enable the new agents.