sensu-plugins-ssl 0.0.1.alpha.2 → 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 +1 -1
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +7 -8
- data/LICENSE +1 -1
- data/README.md +2 -34
- data/bin/check-ssl-cert.rb +1 -1
- data/bin/check-ssl-host.rb +1 -1
- data/lib/sensu-plugins-ssl/version.rb +1 -1
- metadata +34 -18
- 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: 2e256afe06eb0c4feddeacf394ec8a3b3d611028
|
|
4
|
+
data.tar.gz: d48dc48ae586950e4fffc0e4775c47760201e319
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e3fb8934d62f013182cd65d600d1112644d4b1cebf1a83938bff3f4b280f960f47b8fb91986a6aeebed5875a16599c562df5d75103b681068f03f2f04cdfb95
|
|
7
|
+
data.tar.gz: a7afbdf26b6a0fcc34c9cf9d5aaf2550a0d4ffb0c0efb8219f12b3e93f3cf6cb9897c82c8f2893cb706c9c049aa28fd239b476a8b9fe307bf89bf965b02fd887
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
��5Ro��}�xU���c[Â�tmY:��Xܔ��Bz';L��M�C��ПBŁ/y�\�r�W��I��]�(�?��hs|��)jЌc���B�n���^��W�ۤ�чp)=إ8�qo:@�{���
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
#Change Log
|
|
2
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
## Unreleased][unreleased]
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
* add metadata to gem
|
|
9
|
-
* add new bump and version tasks
|
|
10
|
-
* add new version module
|
|
11
|
-
* update readme
|
|
8
|
+
## 0.0.1 - 2015-05-21
|
|
12
9
|
|
|
10
|
+
### Added
|
|
11
|
+
- initial release
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ssl)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ssl)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-ssl)
|
|
8
|
+
[ ](https://codeship.com/projects/81513)
|
|
8
9
|
|
|
9
10
|
## Functionality
|
|
10
11
|
|
|
@@ -16,39 +17,6 @@
|
|
|
16
17
|
|
|
17
18
|
## Installation
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
|
|
23
|
-
gem install sensu-plugins-ssl -P MediumSecurity
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
You can also download the key from /certs/ within each repository.
|
|
27
|
-
|
|
28
|
-
#### Rubygems
|
|
29
|
-
|
|
30
|
-
`gem install sensu-plugins-ssl`
|
|
31
|
-
|
|
32
|
-
#### Bundler
|
|
33
|
-
|
|
34
|
-
Add *sensu-plugins-ssl* to your Gemfile and run `bundle install` or `bundle update`
|
|
35
|
-
|
|
36
|
-
#### Chef
|
|
37
|
-
|
|
38
|
-
Using the Sensu **sensu_gem** LWRP
|
|
39
|
-
```
|
|
40
|
-
sensu_gem 'sensu-plugins-ssl' do
|
|
41
|
-
options('--prerelease')
|
|
42
|
-
version '0.0.1.alpha.1'
|
|
43
|
-
end
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Using the Chef **gem_package** resource
|
|
47
|
-
```
|
|
48
|
-
gem_package 'sensu-plugins-ssl' do
|
|
49
|
-
options('--prerelease')
|
|
50
|
-
version '0.0.1.alpha.1'
|
|
51
|
-
end
|
|
52
|
-
```
|
|
20
|
+
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
|
|
53
21
|
|
|
54
22
|
## Notes
|
data/bin/check-ssl-cert.rb
CHANGED
|
@@ -64,7 +64,7 @@ class CheckSSLCert < Sensu::Plugin::Check::CLI
|
|
|
64
64
|
long: '--port PORT'
|
|
65
65
|
|
|
66
66
|
def ssl_cert_expiry
|
|
67
|
-
`openssl s_client -connect #{config[:host]}:#{config[:port]} < /dev/null 2>&1 | openssl x509 -enddate -noout`.split('=').last
|
|
67
|
+
`openssl s_client -servername #{config[:host]} -connect #{config[:host]}:#{config[:port]} < /dev/null 2>&1 | openssl x509 -enddate -noout`.split('=').last
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
def ssl_pem_expiry
|
data/bin/check-ssl-host.rb
CHANGED
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-ssl
|
|
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-
|
|
33
|
+
date: 2015-05-22 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: sensu-plugin
|
|
@@ -46,6 +46,20 @@ dependencies:
|
|
|
46
46
|
- - '='
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
48
|
version: 1.1.0
|
|
49
|
+
- !ruby/object:Gem::Dependency
|
|
50
|
+
name: openssl
|
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - '='
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: 1.0.0.beta
|
|
56
|
+
type: :runtime
|
|
57
|
+
prerelease: false
|
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
59
|
+
requirements:
|
|
60
|
+
- - '='
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: 1.0.0.beta
|
|
49
63
|
- !ruby/object:Gem::Dependency
|
|
50
64
|
name: codeclimate-test-reporter
|
|
51
65
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -61,33 +75,33 @@ dependencies:
|
|
|
61
75
|
- !ruby/object:Gem::Version
|
|
62
76
|
version: '0.4'
|
|
63
77
|
- !ruby/object:Gem::Dependency
|
|
64
|
-
name:
|
|
78
|
+
name: rspec
|
|
65
79
|
requirement: !ruby/object:Gem::Requirement
|
|
66
80
|
requirements:
|
|
67
|
-
- -
|
|
81
|
+
- - "~>"
|
|
68
82
|
- !ruby/object:Gem::Version
|
|
69
|
-
version:
|
|
83
|
+
version: '3.1'
|
|
70
84
|
type: :development
|
|
71
85
|
prerelease: false
|
|
72
86
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
87
|
requirements:
|
|
74
|
-
- -
|
|
88
|
+
- - "~>"
|
|
75
89
|
- !ruby/object:Gem::Version
|
|
76
|
-
version:
|
|
90
|
+
version: '3.1'
|
|
77
91
|
- !ruby/object:Gem::Dependency
|
|
78
|
-
name:
|
|
92
|
+
name: rubocop
|
|
79
93
|
requirement: !ruby/object:Gem::Requirement
|
|
80
94
|
requirements:
|
|
81
95
|
- - "~>"
|
|
82
96
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: '
|
|
97
|
+
version: '0.30'
|
|
84
98
|
type: :development
|
|
85
99
|
prerelease: false
|
|
86
100
|
version_requirements: !ruby/object:Gem::Requirement
|
|
87
101
|
requirements:
|
|
88
102
|
- - "~>"
|
|
89
103
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: '
|
|
104
|
+
version: '0.30'
|
|
91
105
|
- !ruby/object:Gem::Dependency
|
|
92
106
|
name: bundler
|
|
93
107
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -172,7 +186,7 @@ dependencies:
|
|
|
172
186
|
- - "~>"
|
|
173
187
|
- !ruby/object:Gem::Version
|
|
174
188
|
version: '0.10'
|
|
175
|
-
description: Sensu plugins for
|
|
189
|
+
description: Sensu plugins for working with SSL
|
|
176
190
|
email: "<sensu-users@googlegroups.com>"
|
|
177
191
|
executables: []
|
|
178
192
|
extensions: []
|
|
@@ -192,7 +206,10 @@ metadata:
|
|
|
192
206
|
maintainer: ''
|
|
193
207
|
development_status: active
|
|
194
208
|
production_status: unstable - testing recommended
|
|
195
|
-
|
|
209
|
+
release_draft: 'false'
|
|
210
|
+
release_prerelease: 'false'
|
|
211
|
+
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
|
212
|
+
in /etc/default/sensu
|
|
196
213
|
rdoc_options: []
|
|
197
214
|
require_paths:
|
|
198
215
|
- lib
|
|
@@ -203,14 +220,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
203
220
|
version: 1.9.3
|
|
204
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
222
|
requirements:
|
|
206
|
-
- - "
|
|
223
|
+
- - ">="
|
|
207
224
|
- !ruby/object:Gem::Version
|
|
208
|
-
version:
|
|
225
|
+
version: '0'
|
|
209
226
|
requirements: []
|
|
210
227
|
rubyforge_project:
|
|
211
|
-
rubygems_version: 2.
|
|
228
|
+
rubygems_version: 2.4.6
|
|
212
229
|
signing_key:
|
|
213
230
|
specification_version: 4
|
|
214
|
-
summary: Sensu plugins for
|
|
231
|
+
summary: Sensu plugins for working with ssl
|
|
215
232
|
test_files: []
|
|
216
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
|
Binary file
|