sensu-plugins-environmental-checks 0.0.1.alpha.1 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +10 -2
- data/LICENSE +1 -1
- data/README.md +3 -35
- data/lib/sensu-plugins-environmental-checks.rb +11 -4
- data/lib/sensu-plugins-environmental-checks/version.rb +28 -0
- metadata +15 -40
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8692df4637e706f9736499c1db4cf8ab76e8965c
|
4
|
+
data.tar.gz: 757f5f2974e52d1005ceede5716cd68bcd3ed0b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f6cc69e1c375d36a7a2ac5c6d831932859b2b02e8aecf57ed2046620d293c3fd7891bae8eed162e0ecbf07f1765fa826989faa3e3a13818571f9cf06403fac0
|
7
|
+
data.tar.gz: 0b4a852999f527b161df204580297e39861c617aa03128f090e2004abdc27ee97206c252300a0a63a3cc729304140211c1f03c9e679a0cc581e7df2891c5a96a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
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
|
+
|
6
|
+
## Unreleased][unreleased]
|
7
|
+
|
8
|
+
## 0.0.1 - 2015-05-21
|
9
|
+
|
10
|
+
### Added
|
11
|
+
- initial release
|
12
|
+
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -5,49 +5,17 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-environmental-checks/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-environmental-checks)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-environmental-checks/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-environmental-checks)
|
7
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-environmental-checks.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-environmental-checks)
|
8
|
+
[ ![Codeship Status for sensu-plugins/sensu-plugins-environmental-checks](https://codeship.com/projects/197d8a50-db3b-0132-5591-5ad94843e341/status?branch=master)](https://codeship.com/projects/79574)
|
8
9
|
|
9
10
|
## Functionality
|
10
11
|
|
11
12
|
## Files
|
12
|
-
* bin/metrics-temperature
|
13
|
+
* bin/metrics-temperature.rb
|
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-environmental-checks -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-environmental-checks`
|
30
|
-
|
31
|
-
#### Bundler
|
32
|
-
|
33
|
-
Add *sensu-plugins-environmental-checks* 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-environmental-checks' 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-environmental-checks' 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
|
@@ -1,7 +1,14 @@
|
|
1
|
+
require 'sensu-plugins-environmental-checks/version'
|
2
|
+
|
3
|
+
# Load the defaults
|
4
|
+
|
1
5
|
#
|
2
|
-
#
|
6
|
+
# Default class
|
3
7
|
#
|
4
|
-
module
|
5
|
-
|
6
|
-
|
8
|
+
module SensuPluginsEnvironmantalChecks
|
9
|
+
class << self
|
10
|
+
end
|
11
|
+
|
12
|
+
class << self
|
13
|
+
end
|
7
14
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
# encoding: utf-8
|
4
|
+
module SensuPluginsEnvironmentalChecks
|
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-environmental-checks'
|
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
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-environmental-checks
|
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,36 +30,8 @@ cert_chain:
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-05-22 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rest-client
|
37
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - '='
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 1.8.0
|
42
|
-
type: :runtime
|
43
|
-
prerelease: false
|
44
|
-
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - '='
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: 1.8.0
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: json
|
51
|
-
requirement: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - '='
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 1.8.2
|
56
|
-
type: :runtime
|
57
|
-
prerelease: false
|
58
|
-
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - '='
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 1.8.2
|
63
35
|
- !ruby/object:Gem::Dependency
|
64
36
|
name: sensu-plugin
|
65
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,16 +64,16 @@ dependencies:
|
|
92
64
|
name: rubocop
|
93
65
|
requirement: !ruby/object:Gem::Requirement
|
94
66
|
requirements:
|
95
|
-
- -
|
67
|
+
- - "~>"
|
96
68
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
69
|
+
version: '0.30'
|
98
70
|
type: :development
|
99
71
|
prerelease: false
|
100
72
|
version_requirements: !ruby/object:Gem::Requirement
|
101
73
|
requirements:
|
102
|
-
- -
|
74
|
+
- - "~>"
|
103
75
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
76
|
+
version: '0.30'
|
105
77
|
- !ruby/object:Gem::Dependency
|
106
78
|
name: rspec
|
107
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -211,6 +183,7 @@ files:
|
|
211
183
|
- README.md
|
212
184
|
- bin/metrics-temperature.rb
|
213
185
|
- lib/sensu-plugins-environmental-checks.rb
|
186
|
+
- lib/sensu-plugins-environmental-checks/version.rb
|
214
187
|
homepage: https://github.com/sensu-plugins/sensu-plugins-environmental-checks
|
215
188
|
licenses:
|
216
189
|
- MIT
|
@@ -218,7 +191,10 @@ metadata:
|
|
218
191
|
maintainer: ''
|
219
192
|
development_status: unmaintained
|
220
193
|
production_status: unstable - testing recommended
|
221
|
-
|
194
|
+
release_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
|
222
198
|
rdoc_options: []
|
223
199
|
require_paths:
|
224
200
|
- lib
|
@@ -229,14 +205,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
229
205
|
version: 1.9.3
|
230
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
207
|
requirements:
|
232
|
-
- - "
|
208
|
+
- - ">="
|
233
209
|
- !ruby/object:Gem::Version
|
234
|
-
version:
|
210
|
+
version: '0'
|
235
211
|
requirements: []
|
236
212
|
rubyforge_project:
|
237
|
-
rubygems_version: 2.
|
213
|
+
rubygems_version: 2.4.6
|
238
214
|
signing_key:
|
239
215
|
specification_version: 4
|
240
216
|
summary: Sensu plugins for environmental-checks
|
241
217
|
test_files: []
|
242
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
[�����JU�8�cy+ʗ�d��5�����@��*u����Je���g�yBG�B{c�'Fҍ?��Ϭm���^�y�i�ۧ[}�\]0GJQ����8�;aR�;c���R������E���R�ڃ�&�~ֻ�����36���H�`&Fhz7�;~������3��L�
|
2
|
+
k�R������6�̅T?���<�*Z��E��c�@�G�?!��#5�.�6M��4ͨ���<�͕���!&r����;n%J
|