ganymed 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/.gitignore +22 -0
  2. data/.rspec +1 -0
  3. data/.rvmrc +1 -0
  4. data/.yardopts +1 -0
  5. data/Gemfile +20 -0
  6. data/LICENSE +20 -0
  7. data/README.md +28 -0
  8. data/Rakefile +8 -0
  9. data/bin/ganymed +20 -0
  10. data/ganymed.gemspec +38 -0
  11. data/lib/ganymed/client.rb +132 -0
  12. data/lib/ganymed/collector/cpu.rb +30 -0
  13. data/lib/ganymed/collector/disk.rb +35 -0
  14. data/lib/ganymed/collector/iostat.rb +25 -0
  15. data/lib/ganymed/collector/load.rb +18 -0
  16. data/lib/ganymed/collector/metadata.rb +31 -0
  17. data/lib/ganymed/collector/network.rb +30 -0
  18. data/lib/ganymed/collector/uptime.rb +15 -0
  19. data/lib/ganymed/collector.rb +89 -0
  20. data/lib/ganymed/config.yml +49 -0
  21. data/lib/ganymed/event.rb +102 -0
  22. data/lib/ganymed/master.rb +150 -0
  23. data/lib/ganymed/mongodb.rb +39 -0
  24. data/lib/ganymed/processor.rb +93 -0
  25. data/lib/ganymed/sampler/counter.rb +32 -0
  26. data/lib/ganymed/sampler/datasource.rb +92 -0
  27. data/lib/ganymed/sampler/derive.rb +36 -0
  28. data/lib/ganymed/sampler/gauge.rb +24 -0
  29. data/lib/ganymed/sampler.rb +106 -0
  30. data/lib/ganymed/version.rb +3 -0
  31. data/lib/ganymed/websocket/authentication.rb +37 -0
  32. data/lib/ganymed/websocket/connection.rb +71 -0
  33. data/lib/ganymed/websocket/filter.rb +23 -0
  34. data/lib/ganymed/websocket/metadata.rb +21 -0
  35. data/lib/ganymed/websocket/query.rb +26 -0
  36. data/lib/ganymed/websocket/subscribe.rb +45 -0
  37. data/lib/ganymed/websocket.rb +45 -0
  38. data/lib/ganymed.rb +6 -0
  39. data/spec/sampler/counter_spec.rb +11 -0
  40. data/spec/sampler/datasource_examples.rb +49 -0
  41. data/spec/sampler/datasource_spec.rb +23 -0
  42. data/spec/sampler/derive_spec.rb +34 -0
  43. data/spec/sampler/gauge_spec.rb +35 -0
  44. data/spec/sampler_spec.rb +5 -0
  45. data/spec/spec.opts +1 -0
  46. data/spec/spec_helper.rb +10 -0
  47. data/tasks/reek.rake +5 -0
  48. data/tasks/rspec.rake +7 -0
  49. data/tasks/yard.rake +5 -0
  50. metadata +242 -0
metadata ADDED
@@ -0,0 +1,242 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ganymed
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Benedikt Böhm
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: &10633280 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *10633280
25
+ - !ruby/object:Gem::Dependency
26
+ name: eventmachine
27
+ requirement: &10629700 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 0.12.10
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *10629700
36
+ - !ruby/object:Gem::Dependency
37
+ name: madvertise-ext
38
+ requirement: &10628060 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 0.1.2
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *10628060
47
+ - !ruby/object:Gem::Dependency
48
+ name: madvertise-logging
49
+ requirement: &10626000 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.3.2
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *10626000
58
+ - !ruby/object:Gem::Dependency
59
+ name: mixlib-cli
60
+ requirement: &10642620 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *10642620
69
+ - !ruby/object:Gem::Dependency
70
+ name: servolux
71
+ requirement: &10640980 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *10640980
80
+ - !ruby/object:Gem::Dependency
81
+ name: msgpack
82
+ requirement: &10640020 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *10640020
91
+ - !ruby/object:Gem::Dependency
92
+ name: mongo
93
+ requirement: &10639220 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '1.6'
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: *10639220
102
+ - !ruby/object:Gem::Dependency
103
+ name: em-websocket
104
+ requirement: &10638060 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: *10638060
113
+ - !ruby/object:Gem::Dependency
114
+ name: yajl-ruby
115
+ requirement: &10635980 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ type: :runtime
122
+ prerelease: false
123
+ version_requirements: *10635980
124
+ - !ruby/object:Gem::Dependency
125
+ name: sys-filesystem
126
+ requirement: &10652440 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: *10652440
135
+ - !ruby/object:Gem::Dependency
136
+ name: ohai
137
+ requirement: &10650420 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: 0.6.12
143
+ type: :runtime
144
+ prerelease: false
145
+ version_requirements: *10650420
146
+ description: Ganymed is an event collection daemon
147
+ email:
148
+ - bb@xnull.de
149
+ executables:
150
+ - ganymed
151
+ extensions: []
152
+ extra_rdoc_files: []
153
+ files:
154
+ - .gitignore
155
+ - .rspec
156
+ - .rvmrc
157
+ - .yardopts
158
+ - Gemfile
159
+ - LICENSE
160
+ - README.md
161
+ - Rakefile
162
+ - bin/ganymed
163
+ - ganymed.gemspec
164
+ - lib/ganymed.rb
165
+ - lib/ganymed/client.rb
166
+ - lib/ganymed/collector.rb
167
+ - lib/ganymed/collector/cpu.rb
168
+ - lib/ganymed/collector/disk.rb
169
+ - lib/ganymed/collector/iostat.rb
170
+ - lib/ganymed/collector/load.rb
171
+ - lib/ganymed/collector/metadata.rb
172
+ - lib/ganymed/collector/network.rb
173
+ - lib/ganymed/collector/uptime.rb
174
+ - lib/ganymed/config.yml
175
+ - lib/ganymed/event.rb
176
+ - lib/ganymed/master.rb
177
+ - lib/ganymed/mongodb.rb
178
+ - lib/ganymed/processor.rb
179
+ - lib/ganymed/sampler.rb
180
+ - lib/ganymed/sampler/counter.rb
181
+ - lib/ganymed/sampler/datasource.rb
182
+ - lib/ganymed/sampler/derive.rb
183
+ - lib/ganymed/sampler/gauge.rb
184
+ - lib/ganymed/version.rb
185
+ - lib/ganymed/websocket.rb
186
+ - lib/ganymed/websocket/authentication.rb
187
+ - lib/ganymed/websocket/connection.rb
188
+ - lib/ganymed/websocket/filter.rb
189
+ - lib/ganymed/websocket/metadata.rb
190
+ - lib/ganymed/websocket/query.rb
191
+ - lib/ganymed/websocket/subscribe.rb
192
+ - spec/sampler/counter_spec.rb
193
+ - spec/sampler/datasource_examples.rb
194
+ - spec/sampler/datasource_spec.rb
195
+ - spec/sampler/derive_spec.rb
196
+ - spec/sampler/gauge_spec.rb
197
+ - spec/sampler_spec.rb
198
+ - spec/spec.opts
199
+ - spec/spec_helper.rb
200
+ - tasks/reek.rake
201
+ - tasks/rspec.rake
202
+ - tasks/yard.rake
203
+ homepage: http://github.com/zenops/ganymed
204
+ licenses: []
205
+ post_install_message:
206
+ rdoc_options: []
207
+ require_paths:
208
+ - lib
209
+ required_ruby_version: !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - ! '>='
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ segments:
216
+ - 0
217
+ hash: 3690408133288017606
218
+ required_rubygems_version: !ruby/object:Gem::Requirement
219
+ none: false
220
+ requirements:
221
+ - - ! '>='
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ segments:
225
+ - 0
226
+ hash: 3690408133288017606
227
+ requirements: []
228
+ rubyforge_project:
229
+ rubygems_version: 1.8.17
230
+ signing_key:
231
+ specification_version: 3
232
+ summary: Ganymed is an event collection daemon
233
+ test_files:
234
+ - spec/sampler/counter_spec.rb
235
+ - spec/sampler/datasource_examples.rb
236
+ - spec/sampler/datasource_spec.rb
237
+ - spec/sampler/derive_spec.rb
238
+ - spec/sampler/gauge_spec.rb
239
+ - spec/sampler_spec.rb
240
+ - spec/spec.opts
241
+ - spec/spec_helper.rb
242
+ has_rdoc: