HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In

Using the Network Analytics Engine

Installing Scripts and Creating Agents

Installing NAE Scripts

Using the switch's web UI to install NAE scripts

  1. In your web browser, navigate to the switch's IP address or hostname, making sure to use HTTPS:
1913

Landing message and page for AOS-CX web UI

  1. Log in with the username and password of the user possessing administrator privileges:
506

Login context

  1. Click on Analytics in the menu on the left-hand side:
250

Left-side menu pane

  1. Click on the title of the Scripts tile:
410

Scripts tile on the Agent dashboard page

At the top of the window, click the cloud ASE icon towards the right:

2941

ACCEPT the license agreement:

3434

License agreement

  1. Wait for the window to be populated with the Aruba-curated scripts. Only those that are tagged for the platform you are using will be shown. Select the appropriate script to monitor the desired values, and click INSTALL:
1630

ASE listing of available scripts compatible with the particular switch's platform

Uploading a script from your local machine

  1. On the Analytics page, click the title in the Scripts tile:
410

The Scripts tile on the Agent dashboard page

At the top of the window, click the UPLOAD button towards the left:

2941

Upload button, among other buttons

  1. Navigate to the location containing the script (which should be a Python file with the appropriate .py extension) and select it:
950

File-selector prompt

  1. Follow the upload prompt and click NEXT:
2283

Upload confirmation page

Creating an Agent

After the script has been installed on the system, to initiate the monitoring process an Agent needs to be created.

  1. Select the script in the Scripts window from which you want to create an agent and click + CREATE AGENT:
1629

Scripts page on which agents can be created

  1. In the "Create Agent" form, name the agent (nomenclature requirements shown in red), fill in all mandatory fields (i.e. those without default values) and optional fields, and click CREATE. This will create your agent which will begin monitoring immediately.
1535

Agent creation form

Upon creating the agent you are brought to the Agents list page, where you can see your newly created agent among all the other agents.

1625

Agents page showing all existing agents

From this page, you can click on the name of an agent in order to view its Agent Details page and graph.

1625

Agent details page

Model Specific Differences

Switch ModelMax # of ScriptsMax # of AgentsMax # of MonitorsMax Script Size# of Days Stored in Database*Amount of Disk Storage Allocated
840050100300256KB40018GB
83602550150256KB4009GB
83252550150256KB4009GB
83202550150256KB4009GB
64001010130256KB453.1GB
63001010130256KB453.1GB
62001010130256KB151GB

πŸ“˜

Amount of days listed is the maximum as long as data does not go over the above amount of disk storage allocated to NAE for that particular model. If the disk storage allocated has reached it's max, NAE will remove the oldest data in order to make space for newer data added.

NAE Scripts to Start with

Fault Finder

  • Identifies general faults and helps protect against network loops and issues caused by defective peripherals.

Hardware Device Health

  • Minimum firmware version 10.04 required. Monitors overall hardware device health using the Temperature Sensor, Fan Sensor, and Fault Finder scripts.

Software Device Health

  • Minimum firmware version 10.04 required. Monitors overall software device health using the MAC Count, MAC Decrease Rate, Fault Finder, Daemon Resource, and VSX Health scripts.

What’s Next