Internet Speed Audit
Purpose
The Internet Speed Audit solution runs an internet speed test on Windows devices using the Ookla SpeedTest CLI. It records the download and upload speeds, latency, jitter, packet loss, ISP, network interface, IP addresses, VPN status, and test server details, then stores the results in NinjaOne custom fields.
Use this solution to track internet performance across Windows devices, spot slow or unstable connections, and generate organization-level or global reports for network reviews.
How It Works
- Schedule: The Audit Internet Speed task runs the automation once per day against the cPVAL Windows Workstations and cPVAL Windows Servers groups.
- Collect: The Internet Speed - Audit automation runs the Agnostic - Test-InternetSpeed script and writes the full results to the cPVAL Internet Speed Test Results custom field. It also writes the key values to the latency, jitter, packet loss, download, and upload custom fields.
- Report: The Internet Speed - Audit audit report presents the speed test results for reviewing devices and organizations.
Key Capabilities
- Speed Measurement: Records the download and upload speeds in Mbps, along with the bytes transferred and the time taken.
- Connection Quality: Records latency, jitter, and packet loss.
- Connection Details: Records the ISP, network interface, MAC address, internal and external IP addresses, and VPN status.
- Test Server Details: Records the server name, host, location, country, and IP address, plus the result ID and URL of the speed test.
- Individual Custom Fields: Stores latency, jitter, packet loss, download, and upload values in separate text fields, so they can be used in searches and conditions.
- HTML Custom Field: Stores the full results in an HTML table for readable presentation in NinjaOne.
- Audit Reporting: Provides a report for reviewing internet speed results across organizations.
Associated Content
Custom Fields
| Name | Level | Function |
|---|---|---|
| cPVAL Internet Speed Test Results | Device | Stores the full internet speed test results in HTML format. |
| cPVAL Latency | Device | Stores the ping latency detected during the speed test. |
| cPVAL Jitter | Device | Stores the ping jitter detected during the speed test. |
| cPVAL PacketLoss | Device | Stores the packet loss detected during the speed test. |
| cPVAL DownloadMbps | Device | Stores the download speed detected during the speed test. |
| cPVAL UploadMbps | Device | Stores the upload speed detected during the speed test. |
Automation
| Name | Function |
|---|---|
| Internet Speed - Audit | Runs the internet speed test and writes the results to the custom fields. |
Groups
| Name | Function |
|---|---|
| cPVAL Windows Workstations | Targets the Windows workstations the task runs against. |
| cPVAL Windows Servers | Targets the Windows servers the task runs against. |
Task
| Name | Function |
|---|---|
| Audit Internet Speed | Runs the Internet Speed - Audit automation once per day against Windows devices. |
Audit Report
| Name | Function |
|---|---|
| Internet Speed - Audit | Presents the collected internet speed test results for audit and review across organizations. |
Implementation
Step 1: Create the Custom Fields
Create the following custom fields in NinjaOne:
- cPVAL Internet Speed Test Results
- cPVAL Latency
- cPVAL Jitter
- cPVAL PacketLoss
- cPVAL DownloadMbps
- cPVAL UploadMbps
Ensure the results field supports WYSIWYG HTML content and that the automation has permission to read and update all the fields.
Step 2: Create the Automation
Create the Internet Speed - Audit automation.
Configure Run As to System so the script can run the speed test and update the NinjaOne custom fields.
Step 3: Create the Groups
Create the following groups, if they do not already exist:
Step 4: Create the Task
Create the Audit Internet Speed task. It runs the automation once per day against the Windows workstation and server groups.
Review the custom fields after the first run to confirm that the speed test results are being collected correctly.
Step 5: Configure the Audit Report (Optional)
Skip this step if the partner does not need reports. The data is still collected and kept on each device in the cPVAL Internet Speed Test Results custom field.
- API application and credentials: Create the NinjaOne API application and fill the cPVAL Ninja API Client ID and cPVAL Ninja API Client Secret fields, as described in WYSIWYG Custom Field Report - Organization and Global KB. If they are already set up for another ProVal reporting solution, reuse them.
- Report automation: Create the WYSIWYG Custom Field Report - Organization and Global KB automation.
- Schedule: Schedule the report automation against one device, such as a server that is always online. Run it after the daily speed test task. Use the values listed in the Report Settings section of the Audit Report:
Knowledge Base articles need the NinjaOne Documentation app. Without it, set Report Output to Local CSV Files to create only the CSV files on the device that runs the report.
FAQ
General Usage
Q. What does this solution do?
A: It runs an internet speed test on Windows devices once per day and stores the results in NinjaOne custom fields for auditing and reporting.
Q. What information does the automation collect?
A: It collects the download and upload speeds, latency, jitter, packet loss, ISP, network interface, MAC address, internal and external IP addresses, VPN status, test server details, and the speed test result ID and URL.
Q. What tool does the speed test use?
A: The automation runs the Agnostic - Test-InternetSpeed script, which uses the Ookla SpeedTest CLI.
Q. Where are the results stored?
A: The full results are stored as an HTML table in the cPVAL Internet Speed Test Results custom field. Latency, jitter, packet loss, download, and upload values are also stored in their own custom fields on the device.
Q. Does the speed test use network bandwidth?
A: Yes. Each test downloads and uploads data to measure the connection. The task runs once per day to limit the impact.
Reports
Q. What is the audit report used for?
A: The report provides a consolidated view of internet speed test results for reviewing network performance across organizations.
Q. Do I need the reports?
A: No. They are optional. Without them, the speed test results are still collected and kept on each device in its custom fields.
Q. What do I need for the Knowledge Base articles?
A: The NinjaOne Documentation app, an API application with its credentials in cPVAL Ninja API Client ID and cPVAL Ninja API Client Secret, and the WYSIWYG Custom Field Report - Organization and Global KB automation. Without the Documentation app, the report can create CSV files only.
Q. How can I ensure the report contains current information?
A: Run the report after the daily speed test task so it can use the latest data available in the custom fields.
Changelog
2026-10-29
- Initial version of the document.