sensu-plugins-monit 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -2
- data/README.md +1 -2
- data/bin/check-monit-email.rb +5 -5
- data/lib/sensu-plugins-monit/version.rb +2 -2
- metadata +10 -32
- checksums.yaml.gz.sig +0 -4
- data.tar.gz.sig +0 -0
- 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: e9c4f7e8bd8db8eb5bbf61af18188dfa72b15a37
|
4
|
+
data.tar.gz: 6a9d02c9a813d9196a2306e266131b6647eb7d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 680d0c4fd57753564ddc0bfa91a9ef691d3a1561453d6eb25833e8192ec4d505f87c774fe6bb9cb991be0b356e0dd6c5d62e3cdb685c01e6e815f090801beb9b
|
7
|
+
data.tar.gz: debb093c0fd3b6a0ba131aa5f89a991d8e0e71dbd29cd3eb7b172a4456217d9d51b9f644e8b4cc4a99e2574181f251ac604699a8351d3d49fdd21ef55a23ef1e
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,17 @@
|
|
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
|
+
|
8
|
+
## [1.0.0] - 2017-07-15
|
9
|
+
### Added
|
10
|
+
- Ruby 2.3.0 testing
|
11
|
+
- Ruby 2.4.1 testing
|
12
|
+
|
13
|
+
### Breaking Changes
|
14
|
+
- Drop support for Ruby 1.9.3
|
7
15
|
|
8
16
|
## [0.0.3] - 2015-07-14
|
9
17
|
### Changed
|
@@ -15,3 +23,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
15
23
|
## [0.0.1] - 2015-06-04
|
16
24
|
### Added
|
17
25
|
- initial release
|
26
|
+
|
27
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-monit/compare/1.0.0...HEAD
|
28
|
+
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-monit/compare/0.0.3...1.0.0
|
29
|
+
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-monit/compare/0.0.2...0.0.3
|
30
|
+
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-monit/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-monit)
|
7
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-monit.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-monit)
|
8
|
-
[ ![Codeship Status for sensu-plugins/sensu-plugins-monit](https://codeship.com/projects/2ad2d5f0-e89c-0132-b8db-62885e5c211b/status?branch=master)](https://codeship.com/projects/82845)
|
9
8
|
|
10
9
|
## Functionality
|
11
10
|
|
@@ -17,7 +16,7 @@
|
|
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
|
23
22
|
|
data/bin/check-monit-email.rb
CHANGED
@@ -50,11 +50,11 @@ class ParseEmail
|
|
50
50
|
def service
|
51
51
|
return @service if @service
|
52
52
|
service_string = token.body.match(/Service: .*/)
|
53
|
-
if service_string
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
53
|
+
@service = if service_string
|
54
|
+
service_string.split(': ')[1]
|
55
|
+
else
|
56
|
+
token.subject.sub(/([^ ]+) *.*/, '\1')
|
57
|
+
end
|
58
58
|
end
|
59
59
|
|
60
60
|
def alert
|
metadata
CHANGED
@@ -1,36 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-monit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.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-07-14 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: sensu-plugin
|
@@ -120,16 +98,16 @@ dependencies:
|
|
120
98
|
name: rubocop
|
121
99
|
requirement: !ruby/object:Gem::Requirement
|
122
100
|
requirements:
|
123
|
-
- -
|
101
|
+
- - "~>"
|
124
102
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.
|
103
|
+
version: 0.40.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: 0.
|
110
|
+
version: 0.40.0
|
133
111
|
- !ruby/object:Gem::Dependency
|
134
112
|
name: rspec
|
135
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,8 +167,8 @@ dependencies:
|
|
189
167
|
description: Sensu monit plugins
|
190
168
|
email: "<sensu-users@googlegroups.com>"
|
191
169
|
executables:
|
192
|
-
- check-monit-status.rb
|
193
170
|
- check-monit-email.rb
|
171
|
+
- check-monit-status.rb
|
194
172
|
extensions: []
|
195
173
|
extra_rdoc_files: []
|
196
174
|
files:
|
@@ -219,7 +197,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
197
|
requirements:
|
220
198
|
- - ">="
|
221
199
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
200
|
+
version: 2.0.0
|
223
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
202
|
requirements:
|
225
203
|
- - ">="
|
@@ -227,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
205
|
version: '0'
|
228
206
|
requirements: []
|
229
207
|
rubyforge_project:
|
230
|
-
rubygems_version: 2.4.
|
208
|
+
rubygems_version: 2.4.5
|
231
209
|
signing_key:
|
232
210
|
specification_version: 4
|
233
211
|
summary: Sensu plugins for monit
|
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|