# Dynatrace Managed NAM ICMP (ping)

**URL:** <https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, nam, synthetic-monitoring, private-synthetic-locations\
**Created:** [December 2, 2024, 3:13pm UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153 "2024-12-02T15:13:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyperdev](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@hyperdev](https://community.dynatrace.com/u/hyperdev)\
**Post date:** [December 2, 2024, 3:13pm UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/1 "2024-12-02T15:13:45Z")

</div>

Looking for tips on how to monitor thru NAM a large number of hosts (15k).

Need to generate an event for each hosts going down or up.

---

<div class="post-metadata">

**Author:** ![PedroSantos](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrosantos/32/28150_2.png) [@PedroSantos](https://community.dynatrace.com/u/PedroSantos)\
**Post date:** [December 2, 2024, 4:02pm UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/2 "2024-12-02T16:02:34Z")

</div>

Well, as far as I know you can do this one of three ways:  
&nbsp;Option 1: Add their IPs manually.

 ![PedroSantos_0-1733155026750.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/4/d42e0e2c47c2614d664aebf8ddce4f0d75f160ca.png)

I assume this isn’t a very attractive option given the number of hosts.

--

Option 2:

Use a filter expression. If all of these hosts belong to one or mroe host groups, for example, you can add it in the config:

 ![PedroSantos_1-1733155089213.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/ee5dc1ca5ac08fe7a6af16aeca350ec58a9c2e40.png)

More info on filter expressions can be found [here.](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/network-availability-monitors/create-a-nam-monitor#target-filter)

You’ll likely find something there that will serve your purpose, but if not…

---

Option 3:

Create a script that makes use of the V2 API and creates NAM en masse. On the old interface, go here:

 ![PedroSantos_2-1733155221419.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/4/d44af42782de148e64c0bdc0b5d8c774cc77e6fe.png)

And find this:

 ![PedroSantos_3-1733155248396.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/4/f44a0038f537663830bd53afd43d6ce3559b0003.png)

You’ll need a token with the right permissions of course. But you can test the API there and then create a local script (Python maybe?) to call that API repeatedly adjusting the json body of the request for all your different monitors.

---

<div class="post-metadata">

**Author:** ![hyperdev](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@hyperdev](https://community.dynatrace.com/u/hyperdev)\
**Post date:** [December 2, 2024, 4:37pm UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/3 "2024-12-02T16:37:51Z")

</div>

We just did the V2 api version.

2 Active gates

50 end points

ping cycle 5mn

Each with 700 max host per targetList

result:

10% hosts are pinged

Of the 10% cycle range from 300 seconds (Ok) to 2400 seconds (not Ok)

Method of exploring, on each active gate:

tcpdump --immediate-mode -l -i eth0 “icmp[0] == 8” | tee tcpdump/icmp\_request\_active\_gate\_X.txt

The expected flow from tcpdump should be 15000/300/2 per ActiveGate i.e. 25 lines per second.

Actual printout was sporadic.

Any idea what we did wrong ?

one json endpoint:

{  
“description”: “NON\_PRODUCTION\_0”,  
“enabled”: true,  
“entityId”: “MULTIPROTOCOL\_MONITOR-69CDF7C646DF6400”,  
“frequencyMin”: 5,  
“locations”: [  
“SYNTHETIC\_LOCATION-03A5657E489F280A”  
],  
“name”: “NON\_PRODUCTION\_0”,  
“performanceThresholds”: {  
“enabled”: true,  
“thresholds”: null  
},  
“steps”: [{  
“constraints”: [{  
“properties”: {  
“operator”: “=”,  
“value”: 100  
},  
“type”: “SUCCESS\_RATE\_PERCENT”  
}  
],  
“name”: “NON\_PRODUCTION\_0”,  
“properties”: {  
“EXECUTION\_TIMEOUT”: “PT3S”,  
“ICMP\_NUMBER\_OF\_PACKETS”: 3,  
“ICMP\_PACKET\_SIZE”: 8,  
“ICMP\_TIMEOUT\_FOR\_REPLY”: “PT2S”,  
“ICMP\_TIME\_TO\_LIVE”: 255  
},  
“requestConfigurations”: [{  
“constraints”: [{  
“properties”: {  
“operator”: “=”,  
“value”: 100  
},  
“type”: “ICMP\_SUCCESS\_RATE\_PERCENT”  
}  
]  
}  
],  
“requestType”: “ICMP”,  
“targetFilter”: null,  
“targetList”: [  
“HOST\_000”,  
…,  
“HOST\_700”  
]  
}  
],  
“syntheticMonitorOutageHandlingSettings”: {  
“globalConsecutiveOutageCountThreshold”: 1,  
“globalOutages”: true,  
“localConsecutiveOutageCountThreshold”: null,  
“localLocationOutageCountThreshold”: null,  
“localOutages”: false  
},  
“tags”: [{  
“context”: “CONTEXTLESS”,  
“key”: “TAG\_NON\_PRODUCTION”,  
“source”: “USER”,  
“value”: null  
}  
],  
“type”: “MULTI\_PROTOCOL”  
}

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [December 3, 2024, 7:31am UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/4 "2024-12-03T07:31:26Z")

</div>

Hi&nbsp;[@hyperdev](https://community.dynatrace.com/user/70464),

Have you checked the NAM limitations?

> **[Network availability monitoring in Classic](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/network-availability-monitors/network-availability-monitoring)**
>
> ICMP, TCP, and DNS synthetic monitors

If yes you should raise a support ticket.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![hyperdev](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@hyperdev](https://community.dynatrace.com/u/hyperdev)\
**Post date:** [December 3, 2024, 11:39am UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/5 "2024-12-03T11:39:47Z")

</div>

I need some explanations on the limitations:

The maximum number of network activities executed per network availability monitor is 1,000. Network activity is a single DNS request, single TCP request, or single ICMP packet.

How can&nbsp; I specify \< 1000 single icmp packet on the json example above ?

Do I need to specify one target per step and \< 1000 steps per json file ?

Thanks.

---

<div class="post-metadata">

**Author:** ![Jacek\_Janowicz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jacek_janowicz/32/38815_2.png) [@Jacek\_Janowicz](https://community.dynatrace.com/u/Jacek_Janowicz)\
**Post date:** [December 3, 2024, 12:24pm UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/6 "2024-12-03T12:24:11Z")

</div>

Hi [@hyperdev](https://community.dynatrace.com/user/70464)&nbsp;  
Thanks for raising that question.

For NAM ping tests, you could define the number of packets used during a single test execution against a single target.  
In your file, it is 3:  
“ICMP\_NUMBER\_OF\_PACKETS”: 3,  
As your target list contains 700 (to be precise, 701) targets,  
“targetList”: [  
“HOST\_000”,  
…,  
“HOST\_700”  
]  
That means sending 3 packets to each, which means 701 \*3 = 2103 packets. So, to meet the condition, we recommend breaking down the configuration into 3 NAM ICMP monitors.

However, perhaps we need to go one step further. In your initial post, you have mentioned that your goal is:

> [@hyperdev](https://community.dynatrace.com/user/70464)&nbsp;wrote:
> 
> Looking for tips on how to monitor thru NAM a large number of hosts (15k).
> 
> Need to generate an event for each hosts going down or up.

I understand it as an expectation of a separate Problem (and notification in case of failure of any of your hosts). That makes me think that creating a separate NAM monitor for each of your hosts may work better. That may require increasing the limit of NAM monitors for a single environment, but we can handle that.

As 15k hosts is a really huge number, it may require a special approach and planning. I was wondering if you’d be interested in having a call with me and the team to discuss the details of your use case. I believe that after that we’ll be able to propose the most accurate approach.

Best Regards,

Jacek

---

<div class="post-metadata">

**Author:** ![hyperdev](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@hyperdev](https://community.dynatrace.com/u/hyperdev)\
**Post date:** [December 4, 2024, 10:57am UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/7 "2024-12-04T10:57:10Z")

</div>

Would love to.

I am situated in UTC+2

---

<div class="post-metadata">

**Author:** ![Jacek\_Janowicz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jacek_janowicz/32/38815_2.png) [@Jacek\_Janowicz](https://community.dynatrace.com/u/Jacek_Janowicz)\
**Post date:** [December 6, 2024, 8:17am UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/8 "2024-12-06T08:17:30Z")

</div>

[@hyperdev](https://community.dynatrace.com/user/70464) , I have sent you an email, on the address you used when registering on our community. Letting you know, just in case it is in a spam folder or something similar 🙂  
I’ll send it again to an alternative address that I think I may try to guess. In case my message still is not in your inbox, please ask the DT folks you’re working with to contact me. Alternatively, give me the name of your CSM, and I will ask him to help organize the call for us.

Best Regards,

Jacek

---

<div class="post-metadata">

**Author:** ![danielgribinet](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@danielgribinet](https://community.dynatrace.com/u/danielgribinet)\
**Post date:** [September 17, 2026, 10:55am UTC](https://community.dynatrace.com/t/dynatrace-managed-nam-icmp-ping/49153/9 "2026-09-17T10:55:39Z")

</div>

Could you post the solution here please? I have around 5k network devices (not hosts) that needs to be monitored via ICMP.  
Thanks!
