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 +4 -4
- data/CHANGELOG.md +0 -0
- data/LICENSE +20 -0
- data/README.md +5 -0
- data/lib/sensu-plugin-collectd/version.rb +1 -1
- metadata +9 -9
- data/.gitignore +0 -9
- data/Gemfile +0 -3
- data/Rakefile +0 -2
- data/sensu-plugin-collectd.gemspec +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9321aaa97960d369de4b5c2a9323b1cf80e6dd62
|
4
|
+
data.tar.gz: 96752a7284951ed5c09323a4b734eed954449fa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pilar Gomez
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
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
|
-
-
|
77
|
-
-
|
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
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -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
|