Sha256: 95708e7a5df425d43376058813a503075c79abad94938182b0abfd07ac6c7c18

Contents?: true

Size: 308 Bytes

Versions: 5

Compression:

Stored size: 308 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arborist-0.6.0 spec/data/monitors/port_checks.rb
arborist-0.5.0 spec/data/monitors/port_checks.rb
arborist-0.4.0 spec/data/monitors/port_checks.rb
arborist-0.3.0 spec/data/monitors/port_checks.rb
arborist-0.2.0 spec/data/monitors/port_checks.rb