sensu-plugins-io-checks 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/metrics-ioping.rb +6 -2
- data/bin/metrics-iostat-extended.rb +8 -1
- data/lib/sensu-plugins-io-checks/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82a41405063ed805abbd8e6b8ee0c797479e4de3
|
|
4
|
+
data.tar.gz: de595423593dbee2d900a167d4bc2877d731901d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b47d66935de7ff780fea39e75a3c32a8e3215cb75944ba6a623949a322b4088949566ce6f4b2ae763bbdf6a247700dfa3d93fc39757c42f5a3240bf5c9427928
|
|
7
|
+
data.tar.gz: 02750f904c9684fc79df0d23b21971bf704d619cd57ed9be16dbfc31f59bdcc192d3bf4a4cd7a8a4776a7a98306bf652edd9270baa7386b4b7d3b43613fd58bb
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2017-0702
|
|
9
|
+
### Fixed
|
|
10
|
+
- [ioping](https://github.com/koct9i/ioping) is switching to nanosecond precision - added 'ns' to metrics-ioping.rb (@MattMencel)
|
|
11
|
+
|
|
8
12
|
## [1.0.0] - 2016-06-20
|
|
9
13
|
### Added
|
|
10
14
|
- rspec test cases for metrics-iostat-extended
|
|
@@ -33,7 +37,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
33
37
|
### Added
|
|
34
38
|
- initial release
|
|
35
39
|
|
|
36
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-io-checks/compare/1.0.
|
|
40
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-io-checks/compare/1.0.1...HEAD
|
|
41
|
+
[1.0.1]: https://github.com/sensu-plugins/sensu-plugins-io-checks/compare/1.0.0...1.0.1
|
|
37
42
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-io-checks/compare/0.0.3...1.0.0
|
|
38
43
|
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-io-checks/compare/0.0.2...0.0.3
|
|
39
44
|
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-io-checks/compare/0.0.1...0.0.2
|
data/bin/metrics-ioping.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#! /usr/bin/env ruby
|
|
2
2
|
# encoding: UTF-8
|
|
3
3
|
#
|
|
4
|
-
# ioping
|
|
4
|
+
# metrics-ioping
|
|
5
5
|
#
|
|
6
6
|
# DESCRIPTION:
|
|
7
7
|
# Push ioping stats into graphite
|
|
@@ -17,8 +17,11 @@
|
|
|
17
17
|
# gem: socket
|
|
18
18
|
#
|
|
19
19
|
# USAGE:
|
|
20
|
+
# Collect IO metrics from /dev/sda
|
|
21
|
+
# metrics-ioping.rb -n sda -d /dev/sda
|
|
20
22
|
#
|
|
21
23
|
# NOTES:
|
|
24
|
+
# The ioping command must be installed
|
|
22
25
|
#
|
|
23
26
|
# LICENSE:
|
|
24
27
|
# Copyright 2014 Mitsutoshi Aoe <maoe@foldr.in>
|
|
@@ -94,8 +97,9 @@ class IOPingMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
94
97
|
end
|
|
95
98
|
|
|
96
99
|
NUMBER = /\d+(?:\.\d+)?/
|
|
97
|
-
TIME_UNIT = /(?:us|ms|s|min|hour|day)/
|
|
100
|
+
TIME_UNIT = /(?:ns|us|ms|s|min|hour|day)/
|
|
98
101
|
TIME_UNITS = {
|
|
102
|
+
'ns' => 1e-9,
|
|
99
103
|
'us' => 1e-6,
|
|
100
104
|
'ms' => 1e-3,
|
|
101
105
|
's' => 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#! /usr/bin/env ruby
|
|
2
2
|
# encoding: UTF-8
|
|
3
3
|
#
|
|
4
|
-
# iostat-extended
|
|
4
|
+
# metrics-iostat-extended
|
|
5
5
|
#
|
|
6
6
|
# DESCRIPTION:
|
|
7
7
|
# This plugin collects iostat data for a specified disk or all disks.
|
|
@@ -19,8 +19,15 @@
|
|
|
19
19
|
# gem: socket
|
|
20
20
|
#
|
|
21
21
|
# USAGE:
|
|
22
|
+
# Collect metrics for all disks
|
|
23
|
+
# metrics-iostat-extended.rb
|
|
24
|
+
#
|
|
25
|
+
# Collect metrics for /dev/sda for 3 seconds
|
|
26
|
+
# metrics-iostat-extended.rb -d /dev/sda -i 3
|
|
22
27
|
#
|
|
23
28
|
# NOTES:
|
|
29
|
+
# The iostat command must be installed. On Debian/Redhat systems
|
|
30
|
+
# iostat is part of the sysstat package.
|
|
24
31
|
#
|
|
25
32
|
# LICENSE:
|
|
26
33
|
# Peter Fern <ruby@0xc0dedbad.com>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-io-checks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -194,9 +194,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
194
194
|
version: '0'
|
|
195
195
|
requirements: []
|
|
196
196
|
rubyforge_project:
|
|
197
|
-
rubygems_version: 2.5
|
|
197
|
+
rubygems_version: 2.4.5
|
|
198
198
|
signing_key:
|
|
199
199
|
specification_version: 4
|
|
200
200
|
summary: Sensu plugins for io checks
|
|
201
201
|
test_files: []
|
|
202
|
-
has_rdoc:
|