sensu-plugins-chrony 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cac8096899909e07539a3cb15728b38b3825ac9
4
- data.tar.gz: 37a753949e0a60708685275b7319b4474d20004d
3
+ metadata.gz: 61897a11958c84be26ba2c26c6f6b0adc179069d
4
+ data.tar.gz: 9adfdeeb69502f704a852237c6629bafc083a1aa
5
5
  SHA512:
6
- metadata.gz: b34f1d7f6c39d2bcef2cb16273d4917e58062184829e5c71a2dbc3db123764fbf4d2f08de0b244775b26212feb83aaad6f54b90f22522ddfb0df91d998c7ecb5
7
- data.tar.gz: 2f149cf30bbe0c876e139ba363806ec7a4c680e1cf6a8c4ba5bc5b8f285b96b0969a97b828ac93398c1e70b5b2da38a7f6f1b4907876170c841f53797fdf81ec
6
+ metadata.gz: 9b3c7b14b75c7fff195b33240384630b2857bb38fe55dbed9e17353e3b3568f177ebba2dcdc50b1ffb7b08e27b377c326d0568f809f0aa14c026e7bd9e3a15a2
7
+ data.tar.gz: 91321d38af52a4a405b217601c4b92f7d6e212418115f29bb908a677ecf4a9be7207d5d9b4b9e07129769676f9f8ee8405051ff02ddf18bd04faf50ee59cb85f
@@ -3,7 +3,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
- ## Unreleased
6
+ ## [0.0.9] - 2016-04-05
7
+ ### Added
8
+ - fixed metrics key naming (@vervas)
7
9
 
8
10
  ## [0.0.8] - 2016-04-04
9
11
  ### Added
@@ -73,7 +73,7 @@ class ChronyMetrics < Sensu::Plugin::Metric::CLI::Graphite
73
73
 
74
74
  `chronyc tracking`.scan(pattern).reduce({}) do |hash, parsed|
75
75
  key, val, fraction = parsed
76
- hash[key] = fraction ? val.to_f : val.to_i
76
+ hash[key.downcase.tr(" ", "_")] = fraction ? val.to_f : val.to_i
77
77
  hash
78
78
  end
79
79
  end
@@ -2,7 +2,7 @@ module SensuPluginsChrony
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 8
5
+ PATCH = 9
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-chrony
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-04 00:00:00.000000000 Z
11
+ date: 2016-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin