sensu-plugins-imkayac 0.0.2 → 1.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 +4 -4
- data/CHANGELOG.md +19 -3
- data/README.md +3 -4
- data/bin/{imkayac.rb → handler-imkayac.rb} +3 -3
- data/lib/sensu-plugins-imkayac/version.rb +2 -2
- metadata +15 -37
- checksums.yaml.gz.sig +0 -2
- data.tar.gz.sig +0 -3
- 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: 7f2f759cc103c7ea93418857a76f9204c2daec40
|
|
4
|
+
data.tar.gz: 492baf37f28126fac736623e7bd156aac359600b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da334f410b6d5517f1a484ea675f4bb53209f4837ed4f646a0cb08c79a5b47a8f84f6d52f9c07cdb315f70afe76ab6bc92433bb7f9cede2777b3c2a65f51ff06
|
|
7
|
+
data.tar.gz: 5ccfb5d5a8958d0549c66fe0e071f5be440752ca04f6fbc4cde5f964385a840d8b5d83df8c1d9b709871375bedcf2bdfac90fee51c933cb4d362b13a4398344c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,30 @@
|
|
|
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-06-26
|
|
9
|
+
### Added
|
|
10
|
+
- Support for Ruby 2.3 and 2.4 (@eheydrick)
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
- Support for Ruby < 2 (@eheydrick)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Loosen `sensu-plugin` dependency to `~> 1.2` (@eheydrick)
|
|
17
|
+
- Update to Rubocop `0.40` and cleanup (@eheydrick)
|
|
18
|
+
- Rename `imkayac.rb` to `handler-imkayac.rb` to meet naming standards (@eheydrick)
|
|
7
19
|
|
|
8
20
|
## [0.0.2] - 2015-07-14
|
|
9
21
|
### Changed
|
|
10
22
|
- updated sensu-plugin gem to 1.2.0
|
|
11
23
|
|
|
12
|
-
##
|
|
24
|
+
## 0.0.1 - 2015-06-28
|
|
13
25
|
### Added
|
|
14
26
|
- initial release
|
|
27
|
+
|
|
28
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-imkayac/compare/1.0.0...HEAD
|
|
29
|
+
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-imkayac/compare/0.0.2...1.0.0
|
|
30
|
+
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-imkayac/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
## Sensu-Plugins-imkayac
|
|
2
2
|
|
|
3
|
-
[
|
|
3
|
+
[](https://travis-ci.org/sensu-plugins/sensu-plugins-imkayac)
|
|
4
4
|
[](http://badge.fury.io/rb/sensu-plugins-imkayac)
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-imkayac)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-imkayac)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-imkayac)
|
|
8
|
-
[](https://codeship.com/projects/84060)
|
|
9
8
|
|
|
10
9
|
## Functionality
|
|
11
10
|
|
|
12
11
|
## Files
|
|
13
|
-
* bin/imkayac
|
|
12
|
+
* bin/handler-imkayac.rb
|
|
14
13
|
|
|
15
14
|
## Usage
|
|
16
15
|
|
|
@@ -25,6 +24,6 @@
|
|
|
25
24
|
|
|
26
25
|
## Installation
|
|
27
26
|
|
|
28
|
-
[Installation and Setup](
|
|
27
|
+
[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
|
|
29
28
|
|
|
30
29
|
## Notes
|
|
@@ -19,10 +19,10 @@ class ImkayacNotif < Sensu::Handler
|
|
|
19
19
|
message = @event['check']['notification'] || @event['check']['output']
|
|
20
20
|
begin
|
|
21
21
|
timeout(3) do
|
|
22
|
-
p ImKayac.to(
|
|
22
|
+
p ImKayac.to(user.to_s).password(pass.to_s).post("#{event_action} - #{event_name} - #{message}")
|
|
23
23
|
end
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
rescue Timeout::Error
|
|
25
|
+
puts 'im.kayac -- timed out while attempting to message'
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
metadata
CHANGED
|
@@ -1,51 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-imkayac
|
|
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
|
-
L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sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
|
32
|
-
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-07-14 00:00:00.000000000 Z
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
|
34
12
|
dependencies:
|
|
35
13
|
- !ruby/object:Gem::Dependency
|
|
36
14
|
name: sensu-plugin
|
|
37
15
|
requirement: !ruby/object:Gem::Requirement
|
|
38
16
|
requirements:
|
|
39
|
-
- -
|
|
17
|
+
- - "~>"
|
|
40
18
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 1.2
|
|
19
|
+
version: '1.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: 1.2
|
|
26
|
+
version: '1.2'
|
|
49
27
|
- !ruby/object:Gem::Dependency
|
|
50
28
|
name: im-kayac
|
|
51
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -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:
|
|
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:
|
|
110
|
+
version: 0.40.0
|
|
133
111
|
- !ruby/object:Gem::Dependency
|
|
134
112
|
name: rspec
|
|
135
113
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -189,14 +167,14 @@ dependencies:
|
|
|
189
167
|
description: Sensu imkayac plugins
|
|
190
168
|
email: "<sensu-users@googlegroups.com>"
|
|
191
169
|
executables:
|
|
192
|
-
- imkayac.rb
|
|
170
|
+
- handler-imkayac.rb
|
|
193
171
|
extensions: []
|
|
194
172
|
extra_rdoc_files: []
|
|
195
173
|
files:
|
|
196
174
|
- CHANGELOG.md
|
|
197
175
|
- LICENSE
|
|
198
176
|
- README.md
|
|
199
|
-
- bin/imkayac.rb
|
|
177
|
+
- bin/handler-imkayac.rb
|
|
200
178
|
- lib/sensu-plugins-imkayac.rb
|
|
201
179
|
- lib/sensu-plugins-imkayac/version.rb
|
|
202
180
|
homepage: https://github.com/sensu-plugins/sensu-plugins-imkayac
|
|
@@ -217,7 +195,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
217
195
|
requirements:
|
|
218
196
|
- - ">="
|
|
219
197
|
- !ruby/object:Gem::Version
|
|
220
|
-
version:
|
|
198
|
+
version: 2.0.0
|
|
221
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
200
|
requirements:
|
|
223
201
|
- - ">="
|
|
@@ -225,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
225
203
|
version: '0'
|
|
226
204
|
requirements: []
|
|
227
205
|
rubyforge_project:
|
|
228
|
-
rubygems_version: 2.4.
|
|
206
|
+
rubygems_version: 2.4.5
|
|
229
207
|
signing_key:
|
|
230
208
|
specification_version: 4
|
|
231
209
|
summary: Sensu plugins for imkayac
|
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
metadata.gz.sig
DELETED
|
Binary file
|