sensu-plugins-openldap 0.0.1 → 2.0.0
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 +5 -5
- data/CHANGELOG.md +46 -3
- data/README.md +4 -5
- data/bin/check-syncrepl.rb +43 -11
- data/bin/metrics-ldap.rb +8 -7
- data/lib/sensu-plugins-openldap.rb +1 -0
- data/lib/sensu-plugins-openldap/version.rb +3 -20
- metadata +53 -59
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 053a42735699a1e59eacfd086cfc6a0fadb5a3a499c477e18d53e1cc4f7468ea
|
4
|
+
data.tar.gz: 44c0acf27ce59c7b8d35779ea6464d1343afdf70443162c24aa4a572a1179579
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9f33f547391c7078ad3be421d0c353db3f63eb9e9561a5763f6685e96cf85445343b05c3b02a15701937a6011a46cecf5b6c04d7c99c079cc13ea78fd7c0934
|
7
|
+
data.tar.gz: 576f8aba2d121576e5e569cc284c784621092fd51fa66a3d32d2c643d765658fa93d0eb4f7d5ac5377b5946c9296b1193fd3bca3b7f9ba1cef3bb1154fd0dc03
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,55 @@
|
|
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
|
-
## Unreleased]
|
6
|
+
## [Unreleased]
|
7
7
|
|
8
|
-
## 0.0
|
8
|
+
## [2.0.0] - 2020-06-22
|
9
|
+
### Breaking Changes
|
10
|
+
- Update minimum required ruby version to 2.3. Drop unsupported ruby versions.
|
11
|
+
- Bump `sensu-plugin` dependency to `~> 4.0`
|
12
|
+
|
13
|
+
### Added
|
14
|
+
- Bonsai asset support
|
15
|
+
- Ruby 2.4.1 testing
|
16
|
+
|
17
|
+
### Changed
|
18
|
+
- Updated bundler dependency to '~> 2.1'
|
19
|
+
- Updated rubocop dependency to '0.81' # last version to support Ruby 2.3
|
20
|
+
- Updated net-ldap dependency to '0.16.2'
|
21
|
+
- Remediated rubocop issues
|
22
|
+
- Updated rake dependency to '~> 13.0'
|
23
|
+
|
24
|
+
### [1.0.1]
|
25
|
+
- Fix #3 : metrics-ldap.rb Error Cannot connect to (@roumano)
|
26
|
+
|
27
|
+
## [1.0.0] - 2017-01-17
|
28
|
+
### Added
|
29
|
+
- check-syncrepl.rb: Add `--ca-certificate`, `--certificate` and `--encryption` options (@moriyoshi)
|
30
|
+
- Ruby 2.3.0 support (@eheydrick)
|
31
|
+
|
32
|
+
### Removed
|
33
|
+
- Ruby < 2.1 support (@eheydrick)
|
34
|
+
|
35
|
+
## [0.0.3] - 2015-07-14
|
36
|
+
### Changed
|
37
|
+
- updated sensu-plugin gem to 1.2.0
|
9
38
|
|
39
|
+
## [0.0.2] - 2015-06-03
|
40
|
+
### Fixed
|
41
|
+
- added binstubs
|
42
|
+
|
43
|
+
### Changed
|
44
|
+
- removed cruft from /lib
|
45
|
+
|
46
|
+
## 0.0.1 - 2015-05-21
|
10
47
|
### Added
|
11
48
|
- initial release
|
12
49
|
|
50
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/2.0.0...HEAD
|
51
|
+
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/1.0.1...2.0.0
|
52
|
+
[1.0.1]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/1.0.0...1.0.1
|
53
|
+
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/0.0.3...1.0.0
|
54
|
+
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/0.0.2...0.0.3
|
55
|
+
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
@@ -1,22 +1,21 @@
|
|
1
1
|
## Sensu-Plugins-openldap
|
2
2
|
|
3
|
-
[](https://travis-ci.org/sensu-plugins/sensu-plugins-openldap)
|
3
|
+
[ ](https://travis-ci.org/sensu-plugins/sensu-plugins-openldap)
|
4
4
|
[](http://badge.fury.io/rb/sensu-plugins-openldap)
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-openldap)
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-openldap)
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-openldap)
|
8
|
-
[ ](https://codeship.com/projects/79575)
|
9
8
|
|
10
9
|
## Functionality
|
11
10
|
|
12
11
|
## Files
|
13
|
-
* bin/check-syncrepl
|
14
|
-
* bin/metrics-ldap
|
12
|
+
* bin/check-syncrepl.rb
|
13
|
+
* bin/metrics-ldap.rb
|
15
14
|
|
16
15
|
## Usage
|
17
16
|
|
18
17
|
## Installation
|
19
18
|
|
20
|
-
[Installation and Setup](
|
19
|
+
[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
|
21
20
|
|
22
21
|
## Notes
|
data/bin/check-syncrepl.rb
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
+
# frozen_string_literal: false
|
3
|
+
|
2
4
|
#
|
3
5
|
# check-syncrepl
|
4
6
|
#
|
5
7
|
# DESCRIPTION:
|
6
|
-
# This plugin checks OpenLDAP
|
8
|
+
# This plugin checks that OpenLDAP Sync replication is working by
|
9
|
+
# comparing the context change sequence number (contextCSN) of
|
10
|
+
# a list of servers.
|
7
11
|
# The plugin will attempt to use an unauthenticated connection if no
|
8
12
|
# user name (with the -u or --user option) and password (with the -p
|
9
13
|
# or --password option) are specified.
|
@@ -22,13 +26,13 @@
|
|
22
26
|
# bind to LDAP without authorisation
|
23
27
|
# ----------------------------------
|
24
28
|
# ./check-syncrepl.rb -h 'ldap1.domain,ldap2.domain'
|
25
|
-
# will compare the contextCSN of the
|
29
|
+
# will compare the contextCSN of the LDAP servers ldap1.domain and
|
26
30
|
# ldap2.domain
|
27
31
|
#
|
28
32
|
# bind to LDAP requiring authorisation
|
29
33
|
# ------------------------------------
|
30
34
|
# ./check-syncrepl.rb -h 'ldap1.domain,ldap2.domain' -u auser -p passwd
|
31
|
-
# will bind to the
|
35
|
+
# will bind to the LDAP servers ldap1.domain and ldap2.domain as user
|
32
36
|
# auser with password passwd and compare the contextCSN
|
33
37
|
#
|
34
38
|
# NOTES:
|
@@ -46,7 +50,7 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
|
|
46
50
|
option :hosts,
|
47
51
|
short: '-h HOSTS',
|
48
52
|
long: '--hosts HOSTS',
|
49
|
-
description: 'Comma
|
53
|
+
description: 'Comma separated list of hosts to compare',
|
50
54
|
required: true,
|
51
55
|
proc: proc { |hosts| hosts.split(',') }
|
52
56
|
|
@@ -78,6 +82,23 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
|
|
78
82
|
long: '--insecure',
|
79
83
|
description: 'Do not use encryption'
|
80
84
|
|
85
|
+
option :encryption,
|
86
|
+
short: '-e ENCRYPTION',
|
87
|
+
long: '--encryption ENCRYPTION',
|
88
|
+
description: 'Encryption method to use. Either simple_tls or start_tls',
|
89
|
+
default: nil,
|
90
|
+
proc: proc(&:to_sym)
|
91
|
+
|
92
|
+
option :cacert,
|
93
|
+
long: '--ca-certificate ENCRYPTION',
|
94
|
+
description: 'Trusted CA certificate for checking the endpoint validity',
|
95
|
+
default: nil
|
96
|
+
|
97
|
+
option :cert,
|
98
|
+
long: '--certificate ENCRYPTION',
|
99
|
+
description: 'Client certificate',
|
100
|
+
default: nil
|
101
|
+
|
81
102
|
option :retries,
|
82
103
|
short: '-r RETRIES',
|
83
104
|
long: '--retries RETRIES',
|
@@ -86,7 +107,7 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
|
|
86
107
|
proc: proc(&:to_i)
|
87
108
|
|
88
109
|
def get_csns(host)
|
89
|
-
if config[:user]
|
110
|
+
if config[:user] # rubocop:disable Style/ConditionalAssignment
|
90
111
|
ldap = Net::LDAP.new host: host,
|
91
112
|
port: config[:port],
|
92
113
|
auth: {
|
@@ -99,8 +120,18 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
|
|
99
120
|
port: config[:port]
|
100
121
|
end
|
101
122
|
|
102
|
-
unless config[:insecure]
|
103
|
-
|
123
|
+
unless (config[:insecure] && config[:encryption].nil?) || config[:encryption] == :none
|
124
|
+
config[:encryption] ||= :simple_tls
|
125
|
+
tls_options = {
|
126
|
+
verify_mode: (config[:insecure] ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER)
|
127
|
+
}
|
128
|
+
if config[:cacert]
|
129
|
+
tls_options[:ca_file] = config[:cacert]
|
130
|
+
end
|
131
|
+
if config[:cert]
|
132
|
+
tls_options[:cert] = open(config[:cert]) { |i| OpenSSL::X509::Certificate.new(i) } # rubocop:disable Security/Open
|
133
|
+
end
|
134
|
+
ldap.encryption(method: config[:encryption], tls_options: tls_options)
|
104
135
|
end
|
105
136
|
|
106
137
|
begin
|
@@ -116,11 +147,12 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
|
|
116
147
|
critical message
|
117
148
|
end
|
118
149
|
end
|
119
|
-
rescue
|
150
|
+
rescue StandardError
|
120
151
|
message = "Cannot connect to #{host}:#{config[:port]}"
|
121
152
|
if config[:user]
|
122
153
|
message += " as #{config[:user]}"
|
123
154
|
end
|
155
|
+
message += e.inspect
|
124
156
|
critical message
|
125
157
|
end
|
126
158
|
|
@@ -138,15 +170,15 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
|
|
138
170
|
@differences = []
|
139
171
|
combinations = csns.keys.combination(2).to_a
|
140
172
|
combinations.each do |hosts|
|
141
|
-
@differences << hosts if (csns[hosts[0]] - csns[hosts[1]]).length > 0
|
173
|
+
@differences << hosts if (csns[hosts[0]] - csns[hosts[1]]).length > 0 # rubocop:disable all
|
142
174
|
end
|
143
175
|
|
144
176
|
# If everything is OK, no need to retry
|
145
|
-
ok 'All nodes are in sync' if @differences.length == 0
|
177
|
+
ok 'All nodes are in sync' if @differences.length == 0 # rubocop:disable all
|
146
178
|
end
|
147
179
|
|
148
180
|
# Hit max retries, report latest differences
|
149
|
-
message = 'ContextCSNs
|
181
|
+
message = 'ContextCSNs differ between: '
|
150
182
|
|
151
183
|
joined = []
|
152
184
|
@differences.each do |different|
|
data/bin/metrics-ldap.rb
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: false
|
3
|
+
|
2
4
|
#
|
3
5
|
# ldap-metrics.rb
|
4
6
|
#
|
@@ -38,9 +40,9 @@ require 'sensu-plugin/utils'
|
|
38
40
|
require 'socket'
|
39
41
|
require 'net/ldap'
|
40
42
|
|
41
|
-
include Sensu::Plugin::Utils
|
42
|
-
|
43
43
|
class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
44
|
+
include Sensu::Plugin::Utils
|
45
|
+
|
44
46
|
option :scheme,
|
45
47
|
description: 'Metric naming scheme, text to prepend to metric',
|
46
48
|
short: '-s SCHEME',
|
@@ -98,7 +100,6 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
98
100
|
|
99
101
|
begin
|
100
102
|
if ldap.bind
|
101
|
-
message += 'So far'
|
102
103
|
metrics = {
|
103
104
|
conn_total: {
|
104
105
|
title: 'connections.total',
|
@@ -131,8 +132,8 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
131
132
|
attribute: 'monitorCounter'
|
132
133
|
}
|
133
134
|
}
|
134
|
-
monitor_ops = %w
|
135
|
-
%w
|
135
|
+
monitor_ops = %w[add modify delete search compare bind unbind]
|
136
|
+
%w[initiated completed].each do |state|
|
136
137
|
monitor_ops.each do |op|
|
137
138
|
metrics["ops_#{op}_#{state}".to_sym] = {
|
138
139
|
title: "operations.#{op}.#{state}",
|
@@ -149,7 +150,7 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
149
150
|
metric[:value] = entry[metric[:attribute]]
|
150
151
|
end
|
151
152
|
end
|
152
|
-
return metrics
|
153
|
+
return metrics # rubocop:disable Style/RedundantReturn
|
153
154
|
else
|
154
155
|
message = "Cannot connect to #{host}:#{config[:port]}"
|
155
156
|
if config[:user]
|
@@ -158,7 +159,7 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
|
|
158
159
|
critical message
|
159
160
|
end
|
160
161
|
end
|
161
|
-
rescue
|
162
|
+
rescue StandardError
|
162
163
|
message = "Cannot connect to #{host}:#{config[:port]}"
|
163
164
|
message += " as #{config[:user]}"
|
164
165
|
critical message
|
@@ -1,28 +1,11 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# encoding: utf-8
|
4
3
|
module SensuPluginsOpenldap
|
5
|
-
# This defines the version of the gem
|
6
4
|
module Version
|
7
|
-
MAJOR =
|
5
|
+
MAJOR = 2
|
8
6
|
MINOR = 0
|
9
|
-
PATCH =
|
7
|
+
PATCH = 0
|
10
8
|
|
11
9
|
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
12
|
-
|
13
|
-
NAME = 'sensu-plugins-openldap'
|
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
10
|
end
|
28
11
|
end
|
metadata
CHANGED
@@ -1,135 +1,113 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-openldap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
|
14
|
-
am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
|
15
|
-
A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
|
16
|
-
CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
|
17
|
-
LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
|
18
|
-
CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
|
19
|
-
zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
|
20
|
-
qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
|
21
|
-
k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
|
22
|
-
oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
|
23
|
-
0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
|
24
|
-
HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
|
25
|
-
QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
|
26
|
-
MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
|
27
|
-
rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
|
28
|
-
UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
|
29
|
-
JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
|
30
|
-
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
|
-
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2015-05-22 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
14
|
+
name: net-ldap
|
37
15
|
requirement: !ruby/object:Gem::Requirement
|
38
16
|
requirements:
|
39
17
|
- - '='
|
40
18
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
19
|
+
version: 0.16.2
|
42
20
|
type: :runtime
|
43
21
|
prerelease: false
|
44
22
|
version_requirements: !ruby/object:Gem::Requirement
|
45
23
|
requirements:
|
46
24
|
- - '='
|
47
25
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
26
|
+
version: 0.16.2
|
49
27
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
28
|
+
name: sensu-plugin
|
51
29
|
requirement: !ruby/object:Gem::Requirement
|
52
30
|
requirements:
|
53
31
|
- - "~>"
|
54
32
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0
|
56
|
-
type: :
|
33
|
+
version: '4.0'
|
34
|
+
type: :runtime
|
57
35
|
prerelease: false
|
58
36
|
version_requirements: !ruby/object:Gem::Requirement
|
59
37
|
requirements:
|
60
38
|
- - "~>"
|
61
39
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0
|
40
|
+
version: '4.0'
|
63
41
|
- !ruby/object:Gem::Dependency
|
64
|
-
name:
|
42
|
+
name: bundler
|
65
43
|
requirement: !ruby/object:Gem::Requirement
|
66
44
|
requirements:
|
67
45
|
- - "~>"
|
68
46
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
47
|
+
version: '2.1'
|
70
48
|
type: :development
|
71
49
|
prerelease: false
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
73
51
|
requirements:
|
74
52
|
- - "~>"
|
75
53
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
54
|
+
version: '2.1'
|
77
55
|
- !ruby/object:Gem::Dependency
|
78
|
-
name:
|
56
|
+
name: codeclimate-test-reporter
|
79
57
|
requirement: !ruby/object:Gem::Requirement
|
80
58
|
requirements:
|
81
59
|
- - "~>"
|
82
60
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
61
|
+
version: '1.0'
|
84
62
|
type: :development
|
85
63
|
prerelease: false
|
86
64
|
version_requirements: !ruby/object:Gem::Requirement
|
87
65
|
requirements:
|
88
66
|
- - "~>"
|
89
67
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
68
|
+
version: '1.0'
|
91
69
|
- !ruby/object:Gem::Dependency
|
92
|
-
name:
|
70
|
+
name: github-markup
|
93
71
|
requirement: !ruby/object:Gem::Requirement
|
94
72
|
requirements:
|
95
73
|
- - "~>"
|
96
74
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
75
|
+
version: '3.0'
|
98
76
|
type: :development
|
99
77
|
prerelease: false
|
100
78
|
version_requirements: !ruby/object:Gem::Requirement
|
101
79
|
requirements:
|
102
80
|
- - "~>"
|
103
81
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
82
|
+
version: '3.0'
|
105
83
|
- !ruby/object:Gem::Dependency
|
106
|
-
name:
|
84
|
+
name: pry
|
107
85
|
requirement: !ruby/object:Gem::Requirement
|
108
86
|
requirements:
|
109
87
|
- - "~>"
|
110
88
|
- !ruby/object:Gem::Version
|
111
|
-
version: '10
|
89
|
+
version: '0.10'
|
112
90
|
type: :development
|
113
91
|
prerelease: false
|
114
92
|
version_requirements: !ruby/object:Gem::Requirement
|
115
93
|
requirements:
|
116
94
|
- - "~>"
|
117
95
|
- !ruby/object:Gem::Version
|
118
|
-
version: '10
|
96
|
+
version: '0.10'
|
119
97
|
- !ruby/object:Gem::Dependency
|
120
|
-
name:
|
98
|
+
name: rake
|
121
99
|
requirement: !ruby/object:Gem::Requirement
|
122
100
|
requirements:
|
123
101
|
- - "~>"
|
124
102
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
103
|
+
version: '13.0'
|
126
104
|
type: :development
|
127
105
|
prerelease: false
|
128
106
|
version_requirements: !ruby/object:Gem::Requirement
|
129
107
|
requirements:
|
130
108
|
- - "~>"
|
131
109
|
- !ruby/object:Gem::Version
|
132
|
-
version: '
|
110
|
+
version: '13.0'
|
133
111
|
- !ruby/object:Gem::Dependency
|
134
112
|
name: redcarpet
|
135
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,36 +123,52 @@ dependencies:
|
|
145
123
|
- !ruby/object:Gem::Version
|
146
124
|
version: '3.2'
|
147
125
|
- !ruby/object:Gem::Dependency
|
148
|
-
name:
|
126
|
+
name: rspec
|
149
127
|
requirement: !ruby/object:Gem::Requirement
|
150
128
|
requirements:
|
151
129
|
- - "~>"
|
152
130
|
- !ruby/object:Gem::Version
|
153
|
-
version: '
|
131
|
+
version: '3.4'
|
154
132
|
type: :development
|
155
133
|
prerelease: false
|
156
134
|
version_requirements: !ruby/object:Gem::Requirement
|
157
135
|
requirements:
|
158
136
|
- - "~>"
|
159
137
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
138
|
+
version: '3.4'
|
161
139
|
- !ruby/object:Gem::Dependency
|
162
|
-
name:
|
140
|
+
name: rubocop
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.81'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.81'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: yard
|
163
155
|
requirement: !ruby/object:Gem::Requirement
|
164
156
|
requirements:
|
165
157
|
- - "~>"
|
166
158
|
- !ruby/object:Gem::Version
|
167
|
-
version: '0.
|
159
|
+
version: '0.8'
|
168
160
|
type: :development
|
169
161
|
prerelease: false
|
170
162
|
version_requirements: !ruby/object:Gem::Requirement
|
171
163
|
requirements:
|
172
164
|
- - "~>"
|
173
165
|
- !ruby/object:Gem::Version
|
174
|
-
version: '0.
|
175
|
-
description: Sensu plugins for
|
166
|
+
version: '0.8'
|
167
|
+
description: Sensu plugins for OpenLDAP
|
176
168
|
email: "<sensu-users@googlegroups.com>"
|
177
|
-
executables:
|
169
|
+
executables:
|
170
|
+
- check-syncrepl.rb
|
171
|
+
- metrics-ldap.rb
|
178
172
|
extensions: []
|
179
173
|
extra_rdoc_files: []
|
180
174
|
files:
|
@@ -189,7 +183,7 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-openldap
|
|
189
183
|
licenses:
|
190
184
|
- MIT
|
191
185
|
metadata:
|
192
|
-
maintainer:
|
186
|
+
maintainer: sensu-plugin
|
193
187
|
development_status: active
|
194
188
|
production_status: unstable - testing recommended
|
195
189
|
release_draft: 'false'
|
@@ -203,7 +197,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
197
|
requirements:
|
204
198
|
- - ">="
|
205
199
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
200
|
+
version: '2.3'
|
207
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
202
|
requirements:
|
209
203
|
- - ">="
|
@@ -211,8 +205,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
205
|
version: '0'
|
212
206
|
requirements: []
|
213
207
|
rubyforge_project:
|
214
|
-
rubygems_version: 2.
|
208
|
+
rubygems_version: 2.7.7
|
215
209
|
signing_key:
|
216
210
|
specification_version: 4
|
217
|
-
summary: Sensu plugins for
|
211
|
+
summary: Sensu plugins for OpenLDAP
|
218
212
|
test_files: []
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|