Skip to content

Network Monitoring Systems

TestCLIX provides an API that allows integration with network monitoring systems. This enables you to trigger test scenarios and retrieve their results directly from your monitoring dashboard, giving you a unified view of your infrastructure and website health.

Network monitoring tools typically support HTTP-based sensors that can query external APIs on a schedule. By pointing such a sensor at the TestCLIX API, you can incorporate website testing results into your existing monitoring workflows - including alerting, reporting, and escalation.

In this guide, we use PRTG Network Monitor as a reference implementation, but the same approach applies to any monitoring system that supports custom HTTP sensors (e.g., Zabbix, Nagios, Datadog, Checkmk, or similar).

  1. Open Settings from the left sidebar menu.

  2. Navigate to the Your API Key section.

  3. Click the Generate API Key button.

  4. Once the key appears, click Save to store it.

    Your API Key panel showing the API URL and key
  1. Navigate to your Workspace using the left sidebar menu.

  2. Click on the specific test scenario you want to monitor.

  3. In the scenario details panel, locate and copy the ID field.

Step 3: Configure the Sensor in Your Monitoring System

Section titled “Step 3: Configure the Sensor in Your Monitoring System”

The general approach is to create an HTTP sensor that queries the TestCLIX status API endpoint.

API Endpoint:

https://testapi.testclix.com/v1/api/status/{YOUR_SCENARIO_ID}

Replace {YOUR_SCENARIO_ID} with the ID you copied in Step 2.

Example:

Terminal window
curl https://testapi.testclix.com/v1/api/status/{YOUR_SCENARIO_ID} -H "x-api-key: {YOUR_API_KEY}"

Required HTTP configuration:

SettingValue
Request MethodGET
URLhttps://testapi.testclix.com/v1/api/status/{ID}
Custom Headersx-api-key: {YOUR_API_KEY} and Content-Type: application/json

Below is a reference walkthrough using PRTG Network Monitor. Adapt the steps to match the interface of your monitoring tool.

  1. In your PRTG dashboard, click Add Sensor under the desired device.

  2. Search for HTTP and select the HTTP Advanced sensor type.

    PRTG Add Sensor search showing HTTP Advanced sensor type
  3. In the sensor settings, paste the TestCLIX API endpoint URL into the URL field:

    https://testapi.testclix.com/v1/api/status/{YOUR_SCENARIO_ID}
  4. Scroll down to the HTTP Specific settings:

    • Set the Request Method to GET.
    • In the HTTP Headers section, select Use custom HTTP headers.
    • Add x-api-key: {YOUR_API_KEY} and set Content-Type to application/json.
    PRTG HTTP Specific settings showing URL and custom HTTP headers
  5. Save the sensor settings to begin monitoring.

Once configured, your monitoring system will query TestCLIX on its regular polling schedule and report the pass/fail status of your test scenarios alongside the rest of your infrastructure monitoring.

Sometimes seeing something is more important than reading. We invite you to watch a step-by-step introductory video that highlights this integration: