Gateway reachability from each host, taken over from hwmonDaemon (#66 item 7) #79

Open
jared wants to merge 1 commits from gateway-reachability into main
pull from: gateway-reachability
1 Commits
Author SHA1 Message Date
jaredandClaude Opus 5.5 c9919017dc Gateway reachability from each host, taken over from hwmonDaemon (#66 item 7)
CI / Lint (JS) (pull_request) Successful in 14s
CI / Lint (Python) (pull_request) Successful in 41s
CI / Test (pull_request) Successful in 1m8s
CI / Security (pull_request) Successful in 42s
CI / Scan (pull_request) Successful in 21s
CI / Deploy (pull_request) Skipped
CI / Notify (pull_request) Skipped
The SSH session Gandalf already opens on each host through Pulse (for
ethtool) now also pings each gateway in monitor.reachability 3 times,
0.2 s apart, e.g. {"management": "10.10.10.1", "ceph": "10.10.90.1"}.

- All 3 lost raises network_unreachable (host, network); partial loss
  doesn't, and a host whose SSH collection failed neither alerts nor
  clears. A P2 ticket after failure_threshold checks in a row, where
  hwmonDaemon pinged once and ticketed on a single miss.
- One host: hwmonDaemon's own keys (host:<host>:ceph_net_unreachable,
  host:<host>:mgmt_net_unreachable), so its open tickets carry on.
- Several hosts losing the same network in one check share one
  cluster-wide ticket (cluster:<network>_net:unreachable): the switch,
  VLAN or router is the likely cause, not each host.
- Results are kept in link_stats.reachability.

Checked from all six hosts: both gateways answer, and the output parses.
hwmonDaemon's NETWORK_ENABLED switch turns its version off once this is
live with monitor.reachability set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 03:44:39 -05:00