Introducing the SPS-sub-ping gem

require 'sps-sub-ping'

sp = SPSSubPing.new host: 'sps', identifier: 't123'
sp.start

Observed:

MESSAGE: system/watchdog/ping: ping
MESSAGE: system/watchdog/pong: t123 responded

Resources