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
merge into: LotusGuild:main
LotusGuild:main
LotusGuild:pr-73-screenshots
LotusGuild:inbound-flood-alert
LotusGuild:pr-64-screenshots
LotusGuild:pr-63-screenshots
LotusGuild:kuma-token
LotusGuild:modem-restart
LotusGuild:modem-extras-screenshots
LotusGuild:modem-extras
LotusGuild:modem-login-screenshots
LotusGuild:modem-login
LotusGuild:pr-47-screenshots
LotusGuild:polish
LotusGuild:pr-46-screenshots
LotusGuild:wan-health
LotusGuild:pr-45-screenshots
LotusGuild:attention-list
LotusGuild:port-name-report
LotusGuild:pr-44-screenshots
LotusGuild:readme-power-polish
LotusGuild:pr-42-screenshots
LotusGuild:stale-outlet-watts
LotusGuild:pr-41-screenshots
LotusGuild:topology-polish
LotusGuild:pr-40-screenshots
LotusGuild:power-map
LotusGuild:pr-39-screenshots
LotusGuild:topology
LotusGuild:pr-37-screenshots
LotusGuild:stale-alerts
LotusGuild:pr-36-screenshots
LotusGuild:wan-incidents
LotusGuild:pr-35-screenshots
LotusGuild:unused-interfaces
LotusGuild:pr-32-screenshots
LotusGuild:loose-gear-on-top
LotusGuild:tinker-create-action
LotusGuild:revert-31
LotusGuild:stale-interface-alerts
LotusGuild:zimaboard-and-facing
LotusGuild:pr-30-screenshots
LotusGuild:pr-29-screenshots
LotusGuild:pro-max-faceplates
LotusGuild:rack-unlinked-port-clicks
LotusGuild:pr-27-screenshots
LotusGuild:rack-drawn-fronts
LotusGuild:rack-panel-label
LotusGuild:pr-25-screenshots
LotusGuild:rack-rear-and-settings
LotusGuild:pr-24-screenshots
LotusGuild:racks-shelves-export
LotusGuild:pr-23-screenshots
LotusGuild:rack-view
LotusGuild:pr-22-screenshots
LotusGuild:inventory-and-faceplate-marks
LotusGuild:pr-21-screenshots
LotusGuild:events-history
LotusGuild:ticket-recovery-and-context
LotusGuild:pr-18-screenshots
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
#66 item 7: network is Gandalf's to ticket, so hwmonDaemon's "Management network is unreachable" and "Ceph network is unreachable" checks move here.
How it works
monitor.reachability3 times, 0.2 s apart. That's about 0.4 s per gateway, with no extra SSH session.[a-z0-9_-]and addresses must be IPv4. Anything else is ignored with a warning, so nothing unvalidated reaches the remote shell.network_unreachable(target the host, detail the network).failure_thresholdchecks in a row. hwmonDaemon sent one ping and ticketed on a single miss.host:<host>:ceph_net_unreachableorhost:<host>:mgmt_net_unreachable. These are hwmonDaemon's own keys, so its open tickets carry on rather than being duplicated.cluster:<network>_net:unreachable), since the switch, VLAN or router is the likely cause. This avoids the one-ticket-per-host flood the Thor contract was written to stop.link_stats.reachability.Checked
-i 0.2.After merge
monitor.reachability(above) to prod'sconfig.jsonand restart the monitor. Without it, nothing changes.NETWORK_ENABLED=falsein/etc/hwmonDaemon/.envon each host (hwmonDaemon#42's switch), so the check has only one owner.🤖 Generated with Claude Code
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]>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.