riemann-tools 0.2.14 → 1.1.1

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 +430 -0
  12. data/Gemfile +6 -0
  13. data/ISSUE_TEMPLATE.md +15 -0
  14. data/README.markdown +13 -16
  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 +38 -31
  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 +186 -37
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 1.1.1
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-09-14 00:00:00.000000000 Z
11
+ date: 2022-07-02 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
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '0.2'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 0.2.6
19
+ version: '1.8'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '0.2'
30
24
  - - ">="
31
25
  - !ruby/object:Gem::Version
32
- version: 0.2.6
26
+ version: '1.8'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: optimist
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -51,47 +45,146 @@ dependencies:
51
45
  - !ruby/object:Gem::Version
52
46
  version: 3.0.0
53
47
  - !ruby/object:Gem::Dependency
54
- name: json
48
+ name: riemann-client
55
49
  requirement: !ruby/object:Gem::Requirement
56
50
  requirements:
57
51
  - - "~>"
58
52
  - !ruby/object:Gem::Version
59
- version: '1.8'
53
+ version: '1.0'
60
54
  type: :runtime
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
57
  requirements:
64
58
  - - "~>"
65
59
  - !ruby/object:Gem::Version
66
- version: '1.8'
67
- description: Collection of utilities which submit events to Riemann.
68
- 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
69
148
  executables:
70
149
  - riemann-apache-status
71
- - riemann-varnish
150
+ - riemann-bench
151
+ - riemann-cloudant
72
152
  - riemann-consul
73
- - riemann-net
153
+ - riemann-dir-files-count
154
+ - riemann-dir-space
74
155
  - riemann-diskstats
75
- - riemann-portcheck
76
- - riemann-memcached
77
- - riemann-zookeeper
156
+ - riemann-fd
157
+ - riemann-freeswitch
158
+ - riemann-haproxy
78
159
  - riemann-health
79
- - riemann-dir-space
80
- - riemann-cloudant
160
+ - riemann-kvminstance
161
+ - riemann-memcached
162
+ - riemann-net
81
163
  - riemann-nginx-status
82
- - riemann-proc
83
- - riemann-haproxy
84
- - riemann-freeswitch
85
164
  - riemann-ntp
86
- - riemann-fd
87
- - riemann-dir-files-count
88
- - riemann-bench
89
- - riemann-kvminstance
165
+ - riemann-portcheck
166
+ - riemann-proc
167
+ - riemann-varnish
168
+ - riemann-zookeeper
90
169
  extensions: []
91
170
  extra_rdoc_files: []
92
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
93
184
  - LICENSE
94
185
  - README.markdown
186
+ - Rakefile
187
+ - SECURITY.md
95
188
  - bin/riemann-apache-status
96
189
  - bin/riemann-bench
97
190
  - bin/riemann-cloudant
@@ -113,11 +206,68 @@ files:
113
206
  - bin/riemann-varnish
114
207
  - bin/riemann-zookeeper
115
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
116
262
  homepage: https://github.com/aphyr/riemann-tools
117
263
  licenses:
118
264
  - MIT
119
- metadata: {}
120
- 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:
121
271
  rdoc_options: []
122
272
  require_paths:
123
273
  - lib
@@ -125,16 +275,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
275
  requirements:
126
276
  - - ">="
127
277
  - !ruby/object:Gem::Version
128
- version: 1.8.7
278
+ version: 2.6.0
129
279
  required_rubygems_version: !ruby/object:Gem::Requirement
130
280
  requirements:
131
281
  - - ">="
132
282
  - !ruby/object:Gem::Version
133
283
  version: '0'
134
284
  requirements: []
135
- rubyforge_project: riemann-tools
136
- rubygems_version: 2.6.14
137
- signing_key:
285
+ rubygems_version: 3.3.16
286
+ signing_key:
138
287
  specification_version: 4
139
288
  summary: Utilities which submit events to Riemann.
140
289
  test_files: []