Creating an agent from an existing script using the Web UI

Prerequisites

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

Procedure
  1. Select Analytics from the navigation pane.
  2. In the Analytics Dashboard, in the Agents panel, click Agents.
  3. The Agent Management page is displayed. To create an agent, click + Create.

    You can also create an agent from the Scripts Management page by selecting a script row and clicking + Create Agent. Access the Scripts Management page from the Analytics Dashboard by selecting the Scripts link in the Scripts panel.

  4. In the Create Agent dialog box, enter the agent information.
    1. To see a list of scripts available on the switch, click the down arrow next to the Script field.
    2. Select a script for the agent to run.
    3. Enter a name for the agent.
    4. Based on the script you selected, a list of parameters is displayed without values in the Value column. Enter the values for the parameters.

      The More Info column displays additional information about the parameter, such as the default value.

      If the More Info column includes the lock icon, the value of the parameter is encrypted. The characters you enter are masked on the screen with bullet characters.

      If you do not enter a value and there is a default value defined, the default value is used.

      If the Value column labels the parameter as Required and that parameter does not include a default value, you must supply a value before you can create the agent.

      Create agent example with parameters

    5. Optionally, check the box to Save running config to startup.

      If you do not save the running configuration to the startup configuration, the change is not preserved when the switch is rebooted.

    6. To create an agent running the specified script with the parameter values entered, click Create. To cancel the operation, click Cancel.