sensu-plugin-collectd 0.1.1 → 0.2.1

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: dd0018fa8411d7d0d1d4c4c2f3f3318cd1d2049e
4
- data.tar.gz: 27988bf80e4aa802886b2221448670e354998a8d
3
+ metadata.gz: 9321aaa97960d369de4b5c2a9323b1cf80e6dd62
4
+ data.tar.gz: 96752a7284951ed5c09323a4b734eed954449fa9
5
5
  SHA512:
6
- metadata.gz: bedd741b536d70648592a5fc9a41b6a0fae81a646ad96df59178f4c081d5ecec5490f2dbdfafa3e542a13a1c67117e77ad423dec2ee462acf844b0fcc75d95fc
7
- data.tar.gz: 6eda7d5fdffd59bc5bf0ffdaf524b3bff9250a3394ca8d4275e64b88a910216a9c2e9b46e3a6706f3a6f36e828e07d5f96316045b45d366784c5ad523ee5933e
6
+ metadata.gz: 76cc58acb165b8054f04c7ac64eaf1f2a8ebaddb56ab5016fc67f156089c7318e628e2b1cf27504f0a0f2bd8bdd833b250d53cf472f5c22b74100185046721cd
7
+ data.tar.gz: 2827fe5f367314e95d8c2f9fbfdcd83071fc15b26cced4622cee78fa9d9b6ef84ccb54cfa3e150c955679c99a09f93f19c3fa035f2a336388ab5c7918251a720
data/CHANGELOG.md ADDED
File without changes
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ MIT License
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -11,6 +11,11 @@ https://github.com/sensu-plugins
11
11
  Use the latest version of the `check-collectd-socket-metric.rb` from releases.
12
12
  See the [sensu installation instructions](http://sensu-plugins.io/docs/installation_instructions.html)
13
13
 
14
+ This plugin is available as a gem, so you can do
15
+ ```bash
16
+ gem install sensu-plugin-collectd
17
+ ```
18
+
14
19
  ## Collectd: what you need to know to use this plugin
15
20
  To use this sensu check you need to be at least vaguely familiar with collectd. You can check [the docs](https://collectd.org/documentation.shtml). What you will need to know is the name of the metric, and the metric from the list you want to alert on. If you want to see all the metrics available in a machine:
16
21
 
@@ -2,7 +2,7 @@ module Sensu
2
2
  module Plugin
3
3
  module Collectd
4
4
  MAJOR = 0
5
- MINOR = 1
5
+ MINOR = 2
6
6
  PATCH = 1
7
7
 
8
8
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugin-collectd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pilar Gomez
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-25 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -69,22 +69,22 @@ dependencies:
69
69
  description:
70
70
  email:
71
71
  - mp.gomezmoya@gmail.com
72
- executables: []
72
+ executables:
73
+ - check-collectd-socket-metric.rb
73
74
  extensions: []
74
75
  extra_rdoc_files: []
75
76
  files:
76
- - ".gitignore"
77
- - Gemfile
77
+ - CHANGELOG.md
78
+ - LICENSE
78
79
  - README.md
79
- - Rakefile
80
80
  - bin/check-collectd-socket-metric.rb
81
81
  - bin/console
82
82
  - bin/setup
83
83
  - lib/sensu-plugin-collectd.rb
84
84
  - lib/sensu-plugin-collectd/version.rb
85
- - sensu-plugin-collectd.gemspec
86
85
  homepage: https://github.com/mpgomez/sensu-plugin-collectd
87
- licenses: []
86
+ licenses:
87
+ - MIT
88
88
  metadata: {}
89
89
  post_install_message:
90
90
  rdoc_options: []
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /pkg/
5
- /spec/reports/
6
- /tmp/
7
- *.bundle
8
- .idea/*
9
- *.gem
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- require "bundler/gem_tasks"
2
- task :default => :spec
@@ -1,29 +0,0 @@
1
-
2
- lib = File.expand_path("../lib", __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "sensu-plugin-collectd/version"
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "sensu-plugin-collectd"
8
- spec.version = Sensu::Plugin::Collectd::VER_STRING
9
- spec.authors = ["Pilar Gomez"]
10
- spec.email = ["mp.gomezmoya@gmail.com"]
11
-
12
- spec.summary = 'Sensu plugin to pull metrics from the collectd socket'
13
- spec.homepage = "https://github.com/mpgomez/sensu-plugin-collectd"
14
-
15
- # Specify which files should be added to the gem when it is released.
16
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
17
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
18
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
- end
20
- spec.bindir = "exe"
21
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
- spec.require_paths = ["lib"]
23
-
24
- spec.add_runtime_dependency "sensu-plugin", "~> 1.2"
25
-
26
- spec.add_development_dependency "bundler", "~> 2.0"
27
- spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency "rspec", "~> 3.4"
29
- end