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 :
Ligne 8: 2024-10-16T18:02:01,599Z INFO [monitoring-modules-4] MultiProtocolRequestExecutorsFactory: Known executors:[icmp, tcp, dns], enabled executors: [icmp, dns, tcp] 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’, 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 DiagnosticCaseWithRetry: Attempt 5 of 5 failed, re-running diagnostic case…
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.