riemann-elasticsearch 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/riemann-elasticsearch +9 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1d5fdcdfeec60e37d99c306b4e1f32d59d0e5fe
|
4
|
+
data.tar.gz: 945ba73074b7c6ea7a96122496bcf42e01bea58e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0e0f211fe1c36196602931a8da00e2323484be96675e25043656daa6a627227fadf58fd4a43e69775771393ae6516e681bcde453f6000c096c00cdd292a54e9
|
7
|
+
data.tar.gz: 0f7a367f4a3657330fc2f2d89074baf9b48539e5cdf5d61ab0c3873479156aeb95bee17a897af3ed8d96c41aaf10b6c78b45dbcaffd5c16be594957c85ca345b
|
data/bin/riemann-elasticsearch
CHANGED
@@ -115,8 +115,15 @@ class Riemann::Tools::Elasticsearch
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def tick
|
118
|
-
|
119
|
-
|
118
|
+
begin
|
119
|
+
tick_indices
|
120
|
+
tick_search
|
121
|
+
rescue Exception => e
|
122
|
+
report(:host => options[:es_host],
|
123
|
+
:service => "elasticsearch error",
|
124
|
+
:state => "critical",
|
125
|
+
:description => "Elasticsearch cluster error: #{e.message}")
|
126
|
+
end
|
120
127
|
uri = URI(health_url)
|
121
128
|
response = safe_get(uri)
|
122
129
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riemann-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Sandie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: riemann-tools
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project: riemann-elasticsearch
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.5.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Submits elasticsearch stats to riemann.
|