god 0.13.5 → 0.13.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/god.gemspec +4 -2
- data/lib/god.rb +2 -1
- data/lib/god/contacts/sensu.rb +59 -0
- data/test/test_sensu.rb +11 -0
- metadata +269 -224
- checksums.yaml +0 -7
data/History.txt
CHANGED
data/god.gemspec
CHANGED
@@ -3,8 +3,8 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'god'
|
6
|
-
s.version = '0.13.
|
7
|
-
s.date = '2015-
|
6
|
+
s.version = '0.13.6'
|
7
|
+
s.date = '2015-03-21'
|
8
8
|
|
9
9
|
s.summary = "Process monitoring framework."
|
10
10
|
s.description = "An easy to configure, easy to extend monitoring framework written in Ruby."
|
@@ -92,6 +92,7 @@ Gem::Specification.new do |s|
|
|
92
92
|
lib/god/contacts/jabber.rb
|
93
93
|
lib/god/contacts/prowl.rb
|
94
94
|
lib/god/contacts/scout.rb
|
95
|
+
lib/god/contacts/sensu.rb
|
95
96
|
lib/god/contacts/slack.rb
|
96
97
|
lib/god/contacts/statsd.rb
|
97
98
|
lib/god/contacts/twitter.rb
|
@@ -169,6 +170,7 @@ Gem::Specification.new do |s|
|
|
169
170
|
test/test_process.rb
|
170
171
|
test/test_prowl.rb
|
171
172
|
test/test_registry.rb
|
173
|
+
test/test_sensu.rb
|
172
174
|
test/test_slack.rb
|
173
175
|
test/test_socket.rb
|
174
176
|
test/test_statsd.rb
|
data/lib/god.rb
CHANGED
@@ -95,6 +95,7 @@ load_contact(:twitter)
|
|
95
95
|
load_contact(:webhook)
|
96
96
|
load_contact(:airbrake)
|
97
97
|
load_contact(:slack)
|
98
|
+
load_contact(:sensu)
|
98
99
|
|
99
100
|
$:.unshift File.join(File.dirname(__FILE__), *%w[.. ext god])
|
100
101
|
|
@@ -160,7 +161,7 @@ end
|
|
160
161
|
|
161
162
|
module God
|
162
163
|
# The String version number for this package.
|
163
|
-
VERSION = '0.13.
|
164
|
+
VERSION = '0.13.6'
|
164
165
|
|
165
166
|
# The Integer number of lines of backlog to keep for the logger.
|
166
167
|
LOG_BUFFER_SIZE_DEFAULT = 100
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2
|
+
# Send a notice to a SENSU client socket, port 3030 on 'localhost' only.
|
3
|
+
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
4
|
+
# [mandatory]
|
5
|
+
# check_name - a unique check name
|
6
|
+
#
|
7
|
+
# [optional]
|
8
|
+
# status_code - status codes used are 0 for OK, 1 for WARNING, 2 for CRITICAL, and 3 or greater to indicate UNKNOWN or CUSTOM.
|
9
|
+
# handler - default handler
|
10
|
+
#
|
11
|
+
|
12
|
+
CONTACT_DEPS[:sensu] = ['json']
|
13
|
+
CONTACT_DEPS[:sensu].each do |d|
|
14
|
+
require d
|
15
|
+
end
|
16
|
+
|
17
|
+
module God
|
18
|
+
module Contacts
|
19
|
+
|
20
|
+
class Sensu < Contact
|
21
|
+
class << self
|
22
|
+
attr_accessor :check_name, :status_code, :handler, :host, :port
|
23
|
+
end
|
24
|
+
|
25
|
+
self.status_code = 2
|
26
|
+
self.handler = 'default'
|
27
|
+
self.host = 'localhost'
|
28
|
+
self.port = 3030
|
29
|
+
|
30
|
+
def valid?
|
31
|
+
valid = true
|
32
|
+
valid &= complain("Attribute 'check_name' must be specified", self) unless arg(:check_name)
|
33
|
+
valid
|
34
|
+
end
|
35
|
+
|
36
|
+
attr_accessor :check_name, :status_code, :handler, :host, :port
|
37
|
+
|
38
|
+
def sensu_client_socket(msg)
|
39
|
+
u = UDPSocket.new
|
40
|
+
u.send(msg + "\n", 0, arg(:host).nil? ? self.host : arg(:host), arg(:port).nil? ? self.port : arg(:port))
|
41
|
+
u.close
|
42
|
+
end
|
43
|
+
|
44
|
+
def notify(message, time, priority, category, host)
|
45
|
+
data = {
|
46
|
+
:category => category,
|
47
|
+
:message => message,
|
48
|
+
:priority => priority,
|
49
|
+
:host => host,
|
50
|
+
:time => time,
|
51
|
+
}
|
52
|
+
parcel = { 'name' => arg(:check_name), 'status' => arg(:status_code).nil? ? self.status_code : arg(:status_code), 'output' => data.to_json, 'handler' => arg(:handler).empty? ? self.handler : arg(:handler), 'executed' => Time.now.to_i }
|
53
|
+
sensu_client_socket parcel.to_json
|
54
|
+
self.info = "notified sensu: #{arg(:check_name)}"
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
data/test/test_sensu.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/helper'
|
2
|
+
|
3
|
+
class TestSensu < Minitest::Test
|
4
|
+
def test_sensu_notify
|
5
|
+
sensu = God::Contacts::Sensu.new
|
6
|
+
sensu.check_name = "TestSensuContact"
|
7
|
+
|
8
|
+
UDPSocket.any_instance.expects(:send)
|
9
|
+
sensu.notify("Test", Time.now, "Test", "Test", "")
|
10
|
+
end
|
11
|
+
end
|
metadata
CHANGED
@@ -1,277 +1,309 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: god
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 39
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 13
|
9
|
+
- 6
|
10
|
+
version: 0.13.6
|
5
11
|
platform: ruby
|
6
|
-
authors:
|
12
|
+
authors:
|
7
13
|
- Tom Preston-Werner
|
8
14
|
- Kevin Clark
|
9
15
|
- Eric Lindvall
|
10
16
|
autorequire:
|
11
17
|
bindir: bin
|
12
18
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
+
|
20
|
+
date: 2015-03-21 00:00:00 -07:00
|
21
|
+
default_executable:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
19
27
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 6
|
33
|
+
version: "1.6"
|
34
|
+
prerelease: false
|
35
|
+
requirement: *id001
|
36
|
+
name: json
|
22
37
|
type: :development
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
23
48
|
prerelease: false
|
24
|
-
|
25
|
-
requirements:
|
26
|
-
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: '1.6'
|
29
|
-
- !ruby/object:Gem::Dependency
|
49
|
+
requirement: *id002
|
30
50
|
name: rake
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
32
|
-
requirements:
|
33
|
-
- - '>='
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: '0'
|
36
51
|
type: :development
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
37
62
|
prerelease: false
|
38
|
-
|
39
|
-
requirements:
|
40
|
-
- - '>='
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0'
|
43
|
-
- !ruby/object:Gem::Dependency
|
63
|
+
requirement: *id003
|
44
64
|
name: minitest
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - '>='
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '0'
|
50
65
|
type: :development
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 19
|
73
|
+
segments:
|
74
|
+
- 3
|
75
|
+
- 10
|
76
|
+
version: "3.10"
|
51
77
|
prerelease: false
|
52
|
-
|
53
|
-
requirements:
|
54
|
-
- - '>='
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: '0'
|
57
|
-
- !ruby/object:Gem::Dependency
|
78
|
+
requirement: *id004
|
58
79
|
name: rdoc
|
59
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - ~>
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: '3.10'
|
64
80
|
type: :development
|
65
|
-
|
66
|
-
version_requirements: !ruby/object:Gem::Requirement
|
67
|
-
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
68
85
|
- - ~>
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
hash: 27
|
88
|
+
segments:
|
89
|
+
- 4
|
90
|
+
- 0
|
91
|
+
version: "4.0"
|
92
|
+
prerelease: false
|
93
|
+
requirement: *id005
|
72
94
|
name: twitter
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '4.0'
|
78
95
|
type: :development
|
79
|
-
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
82
100
|
- - ~>
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 13
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
- 3
|
106
|
+
version: "0.3"
|
107
|
+
prerelease: false
|
108
|
+
requirement: *id006
|
86
109
|
name: prowly
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - ~>
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: '0.3'
|
92
110
|
type: :development
|
93
|
-
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
96
115
|
- - ~>
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
hash: 1
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
- 5
|
121
|
+
version: "0.5"
|
122
|
+
prerelease: false
|
123
|
+
requirement: *id007
|
100
124
|
name: xmpp4r
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - ~>
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '0.5'
|
106
125
|
type: :development
|
107
|
-
|
108
|
-
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
|
110
|
-
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '0.5'
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: dike
|
115
|
-
requirement: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
117
130
|
- - ~>
|
118
|
-
- !ruby/object:Gem::Version
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
hash: 25
|
133
|
+
segments:
|
134
|
+
- 0
|
135
|
+
- 0
|
136
|
+
- 3
|
119
137
|
version: 0.0.3
|
120
|
-
type: :development
|
121
138
|
prerelease: false
|
122
|
-
|
123
|
-
|
139
|
+
requirement: *id008
|
140
|
+
name: dike
|
141
|
+
type: :development
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
124
146
|
- - ~>
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
|
127
|
-
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
hash: 13
|
149
|
+
segments:
|
150
|
+
- 1
|
151
|
+
- 1
|
152
|
+
version: "1.1"
|
153
|
+
prerelease: false
|
154
|
+
requirement: *id009
|
128
155
|
name: daemons
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - ~>
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '1.1'
|
134
156
|
type: :development
|
135
|
-
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
160
|
+
requirements:
|
138
161
|
- - ~>
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
|
141
|
-
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
hash: 31
|
164
|
+
segments:
|
165
|
+
- 0
|
166
|
+
- 10
|
167
|
+
version: "0.10"
|
168
|
+
prerelease: false
|
169
|
+
requirement: *id010
|
142
170
|
name: mocha
|
143
|
-
requirement: !ruby/object:Gem::Requirement
|
144
|
-
requirements:
|
145
|
-
- - ~>
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: '0.10'
|
148
171
|
type: :development
|
149
|
-
|
150
|
-
version_requirements: !ruby/object:Gem::Requirement
|
151
|
-
|
152
|
-
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '0.10'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: gollum
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
172
|
+
- !ruby/object:Gem::Dependency
|
173
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
175
|
+
requirements:
|
159
176
|
- - ~>
|
160
|
-
- !ruby/object:Gem::Version
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
hash: 25
|
179
|
+
segments:
|
180
|
+
- 1
|
181
|
+
- 3
|
182
|
+
- 1
|
161
183
|
version: 1.3.1
|
162
|
-
type: :development
|
163
184
|
prerelease: false
|
164
|
-
|
165
|
-
|
166
|
-
- - ~>
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: 1.3.1
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: mustache
|
171
|
-
requirement: !ruby/object:Gem::Requirement
|
172
|
-
requirements:
|
173
|
-
- - ~>
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: 0.99.0
|
176
|
-
- - <
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: 0.99.7
|
185
|
+
requirement: *id011
|
186
|
+
name: gollum
|
179
187
|
type: :development
|
180
|
-
|
181
|
-
version_requirements: !ruby/object:Gem::Requirement
|
182
|
-
|
188
|
+
- !ruby/object:Gem::Dependency
|
189
|
+
version_requirements: &id012 !ruby/object:Gem::Requirement
|
190
|
+
none: false
|
191
|
+
requirements:
|
183
192
|
- - ~>
|
184
|
-
- !ruby/object:Gem::Version
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
hash: 403
|
195
|
+
segments:
|
196
|
+
- 0
|
197
|
+
- 99
|
198
|
+
- 0
|
185
199
|
version: 0.99.0
|
186
200
|
- - <
|
187
|
-
- !ruby/object:Gem::Version
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
hash: 413
|
203
|
+
segments:
|
204
|
+
- 0
|
205
|
+
- 99
|
206
|
+
- 7
|
188
207
|
version: 0.99.7
|
189
|
-
- !ruby/object:Gem::Dependency
|
190
|
-
name: airbrake
|
191
|
-
requirement: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - ~>
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: 3.1.7
|
196
|
-
type: :development
|
197
208
|
prerelease: false
|
198
|
-
|
199
|
-
|
209
|
+
requirement: *id012
|
210
|
+
name: mustache
|
211
|
+
type: :development
|
212
|
+
- !ruby/object:Gem::Dependency
|
213
|
+
version_requirements: &id013 !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
215
|
+
requirements:
|
200
216
|
- - ~>
|
201
|
-
- !ruby/object:Gem::Version
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
hash: 13
|
219
|
+
segments:
|
220
|
+
- 3
|
221
|
+
- 1
|
222
|
+
- 7
|
202
223
|
version: 3.1.7
|
203
|
-
- !ruby/object:Gem::Dependency
|
204
|
-
name: nokogiri
|
205
|
-
requirement: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - ~>
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: 1.5.0
|
210
|
-
type: :development
|
211
224
|
prerelease: false
|
212
|
-
|
213
|
-
|
225
|
+
requirement: *id013
|
226
|
+
name: airbrake
|
227
|
+
type: :development
|
228
|
+
- !ruby/object:Gem::Dependency
|
229
|
+
version_requirements: &id014 !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
231
|
+
requirements:
|
214
232
|
- - ~>
|
215
|
-
- !ruby/object:Gem::Version
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
hash: 3
|
235
|
+
segments:
|
236
|
+
- 1
|
237
|
+
- 5
|
238
|
+
- 0
|
216
239
|
version: 1.5.0
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
240
|
+
prerelease: false
|
241
|
+
requirement: *id014
|
242
|
+
name: nokogiri
|
243
|
+
type: :development
|
244
|
+
- !ruby/object:Gem::Dependency
|
245
|
+
version_requirements: &id015 !ruby/object:Gem::Requirement
|
246
|
+
none: false
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
hash: 23
|
251
|
+
segments:
|
252
|
+
- 2
|
253
|
+
- 3
|
254
|
+
- 10
|
223
255
|
version: 2.3.10
|
224
256
|
- - <
|
225
|
-
- !ruby/object:Gem::Version
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
hash: 63
|
259
|
+
segments:
|
260
|
+
- 4
|
261
|
+
- 0
|
262
|
+
- 0
|
226
263
|
version: 4.0.0
|
264
|
+
prerelease: false
|
265
|
+
requirement: *id015
|
266
|
+
name: activesupport
|
227
267
|
type: :development
|
268
|
+
- !ruby/object:Gem::Dependency
|
269
|
+
version_requirements: &id016 !ruby/object:Gem::Requirement
|
270
|
+
none: false
|
271
|
+
requirements:
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
hash: 3
|
275
|
+
segments:
|
276
|
+
- 0
|
277
|
+
version: "0"
|
228
278
|
prerelease: false
|
229
|
-
|
230
|
-
requirements:
|
231
|
-
- - '>='
|
232
|
-
- !ruby/object:Gem::Version
|
233
|
-
version: 2.3.10
|
234
|
-
- - <
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 4.0.0
|
237
|
-
- !ruby/object:Gem::Dependency
|
279
|
+
requirement: *id016
|
238
280
|
name: statsd-ruby
|
239
|
-
requirement: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - '>='
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: '0'
|
244
281
|
type: :development
|
245
|
-
|
246
|
-
version_requirements: !ruby/object:Gem::Requirement
|
247
|
-
|
248
|
-
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
version: '0'
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: i18n
|
253
|
-
requirement: !ruby/object:Gem::Requirement
|
254
|
-
requirements:
|
282
|
+
- !ruby/object:Gem::Dependency
|
283
|
+
version_requirements: &id017 !ruby/object:Gem::Requirement
|
284
|
+
none: false
|
285
|
+
requirements:
|
255
286
|
- - <
|
256
|
-
- !ruby/object:Gem::Version
|
287
|
+
- !ruby/object:Gem::Version
|
288
|
+
hash: 3
|
289
|
+
segments:
|
290
|
+
- 0
|
291
|
+
- 7
|
292
|
+
- 0
|
257
293
|
version: 0.7.0
|
258
|
-
type: :development
|
259
294
|
prerelease: false
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
version: 0.7.0
|
265
|
-
description: An easy to configure, easy to extend monitoring framework written in
|
266
|
-
Ruby.
|
295
|
+
requirement: *id017
|
296
|
+
name: i18n
|
297
|
+
type: :development
|
298
|
+
description: An easy to configure, easy to extend monitoring framework written in Ruby.
|
267
299
|
email: god-rb@googlegroups.com
|
268
|
-
executables:
|
300
|
+
executables:
|
269
301
|
- god
|
270
|
-
extensions:
|
302
|
+
extensions:
|
271
303
|
- ext/god/extconf.rb
|
272
|
-
extra_rdoc_files:
|
304
|
+
extra_rdoc_files:
|
273
305
|
- README.md
|
274
|
-
files:
|
306
|
+
files:
|
275
307
|
- Announce.txt
|
276
308
|
- Gemfile
|
277
309
|
- History.txt
|
@@ -320,6 +352,7 @@ files:
|
|
320
352
|
- lib/god/contacts/jabber.rb
|
321
353
|
- lib/god/contacts/prowl.rb
|
322
354
|
- lib/god/contacts/scout.rb
|
355
|
+
- lib/god/contacts/sensu.rb
|
323
356
|
- lib/god/contacts/slack.rb
|
324
357
|
- lib/god/contacts/statsd.rb
|
325
358
|
- lib/god/contacts/twitter.rb
|
@@ -397,6 +430,7 @@ files:
|
|
397
430
|
- test/test_process.rb
|
398
431
|
- test/test_prowl.rb
|
399
432
|
- test/test_registry.rb
|
433
|
+
- test/test_sensu.rb
|
400
434
|
- test/test_slack.rb
|
401
435
|
- test/test_socket.rb
|
402
436
|
- test/test_statsd.rb
|
@@ -408,32 +442,42 @@ files:
|
|
408
442
|
- test/test_trigger.rb
|
409
443
|
- test/test_watch.rb
|
410
444
|
- test/test_webhook.rb
|
445
|
+
has_rdoc: true
|
411
446
|
homepage: http://god.rubyforge.org/
|
412
447
|
licenses: []
|
413
|
-
|
448
|
+
|
414
449
|
post_install_message:
|
415
|
-
rdoc_options:
|
450
|
+
rdoc_options:
|
416
451
|
- --charset=UTF-8
|
417
|
-
require_paths:
|
452
|
+
require_paths:
|
418
453
|
- lib
|
419
454
|
- ext
|
420
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
455
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
456
|
+
none: false
|
457
|
+
requirements:
|
458
|
+
- - ">="
|
459
|
+
- !ruby/object:Gem::Version
|
460
|
+
hash: 3
|
461
|
+
segments:
|
462
|
+
- 0
|
463
|
+
version: "0"
|
464
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
465
|
+
none: false
|
466
|
+
requirements:
|
467
|
+
- - ">="
|
468
|
+
- !ruby/object:Gem::Version
|
469
|
+
hash: 3
|
470
|
+
segments:
|
471
|
+
- 0
|
472
|
+
version: "0"
|
430
473
|
requirements: []
|
474
|
+
|
431
475
|
rubyforge_project: god
|
432
|
-
rubygems_version:
|
476
|
+
rubygems_version: 1.6.2
|
433
477
|
signing_key:
|
434
478
|
specification_version: 2
|
435
479
|
summary: Process monitoring framework.
|
436
|
-
test_files:
|
480
|
+
test_files:
|
437
481
|
- test/test_airbrake.rb
|
438
482
|
- test/test_behavior.rb
|
439
483
|
- test/test_campfire.rb
|
@@ -456,6 +500,7 @@ test_files:
|
|
456
500
|
- test/test_process.rb
|
457
501
|
- test/test_prowl.rb
|
458
502
|
- test/test_registry.rb
|
503
|
+
- test/test_sensu.rb
|
459
504
|
- test/test_slack.rb
|
460
505
|
- test/test_socket.rb
|
461
506
|
- test/test_statsd.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 4e92e64f9fc2eaea16ace1b200c266186acbfe80
|
4
|
-
data.tar.gz: 3f1a94de8fa67f06e41b96e1176faf71e02ee7ab
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 97bc476662014ecdd34126fc2a1e1fa0352e477c5e7770eca6440b63770fed590d97f1e0e0326b00f8715b9b6db4ab7771b35cfe00583b6ea0f8aa86b9d8bc5c
|
7
|
-
data.tar.gz: 8f36cbb7934ee98a1b2c78af71740ed2a502ccd08479b0a01f15d233224873d7ff15cdf7874282713e99a4aa2b02e02bf70b4a630f4d5a3e0518179dfdf2c54f
|