riemann-tools 0.2.13 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +5 -5
  2. data/.docker/Dockerfile +7 -0
  3. data/.docker/publish.sh +35 -0
  4. data/.github/dependabot.yml +11 -0
  5. data/.github/workflows/ci.yml +42 -0
  6. data/.github/workflows/codeql-analysis.yml +72 -0
  7. data/.gitignore +6 -0
  8. data/.rspec +2 -0
  9. data/.rubocop.yml +32 -0
  10. data/.travis.yml +31 -0
  11. data/CHANGELOG.md +422 -0
  12. data/Gemfile +6 -0
  13. data/ISSUE_TEMPLATE.md +15 -0
  14. data/README.markdown +14 -15
  15. data/Rakefile +23 -0
  16. data/SECURITY.md +42 -0
  17. data/bin/riemann-apache-status +92 -77
  18. data/bin/riemann-bench +54 -48
  19. data/bin/riemann-cloudant +44 -39
  20. data/bin/riemann-consul +82 -75
  21. data/bin/riemann-dir-files-count +53 -46
  22. data/bin/riemann-dir-space +53 -46
  23. data/bin/riemann-diskstats +78 -74
  24. data/bin/riemann-fd +68 -47
  25. data/bin/riemann-freeswitch +108 -102
  26. data/bin/riemann-haproxy +46 -39
  27. data/bin/riemann-health +4 -335
  28. data/bin/riemann-kvminstance +18 -12
  29. data/bin/riemann-memcached +35 -28
  30. data/bin/riemann-net +4 -103
  31. data/bin/riemann-nginx-status +74 -66
  32. data/bin/riemann-ntp +4 -32
  33. data/bin/riemann-portcheck +40 -30
  34. data/bin/riemann-proc +96 -89
  35. data/bin/riemann-varnish +51 -44
  36. data/bin/riemann-zookeeper +38 -33
  37. data/lib/riemann/tools/health.rb +347 -0
  38. data/lib/riemann/tools/net.rb +104 -0
  39. data/lib/riemann/tools/ntp.rb +41 -0
  40. data/lib/riemann/tools/utils.rb +17 -0
  41. data/lib/riemann/tools/version.rb +7 -0
  42. data/lib/riemann/tools.rb +40 -33
  43. data/riemann-tools.gemspec +42 -0
  44. data/tools/riemann-aws/LICENSE +21 -0
  45. data/tools/riemann-aws/README.md +54 -0
  46. data/tools/riemann-aws/Rakefile +37 -0
  47. data/tools/riemann-aws/bin/riemann-aws-billing +93 -0
  48. data/tools/riemann-aws/bin/riemann-aws-rds-status +68 -0
  49. data/tools/riemann-aws/bin/riemann-aws-sqs-status +50 -0
  50. data/tools/riemann-aws/bin/riemann-aws-status +83 -0
  51. data/tools/riemann-aws/bin/riemann-elb-metrics +168 -0
  52. data/tools/riemann-aws/bin/riemann-s3-list +87 -0
  53. data/tools/riemann-aws/bin/riemann-s3-status +102 -0
  54. data/tools/riemann-chronos/LICENSE +21 -0
  55. data/tools/riemann-chronos/README.md +10 -0
  56. data/tools/riemann-chronos/Rakefile +37 -0
  57. data/tools/riemann-chronos/bin/riemann-chronos +161 -0
  58. data/tools/riemann-docker/LICENSE +21 -0
  59. data/tools/riemann-docker/README.md +10 -0
  60. data/tools/riemann-docker/Rakefile +36 -0
  61. data/tools/riemann-docker/bin/riemann-docker +206 -0
  62. data/tools/riemann-elasticsearch/LICENSE +21 -0
  63. data/tools/riemann-elasticsearch/README.md +10 -0
  64. data/tools/riemann-elasticsearch/Rakefile +37 -0
  65. data/tools/riemann-elasticsearch/bin/riemann-elasticsearch +174 -0
  66. data/tools/riemann-marathon/LICENSE +21 -0
  67. data/tools/riemann-marathon/README.md +10 -0
  68. data/tools/riemann-marathon/Rakefile +37 -0
  69. data/tools/riemann-marathon/bin/riemann-marathon +163 -0
  70. data/tools/riemann-mesos/LICENSE +21 -0
  71. data/tools/riemann-mesos/README.md +10 -0
  72. data/tools/riemann-mesos/Rakefile +37 -0
  73. data/tools/riemann-mesos/bin/riemann-mesos +146 -0
  74. data/tools/riemann-munin/LICENSE +21 -0
  75. data/tools/riemann-munin/README.md +10 -0
  76. data/tools/riemann-munin/Rakefile +36 -0
  77. data/tools/riemann-munin/bin/riemann-munin +43 -0
  78. data/tools/riemann-rabbitmq/LICENSE +21 -0
  79. data/tools/riemann-rabbitmq/README.md +10 -0
  80. data/tools/riemann-rabbitmq/Rakefile +37 -0
  81. data/tools/riemann-rabbitmq/bin/riemann-rabbitmq +273 -0
  82. data/tools/riemann-riak/LICENSE +21 -0
  83. data/tools/riemann-riak/README.md +10 -0
  84. data/tools/riemann-riak/Rakefile +36 -0
  85. data/tools/riemann-riak/bin/riemann-riak +323 -0
  86. data/tools/riemann-riak/bin/riemann-riak-keys +13 -0
  87. data/tools/riemann-riak/bin/riemann-riak-ring +9 -0
  88. data/tools/riemann-riak/riak_status/key_count.erl +13 -0
  89. data/tools/riemann-riak/riak_status/riak_status.rb +152 -0
  90. data/tools/riemann-riak/riak_status/ringready.erl +9 -0
  91. metadata +195 -34
metadata CHANGED
@@ -1,85 +1,190 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kingsbury
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-17 00:00:00.000000000 Z
11
+ date: 2022-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: riemann-client
14
+ name: json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.6
19
+ version: '1.8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.6
26
+ version: '1.8'
27
27
  - !ruby/object:Gem::Dependency
28
- name: trollop
28
+ name: optimist
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
31
34
  - - ">="
32
35
  - !ruby/object:Gem::Version
33
- version: 1.16.2
36
+ version: 3.0.0
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '3.0'
38
44
  - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: 1.16.2
46
+ version: 3.0.0
41
47
  - !ruby/object:Gem::Dependency
42
- name: json
48
+ name: riemann-client
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '1.8'
53
+ version: '1.0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '1.8'
55
- description: Utilities which submit events to Riemann.
56
- email: aphyr@aphyr.com
60
+ version: '1.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: github_changelog_generator
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rspec
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rubocop
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rubocop-rake
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: rubocop-rspec
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ description: Collection of utilities which submit events to Riemann,
146
+ email:
147
+ - aphyr@aphyr.com
57
148
  executables:
58
- - riemann-kvminstance
59
- - riemann-dir-space
149
+ - riemann-apache-status
60
150
  - riemann-bench
61
- - riemann-net
62
- - riemann-fd
63
- - riemann-dir-files-count
64
- - riemann-zookeeper
65
- - riemann-haproxy
151
+ - riemann-cloudant
66
152
  - riemann-consul
153
+ - riemann-dir-files-count
154
+ - riemann-dir-space
155
+ - riemann-diskstats
156
+ - riemann-fd
67
157
  - riemann-freeswitch
68
- - riemann-apache-status
69
- - riemann-nginx-status
70
- - riemann-proc
71
- - riemann-portcheck
72
- - riemann-ntp
158
+ - riemann-haproxy
73
159
  - riemann-health
160
+ - riemann-kvminstance
74
161
  - riemann-memcached
162
+ - riemann-net
163
+ - riemann-nginx-status
164
+ - riemann-ntp
165
+ - riemann-portcheck
166
+ - riemann-proc
75
167
  - riemann-varnish
76
- - riemann-diskstats
77
- - riemann-cloudant
168
+ - riemann-zookeeper
78
169
  extensions: []
79
170
  extra_rdoc_files: []
80
171
  files:
172
+ - ".docker/Dockerfile"
173
+ - ".docker/publish.sh"
174
+ - ".github/dependabot.yml"
175
+ - ".github/workflows/ci.yml"
176
+ - ".github/workflows/codeql-analysis.yml"
177
+ - ".gitignore"
178
+ - ".rspec"
179
+ - ".rubocop.yml"
180
+ - ".travis.yml"
181
+ - CHANGELOG.md
182
+ - Gemfile
183
+ - ISSUE_TEMPLATE.md
81
184
  - LICENSE
82
185
  - README.markdown
186
+ - Rakefile
187
+ - SECURITY.md
83
188
  - bin/riemann-apache-status
84
189
  - bin/riemann-bench
85
190
  - bin/riemann-cloudant
@@ -101,11 +206,68 @@ files:
101
206
  - bin/riemann-varnish
102
207
  - bin/riemann-zookeeper
103
208
  - lib/riemann/tools.rb
209
+ - lib/riemann/tools/health.rb
210
+ - lib/riemann/tools/net.rb
211
+ - lib/riemann/tools/ntp.rb
212
+ - lib/riemann/tools/utils.rb
213
+ - lib/riemann/tools/version.rb
214
+ - riemann-tools.gemspec
215
+ - tools/riemann-aws/LICENSE
216
+ - tools/riemann-aws/README.md
217
+ - tools/riemann-aws/Rakefile
218
+ - tools/riemann-aws/bin/riemann-aws-billing
219
+ - tools/riemann-aws/bin/riemann-aws-rds-status
220
+ - tools/riemann-aws/bin/riemann-aws-sqs-status
221
+ - tools/riemann-aws/bin/riemann-aws-status
222
+ - tools/riemann-aws/bin/riemann-elb-metrics
223
+ - tools/riemann-aws/bin/riemann-s3-list
224
+ - tools/riemann-aws/bin/riemann-s3-status
225
+ - tools/riemann-chronos/LICENSE
226
+ - tools/riemann-chronos/README.md
227
+ - tools/riemann-chronos/Rakefile
228
+ - tools/riemann-chronos/bin/riemann-chronos
229
+ - tools/riemann-docker/LICENSE
230
+ - tools/riemann-docker/README.md
231
+ - tools/riemann-docker/Rakefile
232
+ - tools/riemann-docker/bin/riemann-docker
233
+ - tools/riemann-elasticsearch/LICENSE
234
+ - tools/riemann-elasticsearch/README.md
235
+ - tools/riemann-elasticsearch/Rakefile
236
+ - tools/riemann-elasticsearch/bin/riemann-elasticsearch
237
+ - tools/riemann-marathon/LICENSE
238
+ - tools/riemann-marathon/README.md
239
+ - tools/riemann-marathon/Rakefile
240
+ - tools/riemann-marathon/bin/riemann-marathon
241
+ - tools/riemann-mesos/LICENSE
242
+ - tools/riemann-mesos/README.md
243
+ - tools/riemann-mesos/Rakefile
244
+ - tools/riemann-mesos/bin/riemann-mesos
245
+ - tools/riemann-munin/LICENSE
246
+ - tools/riemann-munin/README.md
247
+ - tools/riemann-munin/Rakefile
248
+ - tools/riemann-munin/bin/riemann-munin
249
+ - tools/riemann-rabbitmq/LICENSE
250
+ - tools/riemann-rabbitmq/README.md
251
+ - tools/riemann-rabbitmq/Rakefile
252
+ - tools/riemann-rabbitmq/bin/riemann-rabbitmq
253
+ - tools/riemann-riak/LICENSE
254
+ - tools/riemann-riak/README.md
255
+ - tools/riemann-riak/Rakefile
256
+ - tools/riemann-riak/bin/riemann-riak
257
+ - tools/riemann-riak/bin/riemann-riak-keys
258
+ - tools/riemann-riak/bin/riemann-riak-ring
259
+ - tools/riemann-riak/riak_status/key_count.erl
260
+ - tools/riemann-riak/riak_status/riak_status.rb
261
+ - tools/riemann-riak/riak_status/ringready.erl
104
262
  homepage: https://github.com/aphyr/riemann-tools
105
263
  licenses:
106
264
  - MIT
107
- metadata: {}
108
- post_install_message:
265
+ metadata:
266
+ allowed_push_host: https://rubygems.org/
267
+ homepage_uri: https://github.com/aphyr/riemann-tools
268
+ source_code_uri: https://github.com/aphyr/riemann-tools
269
+ changelog_uri: https://github.com/aphyr/riemann-tools
270
+ post_install_message:
109
271
  rdoc_options: []
110
272
  require_paths:
111
273
  - lib
@@ -113,16 +275,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
275
  requirements:
114
276
  - - ">="
115
277
  - !ruby/object:Gem::Version
116
- version: 1.8.7
278
+ version: 2.6.0
117
279
  required_rubygems_version: !ruby/object:Gem::Requirement
118
280
  requirements:
119
281
  - - ">="
120
282
  - !ruby/object:Gem::Version
121
283
  version: '0'
122
284
  requirements: []
123
- rubyforge_project: riemann-tools
124
- rubygems_version: 2.6.13
125
- signing_key:
285
+ rubygems_version: 3.3.16
286
+ signing_key:
126
287
  specification_version: 4
127
288
  summary: Utilities which submit events to Riemann.
128
289
  test_files: []