Updating a script using the Web UI

Prerequisites
  • You must be logged in to the ArubaOS-CX Web UI with administrator rights.

Procedure
  1. If the new script has the same name as the existing script, and the existing script was installed while the switch was running ArubaOS-CX software version 10.03 or later, upload the new script:

    The name in the manifest of the script must match the name of the script in the Scripts panel of the Analytics Dashboard exactly. For example, a script with a version number in the name does not match a script that does not include a version number in the name. The script file name is not required to match the script name in the manifest. For example, the script file name can include a version number.

    If the name of the script as shown in the script manifest matches the name of the existing script, when you upload the script, the Aruba Network Analytics Engine (NAE) does the following:

    • Displays a message that a script with the same name exits and asks you to confirm that you want to update the existing script.

    • Deletes the existing script and agents

    • Replaces the existing script with the new script

    • Recreates the agents with the same parameters that were used before the script was updated.

    If the monitors in the new script and the existing script are the same, previously collected time-series data is preserved when the script is updated. Clearing the NAE data is not required.

  2. If the name of the new script does not match the name of the existing script, or the existing script was installed while the switch was running an ArubaOS-CX software version earlier than 10.03, do the following:
    1. Delete the existing script.

      When you delete a script, the agents are deleted automatically.

    2. Upload the new script.
    3. Clear the NAE data by entering the clear nae-data command from the manager context.
      switch# clear nae-data
    4. Create agents associated with the new script.
    5. Add time series graph panels for the agents to the Analytics Dashboard.