riemann-tools 0.2.13 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
data/CHANGELOG.md ADDED
@@ -0,0 +1,422 @@
1
+ # Changelog
2
+
3
+ ## [1.1.0](https://github.com/riemann/riemann-tools/tree/1.1.0) (2022-07-01)
4
+
5
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/v1.0.0...1.1.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Report computed disk metric [\#213](https://github.com/riemann/riemann-tools/pull/213) ([smortex](https://github.com/smortex))
10
+ - Add support for FreeBSD system fd monitoring [\#204](https://github.com/riemann/riemann-tools/pull/204) ([smortex](https://github.com/smortex))
11
+ - Improve interface matching flexibility [\#203](https://github.com/riemann/riemann-tools/pull/203) ([smortex](https://github.com/smortex))
12
+ - Improve disk usage reporting [\#200](https://github.com/riemann/riemann-tools/pull/200) ([smortex](https://github.com/smortex))
13
+
14
+ **Fixed bugs:**
15
+
16
+ - Revert tmpfs as an ignored filesystem by default [\#206](https://github.com/riemann/riemann-tools/pull/206) ([smortex](https://github.com/smortex))
17
+ - Fix network interfaces reporting [\#202](https://github.com/riemann/riemann-tools/pull/202) ([smortex](https://github.com/smortex))
18
+ - Fix setting custom load thresholds [\#201](https://github.com/riemann/riemann-tools/pull/201) ([smortex](https://github.com/smortex))
19
+
20
+ **Closed issues:**
21
+
22
+ - Disk usage resolution is coarse [\#212](https://github.com/riemann/riemann-tools/issues/212)
23
+ - Load warning/critical doesn't work [\#182](https://github.com/riemann/riemann-tools/issues/182)
24
+
25
+ **Merged pull requests:**
26
+
27
+ - Modernized riemann-ntp and included warning for macOS [\#211](https://github.com/riemann/riemann-tools/pull/211) ([jamtur01](https://github.com/jamtur01))
28
+ - Create dependabot.yml [\#209](https://github.com/riemann/riemann-tools/pull/209) ([jamtur01](https://github.com/jamtur01))
29
+ - Create codeql-analysis.yml [\#208](https://github.com/riemann/riemann-tools/pull/208) ([jamtur01](https://github.com/jamtur01))
30
+ - Setup Rubocop [\#205](https://github.com/riemann/riemann-tools/pull/205) ([smortex](https://github.com/smortex))
31
+
32
+ ## [v1.0.0](https://github.com/riemann/riemann-tools/tree/v1.0.0) (2022-06-22)
33
+
34
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.14...v1.0.0)
35
+
36
+ **Implemented enhancements:**
37
+
38
+ - Add support for TLS [\#196](https://github.com/riemann/riemann-tools/pull/196) ([smortex](https://github.com/smortex))
39
+ - Hide riemann-tools parameters from process table [\#188](https://github.com/riemann/riemann-tools/pull/188) ([dch](https://github.com/dch))
40
+
41
+ **Fixed bugs:**
42
+
43
+ - Fix cpu and memory usage sorting [\#198](https://github.com/riemann/riemann-tools/pull/198) ([smortex](https://github.com/smortex))
44
+ - Exclude NFS from df [\#193](https://github.com/riemann/riemann-tools/pull/193) ([sheremetyev](https://github.com/sheremetyev))
45
+ - Fix df --exclude-type on alpine [\#192](https://github.com/riemann/riemann-tools/pull/192) ([Beanow](https://github.com/Beanow))
46
+
47
+ **Closed issues:**
48
+
49
+ - Official docker image\(s\) [\#189](https://github.com/riemann/riemann-tools/issues/189)
50
+ - Could not set docker-host via CLI [\#184](https://github.com/riemann/riemann-tools/issues/184)
51
+ - No support for TLS [\#142](https://github.com/riemann/riemann-tools/issues/142)
52
+
53
+ **Merged pull requests:**
54
+
55
+ - Implement automated docker builds of included tools. [\#190](https://github.com/riemann/riemann-tools/pull/190) ([Beanow](https://github.com/Beanow))
56
+
57
+ ## [0.2.14](https://github.com/riemann/riemann-tools/tree/0.2.14) (2018-09-14)
58
+
59
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.13...0.2.14)
60
+
61
+ **Closed issues:**
62
+
63
+ - Trollop gem replaced by optimist [\#186](https://github.com/riemann/riemann-tools/issues/186)
64
+ - Regex format to check multiple processes [\#181](https://github.com/riemann/riemann-tools/issues/181)
65
+ - riemann-health - full command support [\#180](https://github.com/riemann/riemann-tools/issues/180)
66
+
67
+ ## [0.2.13](https://github.com/riemann/riemann-tools/tree/0.2.13) (2018-01-17)
68
+
69
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.12...0.2.13)
70
+
71
+ **Closed issues:**
72
+
73
+ - riemann-net: Non-zero drop/error always mapped to warning state [\#177](https://github.com/riemann/riemann-tools/issues/177)
74
+ - riemann-consul: incorrect treatment of return value for leader query [\#175](https://github.com/riemann/riemann-tools/issues/175)
75
+ - Riemann-aws fails to use instance profile with error regarding required aws keys [\#169](https://github.com/riemann/riemann-tools/issues/169)
76
+ - riemann-zookeeper fails silently on zookeeper 3.3.x and below [\#98](https://github.com/riemann/riemann-tools/issues/98)
77
+ - Riemann riak tools spins up 2 erlang vms with the same node name simulataneously, causing one to fail [\#71](https://github.com/riemann/riemann-tools/issues/71)
78
+ - Service scripts [\#40](https://github.com/riemann/riemann-tools/issues/40)
79
+
80
+ **Merged pull requests:**
81
+
82
+ - riemann-net: Warn only on non-zero drop/error delta [\#183](https://github.com/riemann/riemann-tools/pull/183) ([sslavic](https://github.com/sslavic))
83
+ - Fix for riemann/riemann-tools/issues/175 [\#176](https://github.com/riemann/riemann-tools/pull/176) ([pieterbreed](https://github.com/pieterbreed))
84
+ - support prefixes for AWS S3 list [\#173](https://github.com/riemann/riemann-tools/pull/173) ([peterneubauer](https://github.com/peterneubauer))
85
+ - Add OpenBSD and Illumos \(sunos in uname -s\) to riemann-health [\#172](https://github.com/riemann/riemann-tools/pull/172) ([telser](https://github.com/telser))
86
+ - Fixing initialization failure when fog credentials are specified. [\#171](https://github.com/riemann/riemann-tools/pull/171) ([derekslager](https://github.com/derekslager))
87
+ - Add riemann-portcheck [\#170](https://github.com/riemann/riemann-tools/pull/170) ([sdx23](https://github.com/sdx23))
88
+ - \_stats/index/store isn't supported anymore in ES 5 but it looks like … [\#168](https://github.com/riemann/riemann-tools/pull/168) ([looprock](https://github.com/looprock))
89
+
90
+ ## [0.2.12](https://github.com/riemann/riemann-tools/tree/0.2.12) (2017-01-22)
91
+
92
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.11...0.2.12)
93
+
94
+ **Closed issues:**
95
+
96
+ - riemann-elasticsearch: needs exception handling [\#166](https://github.com/riemann/riemann-tools/issues/166)
97
+ - Is riemann-docker not support disk I/O and net I/O monitoring? [\#162](https://github.com/riemann/riemann-tools/issues/162)
98
+
99
+ **Merged pull requests:**
100
+
101
+ - Add exception handling [\#167](https://github.com/riemann/riemann-tools/pull/167) ([rogeruiz](https://github.com/rogeruiz))
102
+ - Update riemann-proc [\#165](https://github.com/riemann/riemann-tools/pull/165) ([knackjax](https://github.com/knackjax))
103
+ - JSON dependency version set to ~\> 1.8 [\#163](https://github.com/riemann/riemann-tools/pull/163) ([markdingram](https://github.com/markdingram))
104
+
105
+ ## [0.2.11](https://github.com/riemann/riemann-tools/tree/0.2.11) (2016-12-04)
106
+
107
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.10...0.2.11)
108
+
109
+ **Closed issues:**
110
+
111
+ - Docker image to run riemann-tools [\#164](https://github.com/riemann/riemann-tools/issues/164)
112
+ - riemann-varnish error [\#158](https://github.com/riemann/riemann-tools/issues/158)
113
+
114
+ **Merged pull requests:**
115
+
116
+ - Corrected kvm running instance count [\#161](https://github.com/riemann/riemann-tools/pull/161) ([TheBigfoot](https://github.com/TheBigfoot))
117
+ - fix typo [\#160](https://github.com/riemann/riemann-tools/pull/160) ([david-resnick](https://github.com/david-resnick))
118
+ - Adding basic s3 bucket metrics [\#159](https://github.com/riemann/riemann-tools/pull/159) ([peterneubauer](https://github.com/peterneubauer))
119
+ - Modified aws-rds-status and aws-sqs-status to default to IAM profile … [\#157](https://github.com/riemann/riemann-tools/pull/157) ([gorandev](https://github.com/gorandev))
120
+ - Create riemann-chronos based on riemann-marathon [\#156](https://github.com/riemann/riemann-tools/pull/156) ([pdericson](https://github.com/pdericson))
121
+ - Riemann Aws ELB: send 0 metric on empty result [\#155](https://github.com/riemann/riemann-tools/pull/155) ([krakatoa](https://github.com/krakatoa))
122
+ - Make riemann-docker multithreaded [\#154](https://github.com/riemann/riemann-tools/pull/154) ([gfv](https://github.com/gfv))
123
+
124
+ ## [0.2.10](https://github.com/riemann/riemann-tools/tree/0.2.10) (2016-03-01)
125
+
126
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.9...0.2.10)
127
+
128
+ **Closed issues:**
129
+
130
+ - Riemann health stopped updating disk usage [\#148](https://github.com/riemann/riemann-tools/issues/148)
131
+ - Load average on AWS does not divide by number of cores [\#97](https://github.com/riemann/riemann-tools/issues/97)
132
+
133
+ **Merged pull requests:**
134
+
135
+ - Fixed issue with static disk monitoring [\#153](https://github.com/riemann/riemann-tools/pull/153) ([jamtur01](https://github.com/jamtur01))
136
+ - correctly call is\_bad? method [\#151](https://github.com/riemann/riemann-tools/pull/151) ([anho](https://github.com/anho))
137
+
138
+ ## [0.2.9](https://github.com/riemann/riemann-tools/tree/0.2.9) (2016-02-20)
139
+
140
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.8...0.2.9)
141
+
142
+ **Closed issues:**
143
+
144
+ - Build a new gem file and publish [\#139](https://github.com/riemann/riemann-tools/issues/139)
145
+ - Dependency net-ssh \>= 3 requires ruby 2.0 [\#126](https://github.com/riemann/riemann-tools/issues/126)
146
+
147
+ **Merged pull requests:**
148
+
149
+ - Create ISSUE\_TEMPLATE.md [\#149](https://github.com/riemann/riemann-tools/pull/149) ([jamtur01](https://github.com/jamtur01))
150
+ - Improved riemann-proc [\#147](https://github.com/riemann/riemann-tools/pull/147) ([ktf](https://github.com/ktf))
151
+ - gather some simple metrics on query and fetch time [\#144](https://github.com/riemann/riemann-tools/pull/144) ([anho](https://github.com/anho))
152
+ - Release 0.2.8 [\#140](https://github.com/riemann/riemann-tools/pull/140) ([jamtur01](https://github.com/jamtur01))
153
+
154
+ ## [0.2.8](https://github.com/riemann/riemann-tools/tree/0.2.8) (2016-02-09)
155
+
156
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.7...0.2.8)
157
+
158
+ **Closed issues:**
159
+
160
+ - problem sending tags [\#135](https://github.com/riemann/riemann-tools/issues/135)
161
+ - exclude iso9660 filesystems from riemann-health. [\#127](https://github.com/riemann/riemann-tools/issues/127)
162
+ - riemann-docker-health [\#119](https://github.com/riemann/riemann-tools/issues/119)
163
+ - make tags additive to CLI tags [\#99](https://github.com/riemann/riemann-tools/issues/99)
164
+ - Split repository [\#61](https://github.com/riemann/riemann-tools/issues/61)
165
+
166
+ **Merged pull requests:**
167
+
168
+ - Fixes \#127 - Excludes ISO9660 filesystems from riemann-health [\#145](https://github.com/riemann/riemann-tools/pull/145) ([jamtur01](https://github.com/jamtur01))
169
+ - Fixes \#99 - Additive tags [\#143](https://github.com/riemann/riemann-tools/pull/143) ([jamtur01](https://github.com/jamtur01))
170
+ - Updates to gems [\#141](https://github.com/riemann/riemann-tools/pull/141) ([jamtur01](https://github.com/jamtur01))
171
+ - Added tools split out back into the repo [\#138](https://github.com/riemann/riemann-tools/pull/138) ([jamtur01](https://github.com/jamtur01))
172
+ - Separate HAproxy's server state from server metrics [\#137](https://github.com/riemann/riemann-tools/pull/137) ([dobrinov](https://github.com/dobrinov))
173
+ - Splits out individual programs to GitHub Riemann org [\#136](https://github.com/riemann/riemann-tools/pull/136) ([jamtur01](https://github.com/jamtur01))
174
+ - Enable riemann-elb-metrics to use IAM Instance profile [\#133](https://github.com/riemann/riemann-tools/pull/133) ([iramello](https://github.com/iramello))
175
+ - Avoid event to expire before we actually check again [\#132](https://github.com/riemann/riemann-tools/pull/132) ([ktf](https://github.com/ktf))
176
+ - Use conventional state "ok" in place of "green" [\#131](https://github.com/riemann/riemann-tools/pull/131) ([ktf](https://github.com/ktf))
177
+ - Corrects a typo when specifying dependencies. [\#130](https://github.com/riemann/riemann-tools/pull/130) ([yundt](https://github.com/yundt))
178
+ - Add Marathon watcher [\#129](https://github.com/riemann/riemann-tools/pull/129) ([ktf](https://github.com/ktf))
179
+ - Add Mesos metrics watcher [\#128](https://github.com/riemann/riemann-tools/pull/128) ([ktf](https://github.com/ktf))
180
+ - RFC : Riemann-consul : Sends consul services status to riemann [\#125](https://github.com/riemann/riemann-tools/pull/125) ([shanielh](https://github.com/shanielh))
181
+ - Riemann-docker-health : Multiple changes [\#124](https://github.com/riemann/riemann-tools/pull/124) ([shanielh](https://github.com/shanielh))
182
+ - Fix/str maybe nil [\#123](https://github.com/riemann/riemann-tools/pull/123) ([jsvisa](https://github.com/jsvisa))
183
+ - Added AWS SQS monitor [\#121](https://github.com/riemann/riemann-tools/pull/121) ([krakatoa](https://github.com/krakatoa))
184
+ - Added docker-health tool [\#120](https://github.com/riemann/riemann-tools/pull/120) ([shanielh](https://github.com/shanielh))
185
+ - riemann-freeswitch sends number of threads used by Freeswitch [\#118](https://github.com/riemann/riemann-tools/pull/118) ([krakatoa](https://github.com/krakatoa))
186
+ - Change the way `ioreqs` metric is handled [\#117](https://github.com/riemann/riemann-tools/pull/117) ([pariviere](https://github.com/pariviere))
187
+ - add option to specify a proxied path prefix [\#115](https://github.com/riemann/riemann-tools/pull/115) ([peterneubauer](https://github.com/peterneubauer))
188
+
189
+ ## [0.2.7](https://github.com/riemann/riemann-tools/tree/0.2.7) (2015-07-17)
190
+
191
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.6...0.2.7)
192
+
193
+ ## [0.2.6](https://github.com/riemann/riemann-tools/tree/0.2.6) (2015-04-21)
194
+
195
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.5...0.2.6)
196
+
197
+ **Closed issues:**
198
+
199
+ - Error in riemann-net when new interfaces are added [\#112](https://github.com/riemann/riemann-tools/issues/112)
200
+ - riemann-varnish not working with Varnish 4+ [\#104](https://github.com/riemann/riemann-tools/issues/104)
201
+ - Riemann-health not working on Ubuntu 14.10 x64 vmlinuz-3.16.0-28-generic [\#103](https://github.com/riemann/riemann-tools/issues/103)
202
+ - Make riemann-rabbitmq honor even SSL connections [\#101](https://github.com/riemann/riemann-tools/issues/101)
203
+
204
+ **Merged pull requests:**
205
+
206
+ - Send out "expired" state when riemann-net stops seeing an interface [\#114](https://github.com/riemann/riemann-tools/pull/114) ([md5](https://github.com/md5))
207
+ - Skip network metric comparison for newly added interfaces [\#113](https://github.com/riemann/riemann-tools/pull/113) ([md5](https://github.com/md5))
208
+ - riemann-proc alerts output which processes matched [\#111](https://github.com/riemann/riemann-tools/pull/111) ([tcrayford](https://github.com/tcrayford))
209
+ - abort if no DB specified [\#110](https://github.com/riemann/riemann-tools/pull/110) ([peterneubauer](https://github.com/peterneubauer))
210
+ - Adding monitoring of an RDS instance [\#109](https://github.com/riemann/riemann-tools/pull/109) ([peterneubauer](https://github.com/peterneubauer))
211
+ - Added NTP statistics collector [\#108](https://github.com/riemann/riemann-tools/pull/108) ([jamtur01](https://github.com/jamtur01))
212
+ - Fixed failed comparison of Fixnum with True [\#107](https://github.com/riemann/riemann-tools/pull/107) ([iramello](https://github.com/iramello))
213
+ - in my rabbitmq instance, it seems there is \['messages\_ready'\] missing on... [\#106](https://github.com/riemann/riemann-tools/pull/106) ([peterneubauer](https://github.com/peterneubauer))
214
+ - Added check and switch for Varnish 4 [\#105](https://github.com/riemann/riemann-tools/pull/105) ([jamtur01](https://github.com/jamtur01))
215
+
216
+ ## [0.2.5](https://github.com/riemann/riemann-tools/tree/0.2.5) (2015-01-26)
217
+
218
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.3...0.2.5)
219
+
220
+ **Merged pull requests:**
221
+
222
+ - Adding support for https connection [\#102](https://github.com/riemann/riemann-tools/pull/102) ([peterneubauer](https://github.com/peterneubauer))
223
+ - Adds monitoring a folder based on its number of files [\#100](https://github.com/riemann/riemann-tools/pull/100) ([iramello](https://github.com/iramello))
224
+ - add directory space use monitoring [\#96](https://github.com/riemann/riemann-tools/pull/96) ([tcrayford](https://github.com/tcrayford))
225
+
226
+ ## [0.2.3](https://github.com/riemann/riemann-tools/tree/0.2.3) (2015-01-06)
227
+
228
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.2...0.2.3)
229
+
230
+ **Merged pull requests:**
231
+
232
+ - Add CLI status check [\#95](https://github.com/riemann/riemann-tools/pull/95) ([default50](https://github.com/default50))
233
+ - Add support for reporting current number of conferences in riemann-freeswitch [\#94](https://github.com/riemann/riemann-tools/pull/94) ([default50](https://github.com/default50))
234
+ - Monitor RabbitMQ queue sizes and node memory/disk health [\#93](https://github.com/riemann/riemann-tools/pull/93) ([mpalmer](https://github.com/mpalmer))
235
+ - Alert if there are any outstanding partition transfers [\#92](https://github.com/riemann/riemann-tools/pull/92) ([mpalmer](https://github.com/mpalmer))
236
+ - Avoid failure if process checked user is different from riemann agent. [\#91](https://github.com/riemann/riemann-tools/pull/91) ([default50](https://github.com/default50))
237
+ - Riemann freeswitch [\#90](https://github.com/riemann/riemann-tools/pull/90) ([default50](https://github.com/default50))
238
+ - Add support for some extra Riak stats [\#89](https://github.com/riemann/riemann-tools/pull/89) ([algernon](https://github.com/algernon))
239
+ - Correct comment in riemann-net [\#88](https://github.com/riemann/riemann-tools/pull/88) ([danielcompton](https://github.com/danielcompton))
240
+ - Fixed broken memory calculation for OSX Mavericks [\#87](https://github.com/riemann/riemann-tools/pull/87) ([Kungi](https://github.com/Kungi))
241
+ - Fix typo in riemann-health [\#86](https://github.com/riemann/riemann-tools/pull/86) ([jsyrjala](https://github.com/jsyrjala))
242
+
243
+ ## [0.2.2](https://github.com/riemann/riemann-tools/tree/0.2.2) (2014-06-30)
244
+
245
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.1...0.2.2)
246
+
247
+ **Closed issues:**
248
+
249
+ - Elasticsearch tool gives error NoMethodError undefined method `URI' [\#84](https://github.com/riemann/riemann-tools/issues/84)
250
+
251
+ **Merged pull requests:**
252
+
253
+ - one-character fix: Make riemann-aws-billing work again [\#85](https://github.com/riemann/riemann-tools/pull/85) ([benley](https://github.com/benley))
254
+ - Fix for latest riemann-client changes [\#83](https://github.com/riemann/riemann-tools/pull/83) ([eric](https://github.com/eric))
255
+ - riemann proc regex should quote args to grep [\#82](https://github.com/riemann/riemann-tools/pull/82) ([tcrayford](https://github.com/tcrayford))
256
+ - riemann-redis migrated to https://github.com/riemann/riemann-redis [\#81](https://github.com/riemann/riemann-tools/pull/81) ([fborgnia](https://github.com/fborgnia))
257
+
258
+ ## [0.2.1](https://github.com/riemann/riemann-tools/tree/0.2.1) (2014-03-26)
259
+
260
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.2.0...0.2.1)
261
+
262
+ **Merged pull requests:**
263
+
264
+ - Update FreeBSD load average for 1 min [\#79](https://github.com/riemann/riemann-tools/pull/79) ([xaque208](https://github.com/xaque208))
265
+ - Added riemann-varnish collector script [\#77](https://github.com/riemann/riemann-tools/pull/77) ([pradeepchhetri](https://github.com/pradeepchhetri))
266
+ - allow dashes in diskstats volume names to support lvm volumes like "dm-0" [\#75](https://github.com/riemann/riemann-tools/pull/75) ([cmerrick](https://github.com/cmerrick))
267
+ - rieman-tools aws billing [\#74](https://github.com/riemann/riemann-tools/pull/74) ([jespada](https://github.com/jespada))
268
+ - Added basic metric monitoring for zookeeper [\#73](https://github.com/riemann/riemann-tools/pull/73) ([aterreno](https://github.com/aterreno))
269
+
270
+ ## [0.2.0](https://github.com/riemann/riemann-tools/tree/0.2.0) (2014-01-23)
271
+
272
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.1.9...0.2.0)
273
+
274
+ **Closed issues:**
275
+
276
+ - riemann-net stopped working with beefcake version 0.4.0 [\#70](https://github.com/riemann/riemann-tools/issues/70)
277
+ - riemann-riak fails to detect if riak is down [\#54](https://github.com/riemann/riemann-tools/issues/54)
278
+
279
+ **Merged pull requests:**
280
+
281
+ - Add Apache Httpd Metrics [\#72](https://github.com/riemann/riemann-tools/pull/72) ([dmichel1](https://github.com/dmichel1))
282
+
283
+ ## [0.1.9](https://github.com/riemann/riemann-tools/tree/0.1.9) (2013-12-10)
284
+
285
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.1.8...0.1.9)
286
+
287
+ **Merged pull requests:**
288
+
289
+ - Dup service in riemann-net, work around frozen str [\#69](https://github.com/riemann/riemann-tools/pull/69) ([gsandie](https://github.com/gsandie))
290
+ - workaround for beefcake frozen string issue [\#68](https://github.com/riemann/riemann-tools/pull/68) ([maxnewbould](https://github.com/maxnewbould))
291
+
292
+ ## [0.1.8](https://github.com/riemann/riemann-tools/tree/0.1.8) (2013-11-11)
293
+
294
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.1.6...0.1.8)
295
+
296
+ ## [0.1.6](https://github.com/riemann/riemann-tools/tree/0.1.6) (2013-11-11)
297
+
298
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.1.7...0.1.6)
299
+
300
+ **Closed issues:**
301
+
302
+ - riemann-redis run\_id can be infinity [\#65](https://github.com/riemann/riemann-tools/issues/65)
303
+ - License missing from gemspec [\#64](https://github.com/riemann/riemann-tools/issues/64)
304
+ - riemann-health EMSGSIZE Message too long - sendto\(2\) on OSX [\#16](https://github.com/riemann/riemann-tools/issues/16)
305
+ - add riemann-cloudwatch [\#9](https://github.com/riemann/riemann-tools/issues/9)
306
+
307
+ **Merged pull requests:**
308
+
309
+ - Add a license and description to the rakefile [\#67](https://github.com/riemann/riemann-tools/pull/67) ([gsandie](https://github.com/gsandie))
310
+ - Set run\_id property to zero [\#66](https://github.com/riemann/riemann-tools/pull/66) ([gsandie](https://github.com/gsandie))
311
+
312
+ ## [0.1.7](https://github.com/riemann/riemann-tools/tree/0.1.7) (2013-10-18)
313
+
314
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.1.5...0.1.7)
315
+
316
+ **Closed issues:**
317
+
318
+ - riemann-riak error when adding tag [\#62](https://github.com/riemann/riemann-tools/issues/62)
319
+
320
+ **Merged pull requests:**
321
+
322
+ - add riemann-proc running process counter [\#63](https://github.com/riemann/riemann-tools/pull/63) ([cmerrick](https://github.com/cmerrick))
323
+
324
+ ## [0.1.5](https://github.com/riemann/riemann-tools/tree/0.1.5) (2013-10-15)
325
+
326
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.1.3...0.1.5)
327
+
328
+ **Closed issues:**
329
+
330
+ - Ripe new release? [\#59](https://github.com/riemann/riemann-tools/issues/59)
331
+
332
+ **Merged pull requests:**
333
+
334
+ - Riemann mysql client [\#60](https://github.com/riemann/riemann-tools/pull/60) ([fborgnia](https://github.com/fborgnia))
335
+ - Feature/riemann fd [\#58](https://github.com/riemann/riemann-tools/pull/58) ([ainsleyc](https://github.com/ainsleyc))
336
+ - Set the executable bit on riemann elb metrics [\#57](https://github.com/riemann/riemann-tools/pull/57) ([gsandie](https://github.com/gsandie))
337
+ - First pass at pulling metrics from AWS ELBs [\#56](https://github.com/riemann/riemann-tools/pull/56) ([gsandie](https://github.com/gsandie))
338
+ - Fix small problems in riemann elasticsearch [\#55](https://github.com/riemann/riemann-tools/pull/55) ([gsandie](https://github.com/gsandie))
339
+ - Reauthenticate redis on reconnections [\#53](https://github.com/riemann/riemann-tools/pull/53) ([gsandie](https://github.com/gsandie))
340
+ - Riemann rabbitmq - real basic rabbitmq metrics [\#52](https://github.com/riemann/riemann-tools/pull/52) ([gsandie](https://github.com/gsandie))
341
+ - pass redis info fields' string value in status field [\#51](https://github.com/riemann/riemann-tools/pull/51) ([narrative-joe](https://github.com/narrative-joe))
342
+ - Add health status to riemann nginx [\#50](https://github.com/riemann/riemann-tools/pull/50) ([gsandie](https://github.com/gsandie))
343
+ - Report ok when resmon connection is working [\#49](https://github.com/riemann/riemann-tools/pull/49) ([gsandie](https://github.com/gsandie))
344
+ - Add a simple elastic search check [\#48](https://github.com/riemann/riemann-tools/pull/48) ([gsandie](https://github.com/gsandie))
345
+ - Add SSL support for riemann-riak [\#46](https://github.com/riemann/riemann-tools/pull/46) ([supersix4our](https://github.com/supersix4our))
346
+ - resmon: don't send metrics as strings [\#45](https://github.com/riemann/riemann-tools/pull/45) ([goblin](https://github.com/goblin))
347
+ - Add missing tx errors to riemann-net [\#44](https://github.com/riemann/riemann-tools/pull/44) ([gsandie](https://github.com/gsandie))
348
+
349
+ ## [0.1.3](https://github.com/riemann/riemann-tools/tree/0.1.3) (2013-05-28)
350
+
351
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.1.2...0.1.3)
352
+
353
+ **Closed issues:**
354
+
355
+ - riemann-kvminstance\(s\) duplicate scripts [\#34](https://github.com/riemann/riemann-tools/issues/34)
356
+
357
+ **Merged pull requests:**
358
+
359
+ - Remove dead code [\#43](https://github.com/riemann/riemann-tools/pull/43) ([lwf](https://github.com/lwf))
360
+ - Handle timeouts [\#42](https://github.com/riemann/riemann-tools/pull/42) ([lwf](https://github.com/lwf))
361
+ - Allow riemann resmon to use hostname or FQDN for events [\#41](https://github.com/riemann/riemann-tools/pull/41) ([gsandie](https://github.com/gsandie))
362
+ - Remove duplicated file riemann-kvminstances. [\#39](https://github.com/riemann/riemann-tools/pull/39) ([default50](https://github.com/default50))
363
+ - Add ability to add attributes from CLI [\#38](https://github.com/riemann/riemann-tools/pull/38) ([lwf](https://github.com/lwf))
364
+
365
+ ## [0.1.2](https://github.com/riemann/riemann-tools/tree/0.1.2) (2013-04-30)
366
+
367
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/0.0.9...0.1.2)
368
+
369
+ **Closed issues:**
370
+
371
+ - riemann-nginx? [\#31](https://github.com/riemann/riemann-tools/issues/31)
372
+ - Commit \#7de2572ccace567d90e555415498c2325bb8d87f seems to have borked how the hostname get's sent [\#22](https://github.com/riemann/riemann-tools/issues/22)
373
+
374
+ **Merged pull requests:**
375
+
376
+ - allow dynamic setting of riak cookie field [\#37](https://github.com/riemann/riemann-tools/pull/37) ([Bhuwan](https://github.com/Bhuwan))
377
+ - Fixed two bugs: [\#36](https://github.com/riemann/riemann-tools/pull/36) ([default50](https://github.com/default50))
378
+ - Adding reporting capabilities for FreeSWITCH calls and channels. [\#35](https://github.com/riemann/riemann-tools/pull/35) ([default50](https://github.com/default50))
379
+ - riemann-nginx-status [\#33](https://github.com/riemann/riemann-tools/pull/33) ([BrianHicks](https://github.com/BrianHicks))
380
+ - Typo, @httpstats -\> @httpstatus [\#32](https://github.com/riemann/riemann-tools/pull/32) ([jegt](https://github.com/jegt))
381
+ - Add a Redis SLOWLOG client [\#30](https://github.com/riemann/riemann-tools/pull/30) ([inkel](https://github.com/inkel))
382
+ - Improve riemann-redis client [\#29](https://github.com/riemann/riemann-tools/pull/29) ([inkel](https://github.com/inkel))
383
+ - Riemann aws-status [\#28](https://github.com/riemann/riemann-tools/pull/28) ([gsandie](https://github.com/gsandie))
384
+ - Allow seperate health checks [\#27](https://github.com/riemann/riemann-tools/pull/27) ([gsandie](https://github.com/gsandie))
385
+ - Fix incorrect resmon host vars [\#26](https://github.com/riemann/riemann-tools/pull/26) ([gsandie](https://github.com/gsandie))
386
+ - Riemann resmon improvements [\#25](https://github.com/riemann/riemann-tools/pull/25) ([gsandie](https://github.com/gsandie))
387
+ - Added a plugin for Resmon [\#24](https://github.com/riemann/riemann-tools/pull/24) ([goblin](https://github.com/goblin))
388
+ - Update host-val with even-host only if really set [\#23](https://github.com/riemann/riemann-tools/pull/23) ([bipthelin](https://github.com/bipthelin))
389
+ - Fallback to riak-admin if nothing else works [\#21](https://github.com/riemann/riemann-tools/pull/21) ([bipthelin](https://github.com/bipthelin))
390
+ - Default event hostname [\#20](https://github.com/riemann/riemann-tools/pull/20) ([timshadel](https://github.com/timshadel))
391
+ - Add memcached monitoring support for riemann-tools. [\#19](https://github.com/riemann/riemann-tools/pull/19) ([fcuny](https://github.com/fcuny))
392
+ - Typo in rieman-riak using :servie instead of :service [\#18](https://github.com/riemann/riemann-tools/pull/18) ([dgtized](https://github.com/dgtized))
393
+ - Add riemann-aws-status [\#13](https://github.com/riemann/riemann-tools/pull/13) ([lwf](https://github.com/lwf))
394
+
395
+ ## [0.0.9](https://github.com/riemann/riemann-tools/tree/0.0.9) (2012-12-08)
396
+
397
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/version-0.0.2...0.0.9)
398
+
399
+ **Merged pull requests:**
400
+
401
+ - fix overflowing text from ps by swapping args for comm [\#17](https://github.com/riemann/riemann-tools/pull/17) ([dch](https://github.com/dch))
402
+ - Fix darwin cpu usage. Show used cpu instead of idle [\#15](https://github.com/riemann/riemann-tools/pull/15) ([henrikno](https://github.com/henrikno))
403
+ - Fix core count on darwin [\#14](https://github.com/riemann/riemann-tools/pull/14) ([henrikno](https://github.com/henrikno))
404
+ - Add riemann-diskstats [\#12](https://github.com/riemann/riemann-tools/pull/12) ([lwf](https://github.com/lwf))
405
+ - Reflect each haproxy config as its own unique status [\#11](https://github.com/riemann/riemann-tools/pull/11) ([perezd](https://github.com/perezd))
406
+ - allow for a commandline configurable TTL. [\#10](https://github.com/riemann/riemann-tools/pull/10) ([perezd](https://github.com/perezd))
407
+ - add host properties to cloudant, haproxy, redis. [\#8](https://github.com/riemann/riemann-tools/pull/8) ([perezd](https://github.com/perezd))
408
+ - adds Cloudant.com shared cluster load balancer statistics/monitoring support [\#7](https://github.com/riemann/riemann-tools/pull/7) ([perezd](https://github.com/perezd))
409
+ - adds haproxy statistics monitoring support for riemann. [\#6](https://github.com/riemann/riemann-tools/pull/6) ([perezd](https://github.com/perezd))
410
+ - adds redis monitoring support to riemann-tools. [\#5](https://github.com/riemann/riemann-tools/pull/5) ([perezd](https://github.com/perezd))
411
+ - Prevent riemann-health from failing to report memory on OpenVZ virtual machines.  [\#4](https://github.com/riemann/riemann-tools/pull/4) ([mindreframer](https://github.com/mindreframer))
412
+ - added a script to report kvm instances running on a host [\#3](https://github.com/riemann/riemann-tools/pull/3) ([wjimenez5271](https://github.com/wjimenez5271))
413
+ - Add --tag option to specify tags [\#2](https://github.com/riemann/riemann-tools/pull/2) ([lwf](https://github.com/lwf))
414
+ - add freebsd and darwin support to riemann-health [\#1](https://github.com/riemann/riemann-tools/pull/1) ([joecaswell](https://github.com/joecaswell))
415
+
416
+ ## [version-0.0.2](https://github.com/riemann/riemann-tools/tree/version-0.0.2) (2012-04-17)
417
+
418
+ [Full Changelog](https://github.com/riemann/riemann-tools/compare/4970399184a9dbec5f4aa247ccfde43b2b9e0dbc...version-0.0.2)
419
+
420
+
421
+
422
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in riemann-tools.gemspec
6
+ gemspec
data/ISSUE_TEMPLATE.md ADDED
@@ -0,0 +1,15 @@
1
+ ## Issue
2
+
3
+ What's the issue...?
4
+
5
+ ### What's your riemann-tools version?
6
+
7
+ To find out use:
8
+
9
+ ```bash
10
+ gem list --local riemann-tools
11
+ ```
12
+
13
+ ### What platform are you on?
14
+
15
+ Operating system, version.
data/README.markdown CHANGED
@@ -1,5 +1,4 @@
1
- Riemann Tools
2
- =============
1
+ # Riemann Tools
3
2
 
4
3
  Tiny programs to submit events to Riemann.
5
4
 
@@ -7,15 +6,16 @@ Riemann-health, for example, submits events about the current CPU, load,
7
6
  memory, and disk use. Also available is `riemann-bench`, which submits
8
7
  randomly distributed metrics for load testing.
9
8
 
10
- Get started
11
- ===========
9
+ [![Gem Version](https://badge.fury.io/rb/riemann-tools.svg)](https://badge.fury.io/rb/riemann-tools) [![CI](https://github.com/riemann/riemann-tools/actions/workflows/ci.yml/badge.svg)](https://github.com/riemann/riemann-tools/actions/workflows/ci.yml)
10
+
11
+ ## Get started
12
12
 
13
13
  ``` bash
14
14
  gem install riemann-tools
15
15
  riemann-health --host my.riemann.server
16
16
  ```
17
- Riemann-tools programs
18
- ======================
17
+
18
+ ## Riemann-tools programs
19
19
 
20
20
  This repository contains a number of different programs. Some of them
21
21
  ship with the `riemann-tools` gem, including:
@@ -44,18 +44,15 @@ ship with the `riemann-tools` gem, including:
44
44
  Also contained in the repository are a number of stand-alone monitoring
45
45
  tools, which are shipped as separate gems.
46
46
 
47
- Riemann stand-alone tools
48
- =========================
47
+ ## Riemann stand-alone tools
49
48
 
50
49
  Use these tools by installing their individual gems, usually named for
51
- the specific tool, for example:
50
+ the specific tool, for example, to install the AWS tools:
52
51
 
53
52
  ```bash
54
53
  gem install riemann-aws
55
54
  ```
56
55
 
57
- To install the AWS tools.
58
-
59
56
  * riemann-aws - Monitor various AWS services.
60
57
  * riemann-elasticsearch - Monitor Elasticsearch.
61
58
  * riemann-mesos - Monitor Mesos.
@@ -69,10 +66,12 @@ To install the AWS tools.
69
66
  There are also a number of additional, stand-alone tools, contained in
70
67
  the [Riemann GitHub account](https://github.com/riemann/).
71
68
 
72
- License
73
- =======
69
+ ## Docker Images
74
70
 
75
- The MIT License
71
+ You can find Docker images for the tools [here](https://hub.docker.com/u/riemannio/dashboard/).
72
+
73
+ ## License
76
74
 
77
- Copyright (c) 2011-2016 Kyle Kingsbury
75
+ The MIT License
78
76
 
77
+ Copyright (c) 2011-2022 Kyle Kingsbury
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'riemann/tools/version'
4
+
5
+ require 'bundler/gem_tasks'
6
+
7
+ require 'github_changelog_generator/task'
8
+
9
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
10
+ config.user = 'riemann'
11
+ config.project = 'riemann-tools'
12
+ config.exclude_labels = ['skip-changelog']
13
+ config.future_release = Riemann::Tools::VERSION
14
+ end
15
+
16
+ desc 'Recursively build all gems'
17
+ task :rbuild do
18
+ Dir.glob('tools/**') do |dir|
19
+ Dir.chdir(dir)
20
+ sh 'rake gem'
21
+ Dir.chdir('../..')
22
+ end
23
+ end
data/SECURITY.md ADDED
@@ -0,0 +1,42 @@
1
+ # Riemann Security and Disclosure Information
2
+ This page describes Riemann security and disclosure information.
3
+
4
+ ## Supported Versions
5
+
6
+ The currently supported version of Riemann for security-patching purposes is always the latest version.
7
+
8
+ ## Security Announcements
9
+
10
+ Will be made on the [Riemann mailing list](https://groups.google.com/g/riemann-users?pli=1).
11
+
12
+ ## Report a Vulnerability
13
+
14
+ We're extremely grateful for security researchers and users that report vulnerabilities to Riemann. All reports are thoroughly investigated by the maintainers.
15
+
16
+ To make a report, you should email the private security@riemann.io list with the details.
17
+
18
+ ## When Should I Report a Vulnerability?
19
+
20
+ * You think you discovered a potential security vulnerability in Riemann.
21
+ * You are unsure how a vulnerability affects Riemann.
22
+ * You think you discovered a vulnerability in another project that Riemann depends on
23
+
24
+ For projects with their own vulnerability reporting and disclosure process, please report it directly there.
25
+
26
+ ## When Should I NOT Report a Vulnerability?
27
+
28
+ * You need help tuning Riemann components for security
29
+ * You need help applying security related updates
30
+ * Your issue is not security related
31
+
32
+ ## Security Vulnerability Response
33
+
34
+ Each report is acknowledged and analyzed within 5 working days.
35
+
36
+ Any vulnerability information shared stays within Riemann project and will not be disseminated to other projects unless it is necessary to get the issue fixed.
37
+
38
+ As the security issue moves from triage, to identified fix, to release planning we will keep the reporter updated.
39
+
40
+ ## Public Disclosure Timing
41
+
42
+ A public disclosure date is negotiated by the Riemann maintainers nd the bug submitter. We prefer to fully disclose the bug as soon as possible once a user mitigation is available. It is reasonable to delay disclosure when the bug or the fix is not yet fully understood, the solution is not well-tested, or for vendor coordination. The timeframe for disclosure is from immediate (especially if it's already publicly known) to a few weeks. For a vulnerability with a straightforward mitigation, we expect report date to disclosure date to be on the order of 7 days. The Riemann maintainers hold the final say when setting a disclosure date.