sensu-plugins-cgroups 0.0.1.alpha.1 → 0.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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +8 -3
- data/LICENSE +1 -1
- data/README.md +3 -35
- data/lib/sensu-plugins-cgroups/version.rb +28 -0
- data/lib/sensu-plugins-cgroups.rb +10 -3
- data.tar.gz.sig +0 -0
- metadata +15 -12
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 387cba2b3fafcd054dd967bfa30741b9aba7f0c4
|
|
4
|
+
data.tar.gz: 014d145bf4aa6fcb4fd7f42ad8ea3c9a9f1b2561
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6abef2140c738f678b8dfab06d82829503a39ece900465d176fe1234a5bb1a0cb5c4467e0d3dfe1b1c8ef0c20fdefd7aafb896511f57bfc91e97630eadff41c
|
|
7
|
+
data.tar.gz: c91ccdbfabc553f5c6bc8acd791cb2e51fd3b27b736b5afcc924db89edc227388785c04ffc78717ef13b70c85440491d3c429294fe1bea32bf2071ed89d0fa14
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
Change Log
|
|
1
|
+
#Change Log
|
|
2
2
|
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
|
-
|
|
6
|
+
## Unreleased][unreleased]
|
|
7
|
+
|
|
8
|
+
## 0.0.1 - 2015-05-04
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- initial release
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -5,49 +5,17 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cgroups)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-cgroups)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-cgroups)
|
|
8
|
+
[](https://codeship.com/projects/77867)
|
|
8
9
|
|
|
9
10
|
## Functionality
|
|
10
11
|
|
|
11
12
|
## Files
|
|
12
|
-
* bin/metrics-cgroup
|
|
13
|
+
* bin/metrics-cgroup.sh
|
|
13
14
|
|
|
14
15
|
## Usage
|
|
15
16
|
|
|
16
17
|
## Installation
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
|
|
22
|
-
gem install sensu-plugins-cgroups -P MediumSecurity
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
You can also download the key from /certs/ within each repository.
|
|
26
|
-
|
|
27
|
-
#### Rubygems
|
|
28
|
-
|
|
29
|
-
`gem install sensu-plugins-cgroups`
|
|
30
|
-
|
|
31
|
-
#### Bundler
|
|
32
|
-
|
|
33
|
-
Add *sensu-plugins-cgroups* to your Gemfile and run `bundle install` or `bundle update`
|
|
34
|
-
|
|
35
|
-
#### Chef
|
|
36
|
-
|
|
37
|
-
Using the Sensu **sensu_gem** LWRP
|
|
38
|
-
```
|
|
39
|
-
sensu_gem 'sensu-plugins-cgroups' do
|
|
40
|
-
options('--prerelease')
|
|
41
|
-
version '0.0.1'
|
|
42
|
-
end
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Using the Chef **gem_package** resource
|
|
46
|
-
```
|
|
47
|
-
gem_package 'sensu-plugins-cgroups' do
|
|
48
|
-
options('--prerelease')
|
|
49
|
-
version '0.0.1'
|
|
50
|
-
end
|
|
51
|
-
```
|
|
19
|
+
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
|
|
52
20
|
|
|
53
21
|
## Notes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
|
|
3
|
+
# encoding: utf-8
|
|
4
|
+
module SensuPluginsCgroups
|
|
5
|
+
# This defines the version of the gem
|
|
6
|
+
module Version
|
|
7
|
+
MAJOR = 0
|
|
8
|
+
MINOR = 0
|
|
9
|
+
PATCH = 1
|
|
10
|
+
|
|
11
|
+
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
|
12
|
+
|
|
13
|
+
NAME = 'sensu-plugins-cgroups'
|
|
14
|
+
BANNER = "#{NAME} v%s"
|
|
15
|
+
|
|
16
|
+
module_function
|
|
17
|
+
|
|
18
|
+
def version
|
|
19
|
+
format(BANNER, VER_STRING)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def json_version
|
|
23
|
+
{
|
|
24
|
+
'version' => VER_STRING
|
|
25
|
+
}.to_json
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-cgroups
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.1
|
|
4
|
+
version: 0.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:
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-04
|
|
33
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: sensu-plugin
|
|
@@ -64,16 +64,16 @@ dependencies:
|
|
|
64
64
|
name: rubocop
|
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- -
|
|
67
|
+
- - "~>"
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 0.
|
|
69
|
+
version: '0.30'
|
|
70
70
|
type: :development
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
73
|
requirements:
|
|
74
|
-
- -
|
|
74
|
+
- - "~>"
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: 0.
|
|
76
|
+
version: '0.30'
|
|
77
77
|
- !ruby/object:Gem::Dependency
|
|
78
78
|
name: rspec
|
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -183,6 +183,7 @@ files:
|
|
|
183
183
|
- README.md
|
|
184
184
|
- bin/metrics-cgroup.sh
|
|
185
185
|
- lib/sensu-plugins-cgroups.rb
|
|
186
|
+
- lib/sensu-plugins-cgroups/version.rb
|
|
186
187
|
homepage: https://github.com/sensu-plugins/sensu-plugins-cgroups
|
|
187
188
|
licenses:
|
|
188
189
|
- MIT
|
|
@@ -190,7 +191,10 @@ metadata:
|
|
|
190
191
|
maintainer: ''
|
|
191
192
|
development_status: unmaintained
|
|
192
193
|
production_status: unstable - testing recommended
|
|
193
|
-
|
|
194
|
+
releae_draft: 'false'
|
|
195
|
+
release_prerelease: 'false'
|
|
196
|
+
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
|
197
|
+
in /etc/default/sensu
|
|
194
198
|
rdoc_options: []
|
|
195
199
|
require_paths:
|
|
196
200
|
- lib
|
|
@@ -201,14 +205,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
201
205
|
version: 1.9.3
|
|
202
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
207
|
requirements:
|
|
204
|
-
- - "
|
|
208
|
+
- - ">="
|
|
205
209
|
- !ruby/object:Gem::Version
|
|
206
|
-
version:
|
|
210
|
+
version: '0'
|
|
207
211
|
requirements: []
|
|
208
212
|
rubyforge_project:
|
|
209
|
-
rubygems_version: 2.
|
|
213
|
+
rubygems_version: 2.4.6
|
|
210
214
|
signing_key:
|
|
211
215
|
specification_version: 4
|
|
212
216
|
summary: Sensu plugins for workign with cgroups
|
|
213
217
|
test_files: []
|
|
214
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
|
Binary file
|