strobemonkey-god 0.7.13
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +289 -0
- data/Manifest.txt +114 -0
- data/README.txt +59 -0
- data/Rakefile +35 -0
- data/bin/god +128 -0
- data/examples/events.god +84 -0
- data/examples/gravatar.god +54 -0
- data/examples/single.god +66 -0
- data/ext/god/extconf.rb +55 -0
- data/ext/god/kqueue_handler.c +123 -0
- data/ext/god/netlink_handler.c +167 -0
- data/init/god +42 -0
- data/lib/god/behavior.rb +52 -0
- data/lib/god/behaviors/clean_pid_file.rb +21 -0
- data/lib/god/behaviors/clean_unix_socket.rb +21 -0
- data/lib/god/behaviors/notify_when_flapping.rb +51 -0
- data/lib/god/cli/command.rb +229 -0
- data/lib/god/cli/run.rb +176 -0
- data/lib/god/cli/version.rb +23 -0
- data/lib/god/condition.rb +96 -0
- data/lib/god/conditions/always.rb +23 -0
- data/lib/god/conditions/complex.rb +86 -0
- data/lib/god/conditions/cpu_usage.rb +80 -0
- data/lib/god/conditions/degrading_lambda.rb +52 -0
- data/lib/god/conditions/disk_usage.rb +27 -0
- data/lib/god/conditions/file_mtime.rb +28 -0
- data/lib/god/conditions/flapping.rb +128 -0
- data/lib/god/conditions/http_response_code.rb +168 -0
- data/lib/god/conditions/lambda.rb +25 -0
- data/lib/god/conditions/memory_usage.rb +82 -0
- data/lib/god/conditions/process_exits.rb +72 -0
- data/lib/god/conditions/process_running.rb +74 -0
- data/lib/god/conditions/tries.rb +44 -0
- data/lib/god/configurable.rb +57 -0
- data/lib/god/contact.rb +106 -0
- data/lib/god/contacts/campfire.rb +82 -0
- data/lib/god/contacts/email.rb +95 -0
- data/lib/god/contacts/jabber.rb +65 -0
- data/lib/god/contacts/twitter.rb +39 -0
- data/lib/god/contacts/webhook.rb +47 -0
- data/lib/god/dependency_graph.rb +41 -0
- data/lib/god/diagnostics.rb +37 -0
- data/lib/god/driver.rb +206 -0
- data/lib/god/errors.rb +24 -0
- data/lib/god/event_handler.rb +111 -0
- data/lib/god/event_handlers/dummy_handler.rb +13 -0
- data/lib/god/event_handlers/kqueue_handler.rb +17 -0
- data/lib/god/event_handlers/netlink_handler.rb +13 -0
- data/lib/god/logger.rb +120 -0
- data/lib/god/metric.rb +59 -0
- data/lib/god/process.rb +341 -0
- data/lib/god/registry.rb +32 -0
- data/lib/god/simple_logger.rb +53 -0
- data/lib/god/socket.rb +96 -0
- data/lib/god/sugar.rb +47 -0
- data/lib/god/system/portable_poller.rb +42 -0
- data/lib/god/system/process.rb +42 -0
- data/lib/god/system/slash_proc_poller.rb +92 -0
- data/lib/god/task.rb +491 -0
- data/lib/god/timeline.rb +25 -0
- data/lib/god/trigger.rb +43 -0
- data/lib/god/watch.rb +183 -0
- data/lib/god.rb +667 -0
- data/test/configs/child_events/child_events.god +44 -0
- data/test/configs/child_events/simple_server.rb +3 -0
- data/test/configs/child_polls/child_polls.god +37 -0
- data/test/configs/child_polls/simple_server.rb +12 -0
- data/test/configs/complex/complex.god +59 -0
- data/test/configs/complex/simple_server.rb +3 -0
- data/test/configs/contact/contact.god +84 -0
- data/test/configs/contact/simple_server.rb +3 -0
- data/test/configs/daemon_events/daemon_events.god +37 -0
- data/test/configs/daemon_events/simple_server.rb +8 -0
- data/test/configs/daemon_events/simple_server_stop.rb +11 -0
- data/test/configs/daemon_polls/daemon_polls.god +17 -0
- data/test/configs/daemon_polls/simple_server.rb +6 -0
- data/test/configs/degrading_lambda/degrading_lambda.god +31 -0
- data/test/configs/degrading_lambda/tcp_server.rb +15 -0
- data/test/configs/matias/matias.god +50 -0
- data/test/configs/real.rb +59 -0
- data/test/configs/running_load/running_load.god +16 -0
- data/test/configs/stress/simple_server.rb +3 -0
- data/test/configs/stress/stress.god +15 -0
- data/test/configs/task/logs/.placeholder +0 -0
- data/test/configs/task/task.god +26 -0
- data/test/configs/test.rb +61 -0
- data/test/helper.rb +151 -0
- data/test/suite.rb +6 -0
- data/test/test_behavior.rb +21 -0
- data/test/test_campfire.rb +41 -0
- data/test/test_condition.rb +50 -0
- data/test/test_conditions_disk_usage.rb +56 -0
- data/test/test_conditions_http_response_code.rb +109 -0
- data/test/test_conditions_process_running.rb +44 -0
- data/test/test_conditions_tries.rb +67 -0
- data/test/test_contact.rb +109 -0
- data/test/test_dependency_graph.rb +62 -0
- data/test/test_driver.rb +11 -0
- data/test/test_email.rb +45 -0
- data/test/test_event_handler.rb +80 -0
- data/test/test_god.rb +598 -0
- data/test/test_handlers_kqueue_handler.rb +16 -0
- data/test/test_logger.rb +63 -0
- data/test/test_metric.rb +72 -0
- data/test/test_process.rb +246 -0
- data/test/test_registry.rb +15 -0
- data/test/test_socket.rb +42 -0
- data/test/test_sugar.rb +42 -0
- data/test/test_system_portable_poller.rb +17 -0
- data/test/test_system_process.rb +30 -0
- data/test/test_task.rb +262 -0
- data/test/test_timeline.rb +37 -0
- data/test/test_trigger.rb +59 -0
- data/test/test_watch.rb +279 -0
- metadata +193 -0
metadata
ADDED
@@ -0,0 +1,193 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: strobemonkey-god
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.13
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tom Preston-Werner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-12-10 00:00:00 -08:00
|
13
|
+
default_executable: god
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: God is an easy to configure, easy to extend monitoring framework written in Ruby.
|
17
|
+
email: tom@rubyisawesome.com
|
18
|
+
executables:
|
19
|
+
- god
|
20
|
+
extensions:
|
21
|
+
- ext/god/extconf.rb
|
22
|
+
extra_rdoc_files:
|
23
|
+
- History.txt
|
24
|
+
- Manifest.txt
|
25
|
+
- README.txt
|
26
|
+
files:
|
27
|
+
- History.txt
|
28
|
+
- Manifest.txt
|
29
|
+
- README.txt
|
30
|
+
- Rakefile
|
31
|
+
- bin/god
|
32
|
+
- examples/events.god
|
33
|
+
- examples/gravatar.god
|
34
|
+
- examples/single.god
|
35
|
+
- ext/god/extconf.rb
|
36
|
+
- ext/god/kqueue_handler.c
|
37
|
+
- ext/god/netlink_handler.c
|
38
|
+
- init/god
|
39
|
+
- lib/god.rb
|
40
|
+
- lib/god/behavior.rb
|
41
|
+
- lib/god/behaviors/clean_pid_file.rb
|
42
|
+
- lib/god/behaviors/clean_unix_socket.rb
|
43
|
+
- lib/god/behaviors/notify_when_flapping.rb
|
44
|
+
- lib/god/cli/command.rb
|
45
|
+
- lib/god/cli/run.rb
|
46
|
+
- lib/god/cli/version.rb
|
47
|
+
- lib/god/condition.rb
|
48
|
+
- lib/god/conditions/always.rb
|
49
|
+
- lib/god/conditions/complex.rb
|
50
|
+
- lib/god/conditions/cpu_usage.rb
|
51
|
+
- lib/god/conditions/degrading_lambda.rb
|
52
|
+
- lib/god/conditions/disk_usage.rb
|
53
|
+
- lib/god/conditions/file_mtime.rb
|
54
|
+
- lib/god/conditions/flapping.rb
|
55
|
+
- lib/god/conditions/http_response_code.rb
|
56
|
+
- lib/god/conditions/lambda.rb
|
57
|
+
- lib/god/conditions/memory_usage.rb
|
58
|
+
- lib/god/conditions/process_exits.rb
|
59
|
+
- lib/god/conditions/process_running.rb
|
60
|
+
- lib/god/conditions/tries.rb
|
61
|
+
- lib/god/configurable.rb
|
62
|
+
- lib/god/contact.rb
|
63
|
+
- lib/god/contacts/campfire.rb
|
64
|
+
- lib/god/contacts/email.rb
|
65
|
+
- lib/god/contacts/jabber.rb
|
66
|
+
- lib/god/contacts/twitter.rb
|
67
|
+
- lib/god/contacts/webhook.rb
|
68
|
+
- lib/god/dependency_graph.rb
|
69
|
+
- lib/god/diagnostics.rb
|
70
|
+
- lib/god/driver.rb
|
71
|
+
- lib/god/errors.rb
|
72
|
+
- lib/god/event_handler.rb
|
73
|
+
- lib/god/event_handlers/dummy_handler.rb
|
74
|
+
- lib/god/event_handlers/kqueue_handler.rb
|
75
|
+
- lib/god/event_handlers/netlink_handler.rb
|
76
|
+
- lib/god/logger.rb
|
77
|
+
- lib/god/metric.rb
|
78
|
+
- lib/god/process.rb
|
79
|
+
- lib/god/registry.rb
|
80
|
+
- lib/god/simple_logger.rb
|
81
|
+
- lib/god/socket.rb
|
82
|
+
- lib/god/sugar.rb
|
83
|
+
- lib/god/system/portable_poller.rb
|
84
|
+
- lib/god/system/process.rb
|
85
|
+
- lib/god/system/slash_proc_poller.rb
|
86
|
+
- lib/god/task.rb
|
87
|
+
- lib/god/timeline.rb
|
88
|
+
- lib/god/trigger.rb
|
89
|
+
- lib/god/watch.rb
|
90
|
+
- test/configs/child_events/child_events.god
|
91
|
+
- test/configs/child_events/simple_server.rb
|
92
|
+
- test/configs/child_polls/child_polls.god
|
93
|
+
- test/configs/child_polls/simple_server.rb
|
94
|
+
- test/configs/complex/complex.god
|
95
|
+
- test/configs/complex/simple_server.rb
|
96
|
+
- test/configs/contact/contact.god
|
97
|
+
- test/configs/contact/simple_server.rb
|
98
|
+
- test/configs/daemon_events/daemon_events.god
|
99
|
+
- test/configs/daemon_events/simple_server.rb
|
100
|
+
- test/configs/daemon_events/simple_server_stop.rb
|
101
|
+
- test/configs/daemon_polls/daemon_polls.god
|
102
|
+
- test/configs/daemon_polls/simple_server.rb
|
103
|
+
- test/configs/degrading_lambda/degrading_lambda.god
|
104
|
+
- test/configs/degrading_lambda/tcp_server.rb
|
105
|
+
- test/configs/matias/matias.god
|
106
|
+
- test/configs/real.rb
|
107
|
+
- test/configs/running_load/running_load.god
|
108
|
+
- test/configs/stress/simple_server.rb
|
109
|
+
- test/configs/stress/stress.god
|
110
|
+
- test/configs/task/logs/.placeholder
|
111
|
+
- test/configs/task/task.god
|
112
|
+
- test/configs/test.rb
|
113
|
+
- test/helper.rb
|
114
|
+
- test/suite.rb
|
115
|
+
- test/test_behavior.rb
|
116
|
+
- test/test_campfire.rb
|
117
|
+
- test/test_condition.rb
|
118
|
+
- test/test_conditions_disk_usage.rb
|
119
|
+
- test/test_conditions_http_response_code.rb
|
120
|
+
- test/test_conditions_process_running.rb
|
121
|
+
- test/test_conditions_tries.rb
|
122
|
+
- test/test_contact.rb
|
123
|
+
- test/test_dependency_graph.rb
|
124
|
+
- test/test_driver.rb
|
125
|
+
- test/test_email.rb
|
126
|
+
- test/test_event_handler.rb
|
127
|
+
- test/test_god.rb
|
128
|
+
- test/test_handlers_kqueue_handler.rb
|
129
|
+
- test/test_logger.rb
|
130
|
+
- test/test_metric.rb
|
131
|
+
- test/test_process.rb
|
132
|
+
- test/test_registry.rb
|
133
|
+
- test/test_socket.rb
|
134
|
+
- test/test_sugar.rb
|
135
|
+
- test/test_system_portable_poller.rb
|
136
|
+
- test/test_system_process.rb
|
137
|
+
- test/test_task.rb
|
138
|
+
- test/test_timeline.rb
|
139
|
+
- test/test_trigger.rb
|
140
|
+
- test/test_watch.rb
|
141
|
+
has_rdoc: true
|
142
|
+
homepage: http://god.rubyforge.org/
|
143
|
+
post_install_message:
|
144
|
+
rdoc_options:
|
145
|
+
- --main
|
146
|
+
- README.txt
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
- ext
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: "0"
|
155
|
+
version:
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: "0"
|
161
|
+
version:
|
162
|
+
requirements: []
|
163
|
+
|
164
|
+
rubyforge_project: god
|
165
|
+
rubygems_version: 1.2.0
|
166
|
+
signing_key:
|
167
|
+
specification_version: 2
|
168
|
+
summary: Like monit, only awesome
|
169
|
+
test_files:
|
170
|
+
- test/test_process.rb
|
171
|
+
- test/test_watch.rb
|
172
|
+
- test/test_system_portable_poller.rb
|
173
|
+
- test/test_conditions_tries.rb
|
174
|
+
- test/test_task.rb
|
175
|
+
- test/test_condition.rb
|
176
|
+
- test/test_timeline.rb
|
177
|
+
- test/test_logger.rb
|
178
|
+
- test/test_conditions_process_running.rb
|
179
|
+
- test/test_handlers_kqueue_handler.rb
|
180
|
+
- test/test_conditions_disk_usage.rb
|
181
|
+
- test/test_event_handler.rb
|
182
|
+
- test/test_driver.rb
|
183
|
+
- test/test_dependency_graph.rb
|
184
|
+
- test/test_metric.rb
|
185
|
+
- test/test_registry.rb
|
186
|
+
- test/test_behavior.rb
|
187
|
+
- test/test_socket.rb
|
188
|
+
- test/test_sugar.rb
|
189
|
+
- test/test_trigger.rb
|
190
|
+
- test/test_conditions_http_response_code.rb
|
191
|
+
- test/test_god.rb
|
192
|
+
- test/test_system_process.rb
|
193
|
+
- test/test_contact.rb
|