Validator agent: retry outbound HTTPS up to 3 times, traceroute on failure

A failed HTTPS check is retried (3 attempts, 2 s apart). If all attempts
fail, the agent runs traceroute -4 -n to the target's IPv4 address in a
separate process, polls it every 5 s (90 s limit) and posts the full
output as a traceroute_result event for the address. The agent waits for
traces before reporting completion, while the floating IP is attached.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ayurishchevandClaude Opus 5.5 committed 2026-11-02 22:45:21 +03:00
1 parent 1536723196
commit 5c75ece8b1
15 files changed
+480 -25

No files matched your search

+6
View File
@@ -23,6 +23,12 @@ VALIDATOR_AGENT_POLL_INTERVAL_SECONDS=5
# Исходящие проверки.
VALIDATOR_AGENT_HTTPS_TIMEOUT_SECONDS=10
VALIDATOR_AGENT_HTTPS_ATTEMPTS=3
VALIDATOR_AGENT_HTTPS_RETRY_DELAY_SECONDS=2
VALIDATOR_AGENT_TRACEROUTE_ENABLED=true
VALIDATOR_AGENT_TRACEROUTE_TIMEOUT_SECONDS=90
VALIDATOR_AGENT_TRACEROUTE_MAX_HOPS=30
VALIDATOR_AGENT_TRACEROUTE_POLL_INTERVAL_SECONDS=5
VALIDATOR_AGENT_ICMP_TIMEOUT_SECONDS=5
VALIDATOR_AGENT_ICMP_COUNT=3
VALIDATOR_AGENT_SSH_ENABLED=false