Project

lex-ping

0.0
No release in over 3 years
Network connectivity checks for LegionIO via HTTP, TCP, and UDP
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

 Project Readme

lex-ping

Network connectivity checks for LegionIO. Verify host reachability via HTTP, TCP, and UDP pings.

Installation

gem install lex-ping

Functions

  • Http - Checks reachability via Net::Ping::HTTP (auto-prepends http:// 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 }.

Usage

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')

Requirements

  • Ruby >= 3.4
  • LegionIO framework
  • net-ping

License

MIT