sensu-plugins-pagerduty 0.0.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/CHANGELOG.md +27 -4
- data/README.md +76 -3
- data/bin/handler-pagerduty.rb +19 -13
- data/bin/mutator-pagerduty-priority-override.rb +4 -4
- data/lib/sensu-plugins-pagerduty/version.rb +2 -2
- metadata +34 -56
- checksums.yaml.gz.sig +0 -2
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NTI4NDg5ZmJiZWFiYWNlOGJjNDliZjA2YTlkMTc1MGQ2MjI4Mjk1NA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NjY2MDI5MjU3OGZhNmM2NjBhNTcxZTdjMmRlZDg2NDY5ZGYwNjU0ZQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODAyOTNhYWZmNWFiNGZlYmE1OTY1YWIzMjcwMmEzZmYwZTg0MWRlN2YwZGYz
|
10
|
+
NjJjZTliNWU2ZWU4MjQzMTA0M2ZjMmI4ZThhOTdlMWE5MGNlNTQxN2IzZTg0
|
11
|
+
ZDRjNjVmNzVlZTBlYmQ3ZjM5NDU2ZTY0ZmM2NWMyMTBjY2IzYWU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTI3NjEyODE1ZTVlZWUxMzhiNDJmNmZmYjFiMTg1YTg1ODE4NGQwMGZhMjJi
|
14
|
+
YThjNjc2YjQzMDAwZTRmODE5N2IxNDkxZmM3OWIwZmMwNGZkOGUxYTk5MGU2
|
15
|
+
Y2M4YTA2NGM3MDkzMmU3NDUzOTk1M2U5ZmY0ZjJmOWFhMmY2MjQ=
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,22 @@ 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] - 2016-04-12
|
9
|
+
|
10
|
+
NOTE: There is no new functionality in this release but with the addition of test coverage we are
|
11
|
+
marking it as a stable 1.0.0 release.
|
12
|
+
|
13
|
+
### Added
|
14
|
+
- Add tests (@zbintliff)
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
- Fix tests that were always exiting 0
|
18
|
+
- Fix resolution of events (#21)
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
- Update to rubocop 0.37
|
7
22
|
|
8
23
|
## [0.0.9] - 2015-12-10
|
9
24
|
### Fixed
|
@@ -46,13 +61,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
46
61
|
### Fixed
|
47
62
|
- fix binstubs to only be created for ruby files
|
48
63
|
|
49
|
-
|
50
64
|
## [0.0.3] - 2015-06-26
|
51
65
|
## Added
|
52
66
|
- added option for json_config
|
53
67
|
|
54
68
|
## [0.0.2] - 2015-06-03
|
55
|
-
|
56
69
|
### Fixed
|
57
70
|
- added binstubs
|
58
71
|
|
@@ -61,6 +74,16 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
61
74
|
- added a new option for specifying the location of the json config file
|
62
75
|
|
63
76
|
## 0.0.1 - 2015-04-29
|
64
|
-
|
65
77
|
### Added
|
66
78
|
- initial release
|
79
|
+
|
80
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/1.0.0...HEAD
|
81
|
+
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.9...1.0.0
|
82
|
+
[0.0.9]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.8...0.0.9
|
83
|
+
[0.0.8]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.7...0.0.8
|
84
|
+
[0.0.7]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.6...0.0.7
|
85
|
+
[0.0.6]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.5...0.0.6
|
86
|
+
[0.0.5]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.4...0.0.5
|
87
|
+
[0.0.4]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.3...0.0.4
|
88
|
+
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.2...0.0.3
|
89
|
+
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-pagerduty/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
## Sensu-Plugins-pagerduty
|
2
2
|
|
3
|
-
[
|
3
|
+
[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-pagerduty.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-pagerduty)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-pagerduty.svg)](http://badge.fury.io/rb/sensu-plugins-pagerduty)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pagerduty/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pagerduty)
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pagerduty/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-pagerduty)
|
7
7
|
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-pagerduty.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-pagerduty)
|
8
|
-
[ ![Codeship Status for sensu-plugins/sensu-plugins-pagerduty](https://codeship.com/projects/115d0f60-d226-0132-a14d-4afb0344239b/status?branch=master)](https://codeship.com/projects/77455)
|
9
8
|
|
10
9
|
## Functionality
|
11
10
|
|
@@ -13,7 +12,7 @@
|
|
13
12
|
* bin/handler-pagerduty.rb
|
14
13
|
* bin/mutator-pagerduty-priority-override.rb
|
15
14
|
|
16
|
-
## Usage
|
15
|
+
## Usage of Handler
|
17
16
|
|
18
17
|
PagerDuty supports dedup. Dedup is useful when you want to create a single alert (for a group of checks). Only one alert is sent out even if the checks fail at the same time. The following example groups check_service_`n` together for a single host. `dedup_rules` take in regular expressions as keys and re-write rules as values. `dedup_rules` entry is optional.
|
19
18
|
|
@@ -33,6 +32,80 @@ PagerDuty supports dedup. Dedup is useful when you want to create a single alert
|
|
33
32
|
}
|
34
33
|
}
|
35
34
|
```
|
35
|
+
|
36
|
+
In the Client hash you can define a `pager_team` key value pair. If the the client hash contains the `pager_team` key it will then no longer use the default `pagerduty.api_key` from the above has but will look for the value given in the client. The following client hash will alert using the team_name1 api key instead of the default api_key. This will allow different teams/hosts to alert different escalation paths.
|
37
|
+
|
38
|
+
```
|
39
|
+
{
|
40
|
+
"client": {
|
41
|
+
"name": "my.host.fqdn,
|
42
|
+
"address": "8.8.8.8",
|
43
|
+
"subscriptions": [
|
44
|
+
"production",
|
45
|
+
"webserver",
|
46
|
+
"mysql"
|
47
|
+
],
|
48
|
+
"pager_team": "team_name1"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
```
|
52
|
+
|
53
|
+
Please note, this sets the escalation path on the whole host. If you want more granular control on escalation paths please view the Mutator section below.
|
54
|
+
|
55
|
+
## Usage of Priority Overide Mutator
|
56
|
+
|
57
|
+
This mutator allows you to have fine grain control on PagerDuty escalation paths based on data within the client hash. The mutator will look in the following locations where `#{event_level}` is `warning` and `critical` (unknown, is replaced by critical), and `#{check_name}` is the name of the check. Items located lower in the list take precedence:
|
58
|
+
|
59
|
+
```
|
60
|
+
client['pager_team']
|
61
|
+
client['pd_override']['baseline'][#{event_level}]
|
62
|
+
client['pd_override'][#{check_name}][#{event_level}]
|
63
|
+
```
|
64
|
+
|
65
|
+
For example if I have the following pager_duty escalations defined on my Sensu server:
|
66
|
+
|
67
|
+
```
|
68
|
+
{
|
69
|
+
"pagerduty": {
|
70
|
+
"api_key": "12345",
|
71
|
+
"low_priority": {
|
72
|
+
"api_key": "23456"
|
73
|
+
},
|
74
|
+
"ops": {
|
75
|
+
"api_key: "7890"
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
```
|
80
|
+
|
81
|
+
And I also have the following client hash:
|
82
|
+
|
83
|
+
```
|
84
|
+
{
|
85
|
+
"client": {
|
86
|
+
"name": "my.host.fqdn",
|
87
|
+
"address": "8.8.8.8",
|
88
|
+
"subscriptions": [
|
89
|
+
"production",
|
90
|
+
"webserver",
|
91
|
+
"mysql"
|
92
|
+
],
|
93
|
+
"pd_override": {
|
94
|
+
"baseline" : {
|
95
|
+
"warning": "low_priority"
|
96
|
+
},
|
97
|
+
"check_disk": {
|
98
|
+
"warning": "ops",
|
99
|
+
"critical": "ops"
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
```
|
106
|
+
|
107
|
+
If an `critical` event is triggered from "my.host.fqdn" that is not named `check_disk` it will alert the default (with value api_key: 12345). If a `warning` event is triggered that is not `check_disk` it will alert the `low_proirity` escalation service. If any `check_disk` alert is triggerd it will the alert the `ops` escalation.
|
108
|
+
|
36
109
|
## Installation
|
37
110
|
|
38
111
|
[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
|
data/bin/handler-pagerduty.rb
CHANGED
@@ -32,7 +32,6 @@ class PagerdutyHandler < Sensu::Handler
|
|
32
32
|
default: 'pagerduty'
|
33
33
|
|
34
34
|
def incident_key
|
35
|
-
json_config = config[:json_config]
|
36
35
|
source = @event['check']['source'] || @event['client']['name']
|
37
36
|
incident_id = [source, @event['check']['name']].join('/')
|
38
37
|
dedup_rules = settings[json_config]['dedup_rules'] || {}
|
@@ -42,20 +41,27 @@ class PagerdutyHandler < Sensu::Handler
|
|
42
41
|
incident_id
|
43
42
|
end
|
44
43
|
|
45
|
-
def
|
46
|
-
json_config
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
44
|
+
def json_config
|
45
|
+
@json_config ||= config[:json_config]
|
46
|
+
end
|
47
|
+
|
48
|
+
def api_key
|
49
|
+
@api_key ||=
|
50
|
+
if @event['client']['pager_team']
|
51
|
+
settings[json_config][@event['client']['pager_team']]['api_key']
|
52
|
+
elsif @event['check']['pager_team']
|
53
|
+
settings[json_config][@event['check']['pager_team']]['api_key']
|
54
|
+
else
|
55
|
+
settings[json_config]['api_key']
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def handle(pd_client = nil)
|
54
60
|
incident_key_prefix = settings[json_config]['incident_key_prefix']
|
55
61
|
description_prefix = settings[json_config]['description_prefix']
|
56
62
|
begin
|
57
63
|
timeout(5) do
|
58
|
-
pagerduty = Pagerduty.new(api_key)
|
64
|
+
pagerduty = pd_client || Pagerduty.new(api_key)
|
59
65
|
|
60
66
|
begin
|
61
67
|
case @event['action']
|
@@ -65,12 +71,12 @@ class PagerdutyHandler < Sensu::Handler
|
|
65
71
|
details: @event)
|
66
72
|
when 'resolve'
|
67
73
|
pagerduty.get_incident([incident_key_prefix, incident_key].compact.join('')).resolve(
|
68
|
-
|
74
|
+
[description_prefix, event_summary].compact.join(' '), @event)
|
69
75
|
end
|
70
76
|
puts 'pagerduty -- ' + @event['action'].capitalize + 'd incident -- ' + incident_key
|
71
77
|
rescue Net::HTTPServerException => error
|
72
78
|
puts 'pagerduty -- failed to ' + @event['action'] + ' incident -- ' + incident_key + ' -- ' +
|
73
|
-
|
79
|
+
error.response.code + ' ' + error.response.message + ': ' + error.response.body
|
74
80
|
end
|
75
81
|
end
|
76
82
|
rescue Timeout::Error
|
@@ -56,16 +56,16 @@ module Sensu
|
|
56
56
|
|
57
57
|
def get_status_string(check)
|
58
58
|
status = check[:status]
|
59
|
+
result = 'critical'
|
59
60
|
if status == 1
|
60
|
-
|
61
|
+
result = 'warning'
|
61
62
|
elsif status == 0
|
62
63
|
## 0 means its a resolve event, to know which PagerDuty API to resolve on
|
63
64
|
## we need to look at previous alert
|
64
65
|
## strangely enough the history array in the event is an array of strings...
|
65
|
-
|
66
|
-
else
|
67
|
-
return 'critical'
|
66
|
+
result = get_status_string(status: check[:history][-2].to_i)
|
68
67
|
end
|
68
|
+
result
|
69
69
|
end
|
70
70
|
|
71
71
|
def get_override(event, check, status)
|
metadata
CHANGED
@@ -1,51 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-pagerduty
|
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-12-10 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-04-13 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: pagerduty
|
51
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,133 +42,133 @@ dependencies:
|
|
64
42
|
name: bundler
|
65
43
|
requirement: !ruby/object:Gem::Requirement
|
66
44
|
requirements:
|
67
|
-
- -
|
45
|
+
- - ~>
|
68
46
|
- !ruby/object:Gem::Version
|
69
47
|
version: '1.7'
|
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
54
|
version: '1.7'
|
77
55
|
- !ruby/object:Gem::Dependency
|
78
56
|
name: codeclimate-test-reporter
|
79
57
|
requirement: !ruby/object:Gem::Requirement
|
80
58
|
requirements:
|
81
|
-
- -
|
59
|
+
- - ~>
|
82
60
|
- !ruby/object:Gem::Version
|
83
61
|
version: '0.4'
|
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
68
|
version: '0.4'
|
91
69
|
- !ruby/object:Gem::Dependency
|
92
70
|
name: github-markup
|
93
71
|
requirement: !ruby/object:Gem::Requirement
|
94
72
|
requirements:
|
95
|
-
- -
|
73
|
+
- - ~>
|
96
74
|
- !ruby/object:Gem::Version
|
97
75
|
version: '1.3'
|
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
82
|
version: '1.3'
|
105
83
|
- !ruby/object:Gem::Dependency
|
106
84
|
name: pry
|
107
85
|
requirement: !ruby/object:Gem::Requirement
|
108
86
|
requirements:
|
109
|
-
- -
|
87
|
+
- - ~>
|
110
88
|
- !ruby/object:Gem::Version
|
111
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
96
|
version: '0.10'
|
119
97
|
- !ruby/object:Gem::Dependency
|
120
98
|
name: rake
|
121
99
|
requirement: !ruby/object:Gem::Requirement
|
122
100
|
requirements:
|
123
|
-
- -
|
101
|
+
- - ~>
|
124
102
|
- !ruby/object:Gem::Version
|
125
103
|
version: '10.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
110
|
version: '10.0'
|
133
111
|
- !ruby/object:Gem::Dependency
|
134
112
|
name: redcarpet
|
135
113
|
requirement: !ruby/object:Gem::Requirement
|
136
114
|
requirements:
|
137
|
-
- -
|
115
|
+
- - ~>
|
138
116
|
- !ruby/object:Gem::Version
|
139
117
|
version: '3.2'
|
140
118
|
type: :development
|
141
119
|
prerelease: false
|
142
120
|
version_requirements: !ruby/object:Gem::Requirement
|
143
121
|
requirements:
|
144
|
-
- -
|
122
|
+
- - ~>
|
145
123
|
- !ruby/object:Gem::Version
|
146
124
|
version: '3.2'
|
147
125
|
- !ruby/object:Gem::Dependency
|
148
126
|
name: rspec
|
149
127
|
requirement: !ruby/object:Gem::Requirement
|
150
128
|
requirements:
|
151
|
-
- -
|
129
|
+
- - ~>
|
152
130
|
- !ruby/object:Gem::Version
|
153
131
|
version: '3.1'
|
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
138
|
version: '3.1'
|
161
139
|
- !ruby/object:Gem::Dependency
|
162
140
|
name: rubocop
|
163
141
|
requirement: !ruby/object:Gem::Requirement
|
164
142
|
requirements:
|
165
|
-
- -
|
143
|
+
- - ~>
|
166
144
|
- !ruby/object:Gem::Version
|
167
|
-
version: 0.
|
145
|
+
version: '0.37'
|
168
146
|
type: :development
|
169
147
|
prerelease: false
|
170
148
|
version_requirements: !ruby/object:Gem::Requirement
|
171
149
|
requirements:
|
172
|
-
- -
|
150
|
+
- - ~>
|
173
151
|
- !ruby/object:Gem::Version
|
174
|
-
version: 0.
|
152
|
+
version: '0.37'
|
175
153
|
- !ruby/object:Gem::Dependency
|
176
154
|
name: yard
|
177
155
|
requirement: !ruby/object:Gem::Requirement
|
178
156
|
requirements:
|
179
|
-
- -
|
157
|
+
- - ~>
|
180
158
|
- !ruby/object:Gem::Version
|
181
159
|
version: '0.8'
|
182
160
|
type: :development
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
163
|
requirements:
|
186
|
-
- -
|
164
|
+
- - ~>
|
187
165
|
- !ruby/object:Gem::Version
|
188
166
|
version: '0.8'
|
189
167
|
description: This plugin provides a Sensu handler for PagerDuty
|
190
|
-
email:
|
168
|
+
email: <sensu-users@googlegroups.com>
|
191
169
|
executables:
|
192
|
-
- mutator-pagerduty-priority-override.rb
|
193
170
|
- handler-pagerduty.rb
|
171
|
+
- mutator-pagerduty-priority-override.rb
|
194
172
|
extensions: []
|
195
173
|
extra_rdoc_files: []
|
196
174
|
files:
|
@@ -205,9 +183,9 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-pagerduty
|
|
205
183
|
licenses:
|
206
184
|
- MIT
|
207
185
|
metadata:
|
208
|
-
maintainer:
|
186
|
+
maintainer: ! '@mattyjones'
|
209
187
|
development_status: active
|
210
|
-
production_status:
|
188
|
+
production_status: stable - production ready
|
211
189
|
release_draft: 'false'
|
212
190
|
release_prerelease: 'false'
|
213
191
|
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
@@ -217,17 +195,17 @@ require_paths:
|
|
217
195
|
- lib
|
218
196
|
required_ruby_version: !ruby/object:Gem::Requirement
|
219
197
|
requirements:
|
220
|
-
- -
|
198
|
+
- - ! '>='
|
221
199
|
- !ruby/object:Gem::Version
|
222
200
|
version: 1.9.3
|
223
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
202
|
requirements:
|
225
|
-
- -
|
203
|
+
- - ! '>='
|
226
204
|
- !ruby/object:Gem::Version
|
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 pagerduty
|
checksums.yaml.gz.sig
DELETED
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|