Sha256: f900037fc1484c5db539387675811c66dfa418d1340032ebefe08734029bcc79
Contents?: true
Size: 528 Bytes
Versions: 7
Compression:
Stored size: 528 Bytes
Contents
# -*- ruby -*- #encoding: utf-8 require 'arborist/monitor' require 'arborist/monitor/socket' using Arborist::TimeRefinements Arborist::Monitor 'port checks on all tcp services' do every 5.seconds match type: 'service', protocol: 'tcp' use :addresses, :port exec( Arborist::Monitor::Socket::TCP ) end Arborist::Monitor 'port checks on downed tcp services' do every 10.seconds match type: 'service', protocol: 'tcp', status: 'down' include_down true use :addresses, :port exec( Arborist::Monitor::Socket::TCP ) end
Version data entries
7 entries across 7 versions & 1 rubygems