Network connectivity checks for LegionIO. Verify host reachability via HTTP, TCP, and UDP pings.
gem install lex-ping- Http - Checks reachability via
Net::Ping::HTTP(auto-prependshttp://to bare hostnames) - Tcp - TCP ping (checks port connectivity via
Net::Ping::TCP) - Udp - UDP ping (checks UDP reachability via
Net::Ping::UDP)
All runners accept host: and return { host:, result:, success: true/false }.
Legion::Ingress.run('lex_ping.http.ping', host: 'myservice.internal')
Legion::Ingress.run('lex_ping.tcp.ping', host: 'myservice.internal')
Legion::Ingress.run('lex_ping.udp.ping', host: 'myservice.internal')- Ruby >= 3.4
- LegionIO framework
net-ping
MIT