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
- Open a Notebook in Dynatrace.
- Add a DQL section.
- Paste in the following query:
fetch dt.synthetic.events
|filter event.type == "network_availability_monitor_execution"
|fields timestamp, dt.synthetic.monitor.id, monitor.name, dt.entity.synthetic_location, location.name, event.id, result.engine.id, numberToHexString(toLong(result.engine.id))
|lookup [ fetch dt.entity.synthetic_location ],
sourceField: dt.entity.synthetic_location,
lookupField: id,
fields: { location.name = entity.name }
| fieldsRename hex = `numberToHexString(toLong(result.engine.id))`
- 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"
- Run the query
-
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
📖 Synthetic Troubleshooting Map
📖 NAM Monitor metrics in Synthetic on Grail
📖 Notebooks
📖 NAM monitors results reporting