sumo-check-es 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sumo-metric-es_thread_pool.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 651349ff95f0552c261acf0395ab0f5ec254a898
|
4
|
+
data.tar.gz: 539a072fd0e6cc19bb1e94af7767c33a53ea3596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f247cb529e11ba7a816d8949c232efd77c1c004d036026def45744b91fd81d5f89bf540dd5c2324d04dfb68e485ee707b6cd9032fc1365626ea7d57420611989
|
7
|
+
data.tar.gz: bef560f65c40248897404a95a4458607b0ecfae337e2e237f874a59e0f5cf81453727468b13e53dd0900a5d2922ed9051e42625c5be209b48513c63643e3b412
|
@@ -13,7 +13,7 @@ class SensuMetricEsSubscriberRate < Sensu::Plugin::Metric::CLI::Graphite
|
|
13
13
|
|
14
14
|
def run
|
15
15
|
return_data = []
|
16
|
-
response=RestClient.get "
|
16
|
+
response=RestClient.get "#{config[:server].strip}/_cat/thread_pool", {params: {format: 'json', 'pretty' => true}}
|
17
17
|
if response.code == 200
|
18
18
|
data = JSON.parse(response.body)
|
19
19
|
data.each do |i|
|