riemann-tools 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +2 -0
- data/lib/riemann/tools.rb +3 -3
- metadata +34 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7b108f77ccf16849326ff4251b12fb04480f64
|
4
|
+
data.tar.gz: b15de1ca4c0211c6de67c6c9efc3ec3299a0d16d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd0786c48082530b1e6113503d14164814651209cc60fd1a439f54ab7d5393f1bd1241d18a24c87febb1810ac4a5d830bb2d89982cf3c838436e7d7846420f76
|
7
|
+
data.tar.gz: e0590e66df6a87761b364a18adca37ae887ff2a23f745d41916637e2fe12bb447bf42247bbdf206e87684557cee7824bf866dacee55bd515c022c61aa85e5e0b
|
data/README.markdown
CHANGED
@@ -7,6 +7,8 @@ Riemann-health, for example, submits events about the current CPU, load,
|
|
7
7
|
memory, and disk use. Also available is `riemann-bench`, which submits
|
8
8
|
randomly distributed metrics for load testing.
|
9
9
|
|
10
|
+
[![Gem Version](https://badge.fury.io/rb/riemann-tools.svg)](https://badge.fury.io/rb/riemann-tools)
|
11
|
+
|
10
12
|
Get started
|
11
13
|
===========
|
12
14
|
|
data/lib/riemann/tools.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Riemann
|
2
2
|
module Tools
|
3
|
-
require '
|
3
|
+
require 'optimist'
|
4
4
|
require 'riemann/client'
|
5
5
|
|
6
6
|
def self.included(base)
|
@@ -16,11 +16,11 @@ module Riemann
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def options
|
19
|
-
p =
|
19
|
+
p = Optimist::Parser.new
|
20
20
|
@opts.each do |o|
|
21
21
|
p.send *o
|
22
22
|
end
|
23
|
-
|
23
|
+
Optimist::with_standard_exception_handling(p) do
|
24
24
|
p.parse ARGV
|
25
25
|
end
|
26
26
|
end
|
metadata
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riemann-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Kingsbury
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: riemann-client
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.2'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 0.2.6
|
@@ -21,23 +24,32 @@ dependencies:
|
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.2'
|
24
30
|
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 0.2.6
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
34
|
+
name: optimist
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.0'
|
31
40
|
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
42
|
+
version: 3.0.0
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '3.0'
|
38
50
|
- - ">="
|
39
51
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
52
|
+
version: 3.0.0
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: json
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,29 +64,29 @@ dependencies:
|
|
52
64
|
- - "~>"
|
53
65
|
- !ruby/object:Gem::Version
|
54
66
|
version: '1.8'
|
55
|
-
description:
|
67
|
+
description: Collection of utilities which submit events to Riemann.
|
56
68
|
email: aphyr@aphyr.com
|
57
69
|
executables:
|
58
|
-
- riemann-
|
59
|
-
- riemann-
|
60
|
-
- riemann-
|
70
|
+
- riemann-apache-status
|
71
|
+
- riemann-varnish
|
72
|
+
- riemann-consul
|
61
73
|
- riemann-net
|
62
|
-
- riemann-
|
63
|
-
- riemann-
|
74
|
+
- riemann-diskstats
|
75
|
+
- riemann-portcheck
|
76
|
+
- riemann-memcached
|
64
77
|
- riemann-zookeeper
|
65
|
-
- riemann-
|
66
|
-
- riemann-
|
67
|
-
- riemann-
|
68
|
-
- riemann-apache-status
|
78
|
+
- riemann-health
|
79
|
+
- riemann-dir-space
|
80
|
+
- riemann-cloudant
|
69
81
|
- riemann-nginx-status
|
70
82
|
- riemann-proc
|
71
|
-
- riemann-
|
83
|
+
- riemann-haproxy
|
84
|
+
- riemann-freeswitch
|
72
85
|
- riemann-ntp
|
73
|
-
- riemann-
|
74
|
-
- riemann-
|
75
|
-
- riemann-
|
76
|
-
- riemann-
|
77
|
-
- riemann-cloudant
|
86
|
+
- riemann-fd
|
87
|
+
- riemann-dir-files-count
|
88
|
+
- riemann-bench
|
89
|
+
- riemann-kvminstance
|
78
90
|
extensions: []
|
79
91
|
extra_rdoc_files: []
|
80
92
|
files:
|
@@ -121,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
133
|
version: '0'
|
122
134
|
requirements: []
|
123
135
|
rubyforge_project: riemann-tools
|
124
|
-
rubygems_version: 2.6.
|
136
|
+
rubygems_version: 2.6.14
|
125
137
|
signing_key:
|
126
138
|
specification_version: 4
|
127
139
|
summary: Utilities which submit events to Riemann.
|