ace-eye 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +38 -0
- data/.rspec +2 -0
- data/.travis.yml +6 -0
- data/CHANGES.md +77 -0
- data/Gemfile +6 -0
- data/LICENSE +22 -0
- data/README.md +212 -0
- data/Rakefile +35 -0
- data/bin/eye +5 -0
- data/bin/loader_eye +72 -0
- data/bin/runner +16 -0
- data/examples/dependency.eye +17 -0
- data/examples/notify.eye +19 -0
- data/examples/plugin/README.md +15 -0
- data/examples/plugin/main.eye +15 -0
- data/examples/plugin/plugin.rb +63 -0
- data/examples/process_thin.rb +29 -0
- data/examples/processes/em.rb +57 -0
- data/examples/processes/forking.rb +20 -0
- data/examples/processes/sample.rb +144 -0
- data/examples/processes/thin.ru +12 -0
- data/examples/puma.eye +29 -0
- data/examples/rbenv.eye +11 -0
- data/examples/sidekiq.eye +23 -0
- data/examples/test.eye +87 -0
- data/examples/thin-farm.eye +30 -0
- data/examples/unicorn.eye +39 -0
- data/eye.gemspec +40 -0
- data/lib/eye.rb +28 -0
- data/lib/eye/application.rb +73 -0
- data/lib/eye/checker.rb +258 -0
- data/lib/eye/checker/children_count.rb +44 -0
- data/lib/eye/checker/children_memory.rb +12 -0
- data/lib/eye/checker/cpu.rb +17 -0
- data/lib/eye/checker/cputime.rb +13 -0
- data/lib/eye/checker/file_ctime.rb +24 -0
- data/lib/eye/checker/file_size.rb +34 -0
- data/lib/eye/checker/file_touched.rb +15 -0
- data/lib/eye/checker/http.rb +96 -0
- data/lib/eye/checker/memory.rb +17 -0
- data/lib/eye/checker/nop.rb +6 -0
- data/lib/eye/checker/runtime.rb +18 -0
- data/lib/eye/checker/socket.rb +159 -0
- data/lib/eye/child_process.rb +101 -0
- data/lib/eye/cli.rb +185 -0
- data/lib/eye/cli/commands.rb +78 -0
- data/lib/eye/cli/render.rb +130 -0
- data/lib/eye/cli/server.rb +93 -0
- data/lib/eye/client.rb +32 -0
- data/lib/eye/config.rb +91 -0
- data/lib/eye/control.rb +2 -0
- data/lib/eye/controller.rb +54 -0
- data/lib/eye/controller/commands.rb +88 -0
- data/lib/eye/controller/helpers.rb +101 -0
- data/lib/eye/controller/load.rb +224 -0
- data/lib/eye/controller/options.rb +18 -0
- data/lib/eye/controller/send_command.rb +177 -0
- data/lib/eye/controller/status.rb +72 -0
- data/lib/eye/dsl.rb +53 -0
- data/lib/eye/dsl/application_opts.rb +39 -0
- data/lib/eye/dsl/chain.rb +12 -0
- data/lib/eye/dsl/child_process_opts.rb +13 -0
- data/lib/eye/dsl/config_opts.rb +55 -0
- data/lib/eye/dsl/group_opts.rb +32 -0
- data/lib/eye/dsl/helpers.rb +20 -0
- data/lib/eye/dsl/main.rb +51 -0
- data/lib/eye/dsl/opts.rb +151 -0
- data/lib/eye/dsl/process_opts.rb +36 -0
- data/lib/eye/dsl/pure_opts.rb +121 -0
- data/lib/eye/dsl/validation.rb +88 -0
- data/lib/eye/group.rb +140 -0
- data/lib/eye/group/chain.rb +81 -0
- data/lib/eye/loader.rb +10 -0
- data/lib/eye/local.rb +100 -0
- data/lib/eye/logger.rb +104 -0
- data/lib/eye/notify.rb +118 -0
- data/lib/eye/notify/jabber.rb +30 -0
- data/lib/eye/notify/mail.rb +48 -0
- data/lib/eye/process.rb +85 -0
- data/lib/eye/process/children.rb +60 -0
- data/lib/eye/process/commands.rb +280 -0
- data/lib/eye/process/config.rb +81 -0
- data/lib/eye/process/controller.rb +73 -0
- data/lib/eye/process/data.rb +78 -0
- data/lib/eye/process/monitor.rb +108 -0
- data/lib/eye/process/notify.rb +32 -0
- data/lib/eye/process/scheduler.rb +82 -0
- data/lib/eye/process/states.rb +86 -0
- data/lib/eye/process/states_history.rb +66 -0
- data/lib/eye/process/system.rb +97 -0
- data/lib/eye/process/trigger.rb +34 -0
- data/lib/eye/process/validate.rb +33 -0
- data/lib/eye/process/watchers.rb +66 -0
- data/lib/eye/reason.rb +20 -0
- data/lib/eye/server.rb +60 -0
- data/lib/eye/sigar.rb +5 -0
- data/lib/eye/system.rb +139 -0
- data/lib/eye/system_resources.rb +99 -0
- data/lib/eye/trigger.rb +136 -0
- data/lib/eye/trigger/check_dependency.rb +30 -0
- data/lib/eye/trigger/flapping.rb +41 -0
- data/lib/eye/trigger/stop_children.rb +17 -0
- data/lib/eye/trigger/transition.rb +15 -0
- data/lib/eye/trigger/wait_dependency.rb +49 -0
- data/lib/eye/utils.rb +45 -0
- data/lib/eye/utils/alive_array.rb +57 -0
- data/lib/eye/utils/celluloid_chain.rb +71 -0
- data/lib/eye/utils/celluloid_klass.rb +5 -0
- data/lib/eye/utils/leak_19.rb +10 -0
- data/lib/eye/utils/mini_active_support.rb +111 -0
- data/lib/eye/utils/pmap.rb +7 -0
- data/lib/eye/utils/tail.rb +20 -0
- metadata +398 -0
@@ -0,0 +1,111 @@
|
|
1
|
+
require 'time'
|
2
|
+
|
3
|
+
def silence_warnings
|
4
|
+
old_verbose, $VERBOSE = $VERBOSE, nil
|
5
|
+
yield
|
6
|
+
ensure
|
7
|
+
$VERBOSE = old_verbose
|
8
|
+
end
|
9
|
+
|
10
|
+
class Object
|
11
|
+
def blank?
|
12
|
+
respond_to?(:empty?) ? empty? : !self
|
13
|
+
end
|
14
|
+
|
15
|
+
def present?
|
16
|
+
!blank?
|
17
|
+
end
|
18
|
+
|
19
|
+
def try(m, *args)
|
20
|
+
send(m, *args) if respond_to?(m)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
class NilClass
|
25
|
+
def try(*args)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
class String
|
30
|
+
def underscore
|
31
|
+
word = self.dup
|
32
|
+
word.gsub!('::', '/')
|
33
|
+
word.gsub!(/(?:([A-Za-z\d])|^)((?=a)b)(?=\b|[^a-z])/) { "#{$1}#{$1 && '_'}#{$2.downcase}" }
|
34
|
+
word.gsub!(/([A-Z\d]+)([A-Z][a-z])/,'\1_\2')
|
35
|
+
word.gsub!(/([a-z\d])([A-Z])/,'\1_\2')
|
36
|
+
word.tr!("-", "_")
|
37
|
+
word.downcase!
|
38
|
+
word
|
39
|
+
end
|
40
|
+
|
41
|
+
def truncate(l)
|
42
|
+
self[0..l]
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
class Array
|
47
|
+
def extract_options!
|
48
|
+
self[-1].is_a?(Hash) ? self.pop : {}
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
class Numeric
|
53
|
+
def percents
|
54
|
+
self
|
55
|
+
end
|
56
|
+
alias :percent :percents
|
57
|
+
|
58
|
+
def seconds
|
59
|
+
self
|
60
|
+
end
|
61
|
+
alias :second :seconds
|
62
|
+
|
63
|
+
def minutes
|
64
|
+
self * 60
|
65
|
+
end
|
66
|
+
alias :minute :minutes
|
67
|
+
|
68
|
+
def hours
|
69
|
+
self * 3600
|
70
|
+
end
|
71
|
+
alias :hour :hours
|
72
|
+
|
73
|
+
def days
|
74
|
+
self * 86400
|
75
|
+
end
|
76
|
+
alias :day :days
|
77
|
+
|
78
|
+
def weeks
|
79
|
+
self * 86400 * 7
|
80
|
+
end
|
81
|
+
alias :week :weeks
|
82
|
+
|
83
|
+
def ago
|
84
|
+
::Time.now - self
|
85
|
+
end
|
86
|
+
|
87
|
+
def bytes
|
88
|
+
self
|
89
|
+
end
|
90
|
+
alias :byte :bytes
|
91
|
+
|
92
|
+
def kilobytes
|
93
|
+
self * 1024
|
94
|
+
end
|
95
|
+
alias :kilobyte :kilobytes
|
96
|
+
|
97
|
+
def megabytes
|
98
|
+
self * 1024 * 1024
|
99
|
+
end
|
100
|
+
alias :megabyte :megabytes
|
101
|
+
|
102
|
+
def gigabytes
|
103
|
+
self * 1024 * 1024 * 1024
|
104
|
+
end
|
105
|
+
alias :gigabyte :gigabytes
|
106
|
+
|
107
|
+
def terabytes
|
108
|
+
self * 1024 * 1024 * 1024 * 1024
|
109
|
+
end
|
110
|
+
alias :terabyte :terabytes
|
111
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class Eye::Utils::Tail < Array
|
2
|
+
|
3
|
+
# limited array
|
4
|
+
|
5
|
+
def initialize(max_size = 100)
|
6
|
+
@max_size = max_size
|
7
|
+
super()
|
8
|
+
end
|
9
|
+
|
10
|
+
def push(el)
|
11
|
+
super(el)
|
12
|
+
shift if length > @max_size
|
13
|
+
self
|
14
|
+
end
|
15
|
+
|
16
|
+
def << (el)
|
17
|
+
push(el)
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,398 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ace-eye
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Konstantin Makarchev
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: celluloid
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.15.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.15.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: celluloid-io
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.15.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.15.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: state_machine
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: thor
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sigar
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.7.2
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.7.2
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "<"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.14'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "<"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.14'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rr
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: ruby-graphviz
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: forking
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: fakeweb
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: eventmachine
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.0.3
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 1.0.3
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: sinatra
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: thin
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: xmpp4r
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: coveralls
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: simplecov
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: 0.8.1
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: 0.8.1
|
251
|
+
description: FORK FOR TESTING. Process monitoring tool. Inspired from Bluepill and
|
252
|
+
God. Requires Ruby(MRI) >= 1.9.3-p194. Uses Celluloid and Celluloid::IO.
|
253
|
+
email: eye-rb@googlegroups.com
|
254
|
+
executables:
|
255
|
+
- eye
|
256
|
+
- loader_eye
|
257
|
+
- runner
|
258
|
+
extensions: []
|
259
|
+
extra_rdoc_files: []
|
260
|
+
files:
|
261
|
+
- ".gitignore"
|
262
|
+
- ".rspec"
|
263
|
+
- ".travis.yml"
|
264
|
+
- CHANGES.md
|
265
|
+
- Gemfile
|
266
|
+
- LICENSE
|
267
|
+
- README.md
|
268
|
+
- Rakefile
|
269
|
+
- bin/eye
|
270
|
+
- bin/loader_eye
|
271
|
+
- bin/runner
|
272
|
+
- examples/dependency.eye
|
273
|
+
- examples/notify.eye
|
274
|
+
- examples/plugin/README.md
|
275
|
+
- examples/plugin/main.eye
|
276
|
+
- examples/plugin/plugin.rb
|
277
|
+
- examples/process_thin.rb
|
278
|
+
- examples/processes/em.rb
|
279
|
+
- examples/processes/forking.rb
|
280
|
+
- examples/processes/sample.rb
|
281
|
+
- examples/processes/thin.ru
|
282
|
+
- examples/puma.eye
|
283
|
+
- examples/rbenv.eye
|
284
|
+
- examples/sidekiq.eye
|
285
|
+
- examples/test.eye
|
286
|
+
- examples/thin-farm.eye
|
287
|
+
- examples/unicorn.eye
|
288
|
+
- eye.gemspec
|
289
|
+
- lib/eye.rb
|
290
|
+
- lib/eye/application.rb
|
291
|
+
- lib/eye/checker.rb
|
292
|
+
- lib/eye/checker/children_count.rb
|
293
|
+
- lib/eye/checker/children_memory.rb
|
294
|
+
- lib/eye/checker/cpu.rb
|
295
|
+
- lib/eye/checker/cputime.rb
|
296
|
+
- lib/eye/checker/file_ctime.rb
|
297
|
+
- lib/eye/checker/file_size.rb
|
298
|
+
- lib/eye/checker/file_touched.rb
|
299
|
+
- lib/eye/checker/http.rb
|
300
|
+
- lib/eye/checker/memory.rb
|
301
|
+
- lib/eye/checker/nop.rb
|
302
|
+
- lib/eye/checker/runtime.rb
|
303
|
+
- lib/eye/checker/socket.rb
|
304
|
+
- lib/eye/child_process.rb
|
305
|
+
- lib/eye/cli.rb
|
306
|
+
- lib/eye/cli/commands.rb
|
307
|
+
- lib/eye/cli/render.rb
|
308
|
+
- lib/eye/cli/server.rb
|
309
|
+
- lib/eye/client.rb
|
310
|
+
- lib/eye/config.rb
|
311
|
+
- lib/eye/control.rb
|
312
|
+
- lib/eye/controller.rb
|
313
|
+
- lib/eye/controller/commands.rb
|
314
|
+
- lib/eye/controller/helpers.rb
|
315
|
+
- lib/eye/controller/load.rb
|
316
|
+
- lib/eye/controller/options.rb
|
317
|
+
- lib/eye/controller/send_command.rb
|
318
|
+
- lib/eye/controller/status.rb
|
319
|
+
- lib/eye/dsl.rb
|
320
|
+
- lib/eye/dsl/application_opts.rb
|
321
|
+
- lib/eye/dsl/chain.rb
|
322
|
+
- lib/eye/dsl/child_process_opts.rb
|
323
|
+
- lib/eye/dsl/config_opts.rb
|
324
|
+
- lib/eye/dsl/group_opts.rb
|
325
|
+
- lib/eye/dsl/helpers.rb
|
326
|
+
- lib/eye/dsl/main.rb
|
327
|
+
- lib/eye/dsl/opts.rb
|
328
|
+
- lib/eye/dsl/process_opts.rb
|
329
|
+
- lib/eye/dsl/pure_opts.rb
|
330
|
+
- lib/eye/dsl/validation.rb
|
331
|
+
- lib/eye/group.rb
|
332
|
+
- lib/eye/group/chain.rb
|
333
|
+
- lib/eye/loader.rb
|
334
|
+
- lib/eye/local.rb
|
335
|
+
- lib/eye/logger.rb
|
336
|
+
- lib/eye/notify.rb
|
337
|
+
- lib/eye/notify/jabber.rb
|
338
|
+
- lib/eye/notify/mail.rb
|
339
|
+
- lib/eye/process.rb
|
340
|
+
- lib/eye/process/children.rb
|
341
|
+
- lib/eye/process/commands.rb
|
342
|
+
- lib/eye/process/config.rb
|
343
|
+
- lib/eye/process/controller.rb
|
344
|
+
- lib/eye/process/data.rb
|
345
|
+
- lib/eye/process/monitor.rb
|
346
|
+
- lib/eye/process/notify.rb
|
347
|
+
- lib/eye/process/scheduler.rb
|
348
|
+
- lib/eye/process/states.rb
|
349
|
+
- lib/eye/process/states_history.rb
|
350
|
+
- lib/eye/process/system.rb
|
351
|
+
- lib/eye/process/trigger.rb
|
352
|
+
- lib/eye/process/validate.rb
|
353
|
+
- lib/eye/process/watchers.rb
|
354
|
+
- lib/eye/reason.rb
|
355
|
+
- lib/eye/server.rb
|
356
|
+
- lib/eye/sigar.rb
|
357
|
+
- lib/eye/system.rb
|
358
|
+
- lib/eye/system_resources.rb
|
359
|
+
- lib/eye/trigger.rb
|
360
|
+
- lib/eye/trigger/check_dependency.rb
|
361
|
+
- lib/eye/trigger/flapping.rb
|
362
|
+
- lib/eye/trigger/stop_children.rb
|
363
|
+
- lib/eye/trigger/transition.rb
|
364
|
+
- lib/eye/trigger/wait_dependency.rb
|
365
|
+
- lib/eye/utils.rb
|
366
|
+
- lib/eye/utils/alive_array.rb
|
367
|
+
- lib/eye/utils/celluloid_chain.rb
|
368
|
+
- lib/eye/utils/celluloid_klass.rb
|
369
|
+
- lib/eye/utils/leak_19.rb
|
370
|
+
- lib/eye/utils/mini_active_support.rb
|
371
|
+
- lib/eye/utils/pmap.rb
|
372
|
+
- lib/eye/utils/tail.rb
|
373
|
+
homepage: http://github.com/kostya/eye
|
374
|
+
licenses:
|
375
|
+
- MIT
|
376
|
+
metadata: {}
|
377
|
+
post_install_message:
|
378
|
+
rdoc_options: []
|
379
|
+
require_paths:
|
380
|
+
- lib
|
381
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
382
|
+
requirements:
|
383
|
+
- - ">="
|
384
|
+
- !ruby/object:Gem::Version
|
385
|
+
version: 1.9.2
|
386
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - ">="
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: 1.3.6
|
391
|
+
requirements: []
|
392
|
+
rubyforge_project:
|
393
|
+
rubygems_version: 2.2.2
|
394
|
+
signing_key:
|
395
|
+
specification_version: 4
|
396
|
+
summary: FORK FOR TESTING. Process monitoring tool. Inspired from Bluepill and God.
|
397
|
+
Requires Ruby(MRI) >= 1.9.3-p194. Uses Celluloid and Celluloid::IO.
|
398
|
+
test_files: []
|