22 Oct 2024 07:35 PM - last edited on 23 Oct 2024 06:55 AM by MaciejNeumann
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 :
And I can't select this new private location to create ICMP NAM monitors :
"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 ? Is there a way to enable this settings ?
Ticket support created without real progress.
Thank you.
Regards Aurélien.
Solved! Go to Solution.
23 Oct 2024 02:07 AM
Hi @AurelienGravier , 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.
23 Oct 2024 09:56 AM
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.
24 Oct 2024 09:52 AM
Hello @HannahM
Effectively the ping command seems to be not available on system. I asked to activate it, I keep you updated !
Thank you.
25 Oct 2024 03:22 PM
Hello @HannahM ,
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 :
Regards Aurélien.
25 Oct 2024 03:56 PM
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.
19 Nov 2024 06:51 PM
Hello @HannahM,
We solved the issue !
We suspect that during the service startup, the ActiveGate checks if the ping to 127.0.0.1 is functional, and if not, after 5 attempts, it assumes that pinging is not possible on this machine related logs below :
If we tested locally a ping to 127.0.0.1 on the AG, the packets were 100% lost.
However, if we tested a ping to a remote server 10.164.0.100, the packets were 100% successful.
SElinux was not enabled, and there was no local firewall but it appears that not all EC2 instances allow pinging 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 :
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" :
And ICMP appears as a monitor type :
Regards Aurélien.
Thank you for your help.
21 Nov 2024 01:37 PM
That's really interesting. Thanks for the update Aurélien.
23 Oct 2024 01:19 PM
Hello @AurelienGravier
Can you validate the current setup against the below attached items:
(1)
(2)
Check The AG custom.properties file on Both AGs.
Hoping it adds value,
BR,
Peter.