Server User Guide
Version v1.7.5

PRTG Network Monitor 21 Integration

This procedure shows how you can integrate Alyvix test cases into the PRTG ™ monitoring system. Once you’ve completed the configuration, your PRTG installation will request the results of Alyvix runs at regular intervals via Alyvix Server’s Measurements API, and the data can then be visualized and explored within PRTG.

The configuration steps below assume you have (1) created Alyvix test cases readable by Alyvix Robot that you want to monitor from your Alyvix Server located at, and (2) have a working PRTG installation with that Alyvix Server already installed as a host.

Then the general outline of the configuration steps to complete is:

  • Install a Python script that conducts a check locally on Alyvix Server

  • Prepare a custom sensor within PRTG that will call that script

  • Add the Alyvix service(s) by registering them as sensors in PRTG

  • Verify that each Alyvix service was configured successfully

After these tasks are completed, you can explore your Alyvix test case results starting from the PRTG dashboard and host views:

A screenshot that shows the result after configuration is complete.

The following step-by-step guide illustrates the above steps in detail.

  1. Install the Python script on your Alyvix Server to allow PRTG to query the results of your test cases:

    Download the Python local check script named from the official repository into PRTG’s special agent directory on Alyvix Server at C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\python\

  2. Start one or more test cases on Alyvix Server so that test case results will be published by the Measurements API when PRTG runs the local check command (PRTG cannot display any results if the Measurements API has no data).

    Please refer to the part of the Alyvix Server user guide that describes these tasks:

  3. Optionally, you can run the local check command manually in a command prompt to ensure it works:

    C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\python\> -t visittrentino
    {"prtg": {"text": "Test case report:", ...}}

    The output should be a JSON string similar to the above.

  4. Create a Python Script Advanced Sensor on the PRTG core server linked to the Python script on Alyvix Server:

    From the host view for Alyvix Server, select the blue Add Sensor action, then select the Probe device action. When asked for the sensor type, use the search bar with the string “python”, and select the Python Script Advanced sensor type.

    In the configuration box that appears, leave most of the default settings, but make sure the Python Script field says and the Additional Parameters field contains the name of your test case (you’ll have to add one sensor for each Alyvix test case you plan to include in your services view). Click on the blue Create action when done.

    A screenshot that lets you create settings for a custom Python sensor.

  5. Check that the configuration was successful.

    From the Services View of your Alyvix Server host in PRTG, you should see results of the first few checks (remember that results won’t be available until the test case has run at least one time):

    A screenshot that shows the result after configuration is complete.

    If instead you see the service is still in a pending state (a gray box marked ?), reload the page every so often until the results appear. Once the check results are visible, you can:

    • Click on the graph icon to go to the dedicated, interactive results page (graph and sortable table)

    • Copy and paste the URL (located at the top of the page) for the most recent report for that test case on Alyvix Server

    A screenshot that shows the result after configuration is complete.

You’re done. Congratulations on successfully setting up Alyvix Server and PRTG to visually monitor your test cases!


If you already have a complete, working installation with PRTG and Alyvix Server, and you just need to add a new test case to your existing ones, then you only need to carry out steps #4 and #5.