How to Identify Which Synthetic ActiveGate Executed a Network Availability Monitor (NAM) in Dynatrace

Summary

When you’re troubleshooting intermittent NAM Monitor failures in Dynatrace, it’s often necessary to determine which Synthetic ActiveGate executed a specific monitor run, especially when using Private Synthetic Locations with multiple ActiveGates.This guide explains how to quickly find the exact ActiveGate involved in a NAM execution and what to do if the information isn’t immediately visible.

Problem

In Dynatrace, NAM execution details show the synthetic location where the run occurred.
However, if that location contains multiple ActiveGates, it can be difficult to determine which specific ActiveGate executed the test.Knowing this is essential when diagnosing:

  • Intermittent failures
  • Host‑specific issues
  • Configuration differences
  • Network or certificate problems
  • Proxy‑related behavior

How to find the ActiveGate a NAM execution ran on

  1. Open a Notebook in Dynatrace.

  2. Add a DQL section.

  3. Paste in the following query:

    fetch dt.synthetic.events
    |filter event.type == "network_availability_monitor_execution"
    |lookup [ fetch dt.entity.synthetic_location ],
        sourceField: dt.entity.synthetic_location,
        lookupField: id,
        fields: { location.name = entity.name } 
    |fields timestamp, dt.synthetic.monitor.id, monitor.name, dt.entity.synthetic_location, location.name, event.id, result.engine.id, numberToHexString(toLong(result.engine.id))
    | fieldsRename hex = `numberToHexString(toLong(result.engine.id))`
    
  4. You can refine the filter to search for specific executions or monitors. For example, you could search for only the monitor with id MULTIPROTOCOL_MONITOR-0F1645AED8988FA5 by adding to the filter.

    |filter event.type == "network_availability_monitor_execution" and dt.synthetic.monitor.id == "MULTIPROTOCOL_MONITOR-0F1645AED8988FA5"
    
  5. Run the query 
    DQLOutput2.png

  6. The hex column contains the ActiveGate ID in hexadecimal format.Copy this hex value and use it to search on the Deployment status > ActiveGates page to find the exact ActiveGate that ran the Browser Monitor execution.

What’s Next

If you weren’t able to find the ActiveGate that ran the execution using the steps above, open a chat and a link to the execution you are interested.

Related reading

:open_book:  Synthetic Troubleshooting Map

:open_book:  NAM Monitor metrics in Synthetic on Grail

:open_book:  Notebooks

:open_book:  NAM monitors results reporting

5 Likes

I’ve tried the query, but it seems to only work for on-demand executions as far as I can tell.