sensu-plugins-datadog 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +6 -0
- data/bin/datadog-notification.rb +7 -7
- data/lib/sensu-plugins-datadog.rb +1 -1
- metadata +54 -39
- 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: fcca558304f90b09d7f7f52ebef0513a00e3b086
|
4
|
+
data.tar.gz: 14e269d768a97595b5b49106345dab3148da9f2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3947e1c05c0c7cb073f3e9076a11ed354a54b740c080dcd34d411025c367c07dbb90c7a51906cd3466d021938c04a1790626fc50c2caca62a0fbcfca72e58a01
|
7
|
+
data.tar.gz: 48f5dc1f3f19ca7c7efddc3ec7cedbe70199a8e178046ea969fe440a8a87e31d68b15fbbef1fbf713f98f848edb1d499cfbd9f1dba5c3efec85ec81a4f576114
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/bin/datadog-notification.rb
CHANGED
@@ -83,13 +83,13 @@ class DatadogNotif < Sensu::Handler
|
|
83
83
|
timeout(3) do
|
84
84
|
dog = Dogapi::Client.new(settings['datadog']['api_key'], settings['datadog']['app_key'])
|
85
85
|
response = dog.emit_event(Dogapi::Event.new(
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
86
|
+
description,
|
87
|
+
msg_title: @event['check']['name'],
|
88
|
+
tags: tags,
|
89
|
+
alert_type: action,
|
90
|
+
priority: priority,
|
91
|
+
source_type_name: 'nagios', # make events appear as nagios alerts so the weekly nagios report can be produced
|
92
|
+
aggregation_key: @event['check']['name']
|
93
93
|
), host: @event['client']['name']
|
94
94
|
)
|
95
95
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-datadog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yieldbot, Inc. and contributors
|
@@ -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-04-01 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: datadog
|
@@ -64,151 +64,166 @@ dependencies:
|
|
64
64
|
name: codeclimate-test-reporter
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 0.4.6
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: 0.4.6
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: rubocop
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - ~>
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: 0.17.0
|
84
84
|
type: :development
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - ~>
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: 0.17.0
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: rspec
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - ~>
|
95
|
+
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '3.1'
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - ~>
|
102
|
+
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '3.1'
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: bundler
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- - ~>
|
109
|
+
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '1.7'
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - ~>
|
116
|
+
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '1.7'
|
119
119
|
- !ruby/object:Gem::Dependency
|
120
120
|
name: rake
|
121
121
|
requirement: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - ~>
|
123
|
+
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '10.0'
|
126
126
|
type: :development
|
127
127
|
prerelease: false
|
128
128
|
version_requirements: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- - ~>
|
130
|
+
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '10.0'
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
134
|
name: github-markup
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - '
|
137
|
+
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: 1.3.3
|
140
140
|
type: :development
|
141
141
|
prerelease: false
|
142
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- - '
|
144
|
+
- - '='
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
146
|
+
version: 1.3.3
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
148
|
name: redcarpet
|
149
149
|
requirement: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
|
-
- -
|
151
|
+
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
153
|
+
version: 3.2.2
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
156
|
version_requirements: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- -
|
158
|
+
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
160
|
+
version: 3.2.2
|
161
161
|
- !ruby/object:Gem::Dependency
|
162
162
|
name: yard
|
163
163
|
requirement: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
|
-
- -
|
165
|
+
- - "~>"
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
167
|
+
version: 0.8.7.6
|
168
168
|
type: :development
|
169
169
|
prerelease: false
|
170
170
|
version_requirements: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
|
-
- -
|
172
|
+
- - "~>"
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
-
|
174
|
+
version: 0.8.7.6
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
name: pry
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: 0.10.1
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "~>"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 0.10.1
|
189
|
+
description: ''
|
190
|
+
email: "<sensu-users@googlegroups.com>"
|
191
|
+
executables: []
|
180
192
|
extensions: []
|
181
193
|
extra_rdoc_files: []
|
182
194
|
files:
|
195
|
+
- CHANGELOG.md
|
196
|
+
- LICENSE
|
197
|
+
- README.md
|
183
198
|
- bin/datadog-metrics.rb
|
184
199
|
- bin/datadog-notification.rb
|
185
200
|
- lib/sensu-plugins-datadog.rb
|
186
|
-
- LICENSE
|
187
|
-
- README.md
|
188
|
-
- CHANGELOG.md
|
189
201
|
homepage: https://github.com/sensu-plugins/sensu-plugins-datadog
|
190
202
|
licenses:
|
191
203
|
- MIT
|
192
|
-
metadata:
|
204
|
+
metadata:
|
205
|
+
maintainer: ''
|
206
|
+
development_status: unmaintained
|
207
|
+
production_status: unstable - testing reccomended
|
193
208
|
post_install_message:
|
194
209
|
rdoc_options: []
|
195
210
|
require_paths:
|
196
211
|
- lib
|
197
212
|
required_ruby_version: !ruby/object:Gem::Requirement
|
198
213
|
requirements:
|
199
|
-
- -
|
214
|
+
- - ">="
|
200
215
|
- !ruby/object:Gem::Version
|
201
216
|
version: 1.9.3
|
202
217
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
218
|
requirements:
|
204
|
-
- -
|
219
|
+
- - ">="
|
205
220
|
- !ruby/object:Gem::Version
|
206
221
|
version: '0'
|
207
222
|
requirements: []
|
208
223
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.
|
224
|
+
rubygems_version: 2.2.2
|
210
225
|
signing_key:
|
211
226
|
specification_version: 4
|
212
|
-
summary:
|
227
|
+
summary: ''
|
213
228
|
test_files: []
|
214
229
|
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|