sensu-plugins-eventstore 0.0.10 → 0.0.11

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/metrics-stats.rb +5 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 034eeb0f31c66eb8f572778670e00eb2ddc04ba9
4
- data.tar.gz: 0fa4195d7d5315a6351c835413323acc28ca2024
3
+ metadata.gz: 1c1126b732eb43df69fe274a7e5c56679af3a434
4
+ data.tar.gz: 9687c022a0728544d93cf7cd58588c9ec57c0c01
5
5
  SHA512:
6
- metadata.gz: a4641143e40ee3721a943a1572defdbe0f3c857abf2e9190707d51fae31b225d3fa9d684df056dae89e30e76c5a6c8e35cf2e1d85c880b3d308f0e00c39d6b8a
7
- data.tar.gz: 5096fa23e7840e26de74030d96b3f9a9e48c8f59212847cb2ce947d5ae2f20925e15063a534d033d1e6d51a4a8df0f966a6ea70bf1f258133cc0f7430352883a
6
+ metadata.gz: c2cdf09262b96b0c7813ee515d091104f665ca493c95613561769398d558f42c5aed5a8498828800ec4add0ff21688b56ae0c5652a8f7bc4a8c4a1942ec5acf1
7
+ data.tar.gz: 11191d4259c444d4e4193186a19c1d53c5c93dd93a79845c12bae36e649cb691ab6e9c240bf68de9de4c915895557c7ee21d6d4d66421ffd13e0fbbb8098f60c
data/bin/metrics-stats.rb CHANGED
@@ -78,8 +78,13 @@ class Stats < Sensu::Plugin::Metric::CLI::Graphite
78
78
  def collect_metrics(address, port)
79
79
  stream_url = "http://#{address}:#{port}/streams/$stats-#{address}:#{port}"
80
80
 
81
+ puts "attempting to open #{stream_url}"
81
82
  stream_temp_file = open stream_url, "Accept" => "application/atom+xml"
82
83
 
84
+ puts "open result:: temp file found? "
85
+
86
+ p stream_temp_file
87
+
83
88
  namespace_regex = / xmlns="[A-Za-z:\/.0-9]+"/
84
89
 
85
90
  #if we don't remove the namespace nokogiri parsing fails
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-eventstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Wroe