monitoring: ICMP probe of the WAN link from the physical interface #415
No reviewers
Labels
No labels
audit-work
bug
docs
general-admin
major-upgrade
needs-vps-sync
new-service
on-hold
outside-work
post-podman
renovate
upstream
vps
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mysticalsoap/docker!415
Loading…
Reference in a new issue
No description provided.
Delete branch "monitoring/wan-icmp-probe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Host NIC counters (#412) say how much went through enp5s0; nothing said whether the raw uplink was healthy at the time. Every tunnel-loss investigation lacked that baseline (#413).
Fix
blackbox
icmp_wanmodule pinging1.1.1.1and9.9.9.9every 15 s via ablackbox-icmp-wanjob, labelledcategory: network. No capability added: Docker's defaultping_group_rangelets the prober use unprivileged ping sockets undercap_drop: ALL. Anetworkalert group withWanPacketLoss(delivery rate over 10 m below 90%) andWanLatencyHigh(RTT over 100 ms for 10 m);BlackboxProbeFailedexcludes the job so an ISP outage doesn't page as a monitoring fault. Monitoring.md § WAN probe documents the aqomui dependency: the probe measures the physical link only through the172.18.7.0/24 icmpnetwork bypass entry (aqomui#226).Second commit: CONTRIBUTING's stale-inode note now covers files a merge pull changed, not only ones a branch added. Hit on prometheus.yml during this work.
Verification
Live on this branch (
just recreate prometheus, blackbox reloaded):upin Prometheus,probe_icmp_duration_seconds{phase="rtt"}~12 ms, matchingping -I enp5s0 1.1.1.1from the host.promtool check rules: 45 rules;networkgroup lists both new rules.iptables-legacy -t mangle -L aqomui_bypass_net -v -nshows the icmp rule's packet counter climbing (9, 95, 99 across three reads) alongside the udp 51820 rule. RTT alone can't prove it any more: with the shaper (#414) up, tunnel and raw RTT both sit near 12 ms.Closes #413
🤖 Generated with Claude Code