sensu-plugins-dhcp 0.0.1.alpha.1 → 0.0.2
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/CHANGELOG.md +9 -2
- data/LICENSE +1 -1
- data/README.md +3 -35
- data/lib/sensu-plugins-dhcp/version.rb +28 -0
- data/lib/sensu-plugins-dhcp.rb +10 -3
- data.tar.gz.sig +0 -0
- metadata +17 -14
- 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: 62244fc0707e11988f13822b7e4469b918a3ff04
|
4
|
+
data.tar.gz: 4cf30abe9f121f5022b77f831790387d3fe07b82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa3bc56fc5b09658d3d0132d0ab31d494da2d95a3ac8c2f79406d61f34cd131d1a4c8fa49fd31bce11e91112f566f0b49decbc3ef86f3cf28369022f584bca6f
|
7
|
+
data.tar.gz: dac0c9b3e2258fb6f295268b4cf707b3768f0b7ea6a1a34897e758e04b4e3befbe7111899d14c4565b15e4d0c9587ca92e85d557adb89a47be1245a2bd37f0e1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +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
|
+
|
6
|
+
## Unreleased][unreleased]
|
7
|
+
|
8
|
+
## 0.0.1 - 2015-04-30
|
9
|
+
|
10
|
+
### Added
|
11
|
+
- initial release
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -5,49 +5,17 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dhcp/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dhcp)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dhcp/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-dhcp)
|
7
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-dhcp.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-dhcp)
|
8
|
+
[ ![Codeship Status for sensu-plugins/sensu-plugins-dhcp](https://codeship.com/projects/521b8290-d5ae-0132-348c-26dfd4cc1a97/status?branch=master)](https://codeship.com/projects/78142)
|
8
9
|
|
9
10
|
## Functionality
|
10
11
|
|
11
12
|
## Files
|
12
|
-
* bin/check-dhcp
|
13
|
+
* bin/check-dhcp.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-dhcp -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-dhcp`
|
30
|
-
|
31
|
-
#### Bundler
|
32
|
-
|
33
|
-
Add *sensu-plugins-dhcp* 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-dhcp' 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-dhcp' 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 SensuPluginsDHCP
|
5
|
+
# This defines the version of the gem
|
6
|
+
module Version
|
7
|
+
MAJOR = 0
|
8
|
+
MINOR = 0
|
9
|
+
PATCH = 2
|
10
|
+
|
11
|
+
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
12
|
+
|
13
|
+
NAME = 'sensu-plugins-dhcp'
|
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/lib/sensu-plugins-dhcp.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-dhcp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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-
|
33
|
+
date: 2015-05-06 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,14 +183,18 @@ files:
|
|
183
183
|
- README.md
|
184
184
|
- bin/check-dhcp.rb
|
185
185
|
- lib/sensu-plugins-dhcp.rb
|
186
|
+
- lib/sensu-plugins-dhcp/version.rb
|
186
187
|
homepage: https://github.com/sensu-plugins/sensu-plugins-dhcp
|
187
188
|
licenses:
|
188
189
|
- MIT
|
189
190
|
metadata:
|
190
|
-
maintainer:
|
191
|
-
development_status:
|
191
|
+
maintainer: "@mattyjones"
|
192
|
+
development_status: active
|
192
193
|
production_status: unstable - testing recommended
|
193
|
-
|
194
|
+
release_draft: 'true'
|
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 dhcp
|
213
217
|
test_files: []
|
214
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|