# New private location not available to create ICMP NAM Monitors

**URL:** <https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476>\
**Category:** Synthetic Monitoring\
**Tags:** activegate, nam, synthetic-monitoring, private-synthetic-locations\
**Created:** [October 22, 2024, 6:35pm UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476 "2024-10-22T18:35:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [October 22, 2024, 6:35pm UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/1 "2024-10-22T18:35:12Z")

</div>

Hello,

I deployed 2 Linux active gates on a private location throught ansible.  
The 2 AG was added to a new private location but the Network Availability (ICMP) is missing in monitor Types :

 ![AurelienGravier_0-1729621444076.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/a/aa3766c3c5de08faba07f6b79234937e61593b29.png)

And I can’t select this new private location to create ICMP NAM monitors :

 ![AurelienGravier_1-1729621647023.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/0/c06c5fe90c2a915c82c18625baf2d95323149d53.png)

“Not supported” exception with the following message : “Currently the location is not configured to execute this type of monitor.”

On AG logs diagnostic results the icmp is clearly not enabled :

“diagnosticResults”:{“httpScript”:{“operational”:true,“cases”:{“httpScript”:{“available”:true}}},“browser”:{“operational”:true,“cases”:{“browser\_main”:{“available”:true},“browser\_fallback”:{“available”:true}}},“http”:{“operational”:true,“cases”:{}},“multi-protocol”:{“operational”:true,“cases”:{“tcp”:{“available”:true},“dns”:{“available”:true}, **“icmp”:{“available”:false}** }}}}.

Did you experiment the same behaviour in version Dynatrace-ActiveGate-Linux-x86-1.299.33.sh&nbsp;? Is there a way to enable this settings ?

Ticket support created without real progress.

Thank you.

Regards Aurélien.

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [October 23, 2024, 1:07am UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/2 "2024-10-23T01:07:00Z")

</div>

Hi&nbsp;[@AurelienGravier](https://community.dynatrace.com/user/44995)&nbsp;, that’s bit odd, I am using a similar version of AG to run NAM monitors but don’t see any issues . There is some additional config needed to run ICMP tests if you are on k8s , but not for a linux server that I am aware of.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [October 23, 2024, 8:56am UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/3 "2024-10-23T08:56:48Z")

</div>

Can you try executing a ping on the machine itself? If the machine doesn’t have this enabled/ allowed then the ActiveGate will not enable it.

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [October 23, 2024, 12:19pm UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/4 "2024-10-23T12:19:29Z")

</div>

Hello&nbsp;[@AurelienGravier](https://community.dynatrace.com/user/44995)

Can you validate the current setup against the below attached items:

(1)

 ![2024-10-23_16h09_50.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b8f32c328ff482a247a73447e0e2a978e1479196.png)

(2)

- [create-a-nam-monitor](https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/network-availability-monitors/create-a-nam-monitor)
- [synth\_mod](http://synth_mod)
- [create-a-nam-monitor#script-properties](https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/network-availability-monitors/create-a-nam-monitor#script-properties)
- [nam-workaround](https://docs.dynatrace.com/docs/manage/configuration-as-code/monaco/guides/nam-workaround)

Check The AG custom.properties file on Both AGs.

Hoping it adds value,

BR,

Peter.

---

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [October 24, 2024, 8:52am UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/5 "2024-10-24T08:52:50Z")

</div>

Hello&nbsp;[@HannahM](https://community.dynatrace.com/user/1433)

Effectively the ping command seems to be not available on system. I asked to activate it, I keep you updated !

Thank you.

---

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [October 25, 2024, 2:22pm UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/6 "2024-10-25T14:22:23Z")

</div>

Hello [@HannahM](https://community.dynatrace.com/user/1433)&nbsp;,

We deployed “iputils” on AG systems, ping command works locally.  
We restarted the dynatracegateway service unfortunately we can’t select the private location to host ICMP Nams :

 ![AurelienGravier_1-1729866131496.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/5/c599c793c0961667b2fabe5a15bd34d7a8e6f9c5.png)

Regards Aurélien.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [October 25, 2024, 2:56pm UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/7 "2024-10-25T14:56:18Z")

</div>

Thanks Aurelien. Can you also restart the vuc service, if you haven’t already?  
If it’s still not showing, can you check the vuc-status.log and vuc-multi.log for diagnostics messages relating ICMP? If there’s nothing obvious please create a support ticket and provide the support archive.

---

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [November 19, 2024, 6:51pm UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/8 "2024-11-19T18:51:19Z")

</div>

Hello&nbsp;[@HannahM](https://community.dynatrace.com/user/1433),

We solved the issue !

We suspect that during the service startup, the ActiveGate checks if the ping to&nbsp;127.0.0.1&nbsp;is functional, and if not, after 5 attempts, it assumes that pinging is not possible on this machine related logs below :

_Ligne 8: 2024-10-16T18:02:01,599Z INFO [monitoring-modules-4] MultiProtocolRequestExecutorsFactory: Known executors:[icmp, tcp, dns], enabled executors: [icmp, dns, tcp]_&nbsp;_Ligne 27: 2024-10-16T18:02:04,101Z INFO [v=51] [MP-ModuleDiagnosticsService-1] DiagnosticCaseWithRetry: Starting diagnostic, attempt 1 of 5 (icmp)__Ligne 43: 2024-10-16T18:02:06,762Z INFO [v=52] [MP-ModuleDiagnosticsService-1] DiagnosticCaseWithRetry: Starting diagnostic, attempt 2 of 5 (icmp)__Ligne 59: 2024-10-16T18:02:08,750Z INFO [v=53] [MP-ModuleDiagnosticsService-1] DiagnosticCaseWithRetry: Starting diagnostic, attempt 3 of 5 (icmp)__Ligne 71: 2024-10-16T18:02:10,760Z INFO [v=54] [MP-ModuleDiagnosticsService-1] DiagnosticCaseWithRetry: Starting diagnostic, attempt 4 of 5 (icmp)__Ligne 87: 2024-10-16T18:02:12,754Z INFO [v=55] [MP-ModuleDiagnosticsService-1] DiagnosticCaseWithRetry: Starting diagnostic, attempt 5 of 5 (icmp)__Ligne 102: 2024-10-16T18:02:14,771Z ERROR [v=55] [MP-ModuleDiagnosticsService-1]__Ligne 101: 2024-10-16T18:02:14,771Z ERROR [v=55] [MP-ModuleDiagnosticsService-1] DiagnosticCaseWithRetry: Received invalid report of diagnostic test TestCompletionResult{visit=MultiProtocolVisit[visitId: 55, testDefinitionId: 1, externalTestDefinitionId: 1, tenant: VucDiagnosticsTestTenant, bf: BeaconForwarder{endpoint=‘[http://127.0.0.1:7878/multiprotocol/diagnostic](http://127.0.0.1:7878/multiprotocol/diagnostic)’, tenant=‘VucDiagnosticsTestTenant’, isSaaS=true}], executionResult=com.ruxit.vuc.monitoring.multiprotocol.results.MultiProtocolExecutionResult@27dd3394, beaconStats=BeaconStats{successNumber=5, failNumber=0, nonResponseNumber=0, endVisitSent=true}, testCompleted=null, testReceived=null, testStarted=null, createTime=2024-10-16T18:02:14.77&nbsp;DiagnosticCaseWithRetry: Attempt 5 of 5 failed, re-running diagnostic case…_

If we tested locally a ping to&nbsp;127.0.0.1&nbsp;on the AG, the packets were 100% lost.  
However, if we tested a ping to a remote server&nbsp;10.164.0.100, the packets were 100% successful.

SElinux was not enabled, and there was no local firewall&nbsp;but it appears that not all EC2 instances allow pinging&nbsp;127.0.0.1.

In fact the following parameter in the /etc/sysctl.conf file prevents responding to ping requests directed at 127.0.0.1&nbsp;:

_net.ipv4.icmp\_echo\_ignore\_all = 1_

And This means the instance will not respond to any ping requests, including those directed at 127.0.0.1

After editing the configuration ping 127.0.0.1 locally is allowed :

sudo nano /etc/sysctl.conf

**net.ipv4.icmp\_echo\_ignore\_all = 0**  
sudo sysctl -p

And after the **restarting of vuc.service** the “not supported” message disappears during nam creation at step “Frequency and locations” :

 ![AurelienGravier_1-1732042142172.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/3/a34b22c30686212ac5dabc3ccbc3942ab785bfd6.png)

And ICMP appears as a monitor type :

 ![AurelienGravier_0-1732042027284.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/cefabebe5fb46a821754879245235ad9243bcf60.png)

Regards Aurélien.  
Thank you for your help.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [November 21, 2024, 1:37pm UTC](https://community.dynatrace.com/t/new-private-location-not-available-to-create-icmp-nam-monitors/48476/9 "2024-11-21T13:37:34Z")

</div>

That’s really interesting. Thanks for the update Aurélien.
