easymon 1.4 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf76cc1300dbf7f7d26a222de5a63bd5e33aebbe3b46309cebb3d57c56a96198
|
4
|
+
data.tar.gz: 6dba2bf0de1364f1654eabeee1d77dab1f56468da147d5deebced8d5d4b8cd0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d291eb62ea6e290218df03a25952fff04de375f70c1c83d5c354cca6ce388a384af352ad4e6297702c8f84346cb2f943c3d139f26df8033f25679ab0bc0713c3
|
7
|
+
data.tar.gz: 39c8f3667f94968c025790bf5e5745116ae8c3aaf6e679ce4a5b1a37554193564094d954e101fe5a7e0f4ab54fc7176a393d42a9b441ee8023454e52c3ea1545
|
@@ -17,8 +17,8 @@ module Easymon
|
|
17
17
|
|
18
18
|
rescue_from Easymon::NoSuchCheck do |e|
|
19
19
|
respond_to do |format|
|
20
|
-
format.any(:text, :html) { render_result
|
21
|
-
format.json { render :json =>
|
20
|
+
format.any(:text, :html) { render_result "Check Not Found", :not_found }
|
21
|
+
format.json { render :json => "Check Not Found", :status => :not_found }
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/lib/easymon/version.rb
CHANGED
@@ -0,0 +1,66 @@
|
|
1
|
+
DEPRECATION WARNING: Using `Rails::Application` subclass to start the server is deprecated and will be removed in Rails 6.0. Please change `run Dummy::Application` to `run Rails.application` in config.ru. (called from require at script/rails:6)
|
2
|
+
Started GET "/up" for 127.0.0.1 at 2018-11-08 22:46:44 -0500
|
3
|
+
Processing by Easymon::ChecksController#index as */*
|
4
|
+
Rendering text template
|
5
|
+
Rendered text template (0.0ms)
|
6
|
+
Completed 503 Service Unavailable in 33ms (Views: 0.6ms)
|
7
|
+
|
8
|
+
|
9
|
+
Started GET "/up/foobar" for 127.0.0.1 at 2018-11-08 22:46:48 -0500
|
10
|
+
Processing by Easymon::ChecksController#show as */*
|
11
|
+
Parameters: {"check"=>"foobar"}
|
12
|
+
Rendering text template
|
13
|
+
Rendered text template (0.0ms)
|
14
|
+
Completed 404 Not Found in 1ms (Views: 0.3ms)
|
15
|
+
|
16
|
+
|
17
|
+
Started GET "/up/foobar" for 127.0.0.1 at 2018-11-08 22:47:10 -0500
|
18
|
+
Processing by Easymon::ChecksController#show as */*
|
19
|
+
Parameters: {"check"=>"foobar"}
|
20
|
+
Rendering text template
|
21
|
+
Rendered text template (0.0ms)
|
22
|
+
Completed 404 Not Found in 1ms (Views: 0.4ms)
|
23
|
+
|
24
|
+
|
25
|
+
Started GET "/up/foobar" for 127.0.0.1 at 2018-11-08 22:49:15 -0500
|
26
|
+
Processing by Easymon::ChecksController#show as */*
|
27
|
+
Parameters: {"check"=>"foobar"}
|
28
|
+
Rendering text template
|
29
|
+
Rendered text template (0.0ms)
|
30
|
+
Completed 404 Not Found in 1ms (Views: 0.5ms)
|
31
|
+
|
32
|
+
|
33
|
+
DEPRECATION WARNING: Using `Rails::Application` subclass to start the server is deprecated and will be removed in Rails 6.0. Please change `run Dummy::Application` to `run Rails.application` in config.ru. (called from require at script/rails:6)
|
34
|
+
Started GET "/up/critical/foobar" for 127.0.0.1 at 2018-11-08 22:50:46 -0500
|
35
|
+
|
36
|
+
ActionController::RoutingError (No route matches [GET] "/up/critical/foobar"):
|
37
|
+
|
38
|
+
actionpack (5.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
39
|
+
actionpack (5.2.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
40
|
+
railties (5.2.1) lib/rails/rack/logger.rb:38:in `call_app'
|
41
|
+
railties (5.2.1) lib/rails/rack/logger.rb:26:in `block in call'
|
42
|
+
activesupport (5.2.1) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
43
|
+
activesupport (5.2.1) lib/active_support/tagged_logging.rb:28:in `tagged'
|
44
|
+
activesupport (5.2.1) lib/active_support/tagged_logging.rb:71:in `tagged'
|
45
|
+
railties (5.2.1) lib/rails/rack/logger.rb:26:in `call'
|
46
|
+
actionpack (5.2.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
47
|
+
actionpack (5.2.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
48
|
+
rack (2.0.6) lib/rack/method_override.rb:22:in `call'
|
49
|
+
rack (2.0.6) lib/rack/runtime.rb:22:in `call'
|
50
|
+
activesupport (5.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
51
|
+
actionpack (5.2.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
52
|
+
actionpack (5.2.1) lib/action_dispatch/middleware/static.rb:127:in `call'
|
53
|
+
rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
|
54
|
+
railties (5.2.1) lib/rails/engine.rb:524:in `call'
|
55
|
+
rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
|
56
|
+
/Users/nathan/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
|
57
|
+
/Users/nathan/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
|
58
|
+
/Users/nathan/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
|
59
|
+
Started GET "/up/critical" for 127.0.0.1 at 2018-11-08 22:51:07 -0500
|
60
|
+
Processing by Easymon::ChecksController#show as */*
|
61
|
+
Parameters: {"check"=>"critical"}
|
62
|
+
Rendering text template
|
63
|
+
Rendered text template (0.0ms)
|
64
|
+
Completed 503 Service Unavailable in 29ms (Views: 0.5ms)
|
65
|
+
|
66
|
+
|
data/test/dummy/log/test.log
CHANGED
@@ -2300,3 +2300,422 @@ ActiveRecordCheckTest: test_given_nil_as_a_config
|
|
2300
2300
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2301
2301
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2302
2302
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2303
|
+
[1m[35m (0.4ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
|
2304
|
+
[1m[35m (0.2ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
|
2305
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2306
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2307
|
+
--------------------------------------------------------------------------
|
2308
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
2309
|
+
--------------------------------------------------------------------------
|
2310
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2311
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2312
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2313
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2314
|
+
--------------------------------------------
|
2315
|
+
RepositoryTest: test_fetches_a_check_by_name
|
2316
|
+
--------------------------------------------
|
2317
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2318
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2319
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2320
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2321
|
+
-----------------------------------------------------
|
2322
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
2323
|
+
-----------------------------------------------------
|
2324
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2325
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2326
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2327
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2328
|
+
---------------------------------------------------
|
2329
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
2330
|
+
---------------------------------------------------
|
2331
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2332
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2333
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2334
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2335
|
+
---------------------------------------------------------
|
2336
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
2337
|
+
---------------------------------------------------------
|
2338
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2339
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2340
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2341
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2342
|
+
--------------------------------------------------------------
|
2343
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
2344
|
+
--------------------------------------------------------------
|
2345
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2346
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2347
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2348
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2349
|
+
---------------------------------------------------------------------
|
2350
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2351
|
+
---------------------------------------------------------------------
|
2352
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2353
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2354
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2355
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2356
|
+
-----------------------------------------------------------------------
|
2357
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2358
|
+
-----------------------------------------------------------------------
|
2359
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2360
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2361
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2362
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2363
|
+
------------------------------------------------------------------
|
2364
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
2365
|
+
------------------------------------------------------------------
|
2366
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2367
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2368
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2369
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2370
|
+
---------------------------------------------------------
|
2371
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
2372
|
+
---------------------------------------------------------
|
2373
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2374
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2375
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2376
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2377
|
+
---------------------------------------------------------------------
|
2378
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2379
|
+
---------------------------------------------------------------------
|
2380
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2381
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2382
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2383
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2384
|
+
-----------------------------------------------------------------------
|
2385
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2386
|
+
-----------------------------------------------------------------------
|
2387
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2388
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2389
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2390
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2391
|
+
----------------------------------------------------------------------------
|
2392
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
2393
|
+
----------------------------------------------------------------------------
|
2394
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2395
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2396
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2397
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2398
|
+
------------------------------------------------------------------------------
|
2399
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
2400
|
+
------------------------------------------------------------------------------
|
2401
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2402
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2403
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2404
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2405
|
+
--------------------------------------------------------------------------------------
|
2406
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
2407
|
+
--------------------------------------------------------------------------------------
|
2408
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2409
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2410
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2411
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2412
|
+
----------------------------------------------------------------------------------------
|
2413
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
2414
|
+
----------------------------------------------------------------------------------------
|
2415
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2416
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2417
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2418
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2419
|
+
----------------------------------------------------------------
|
2420
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2421
|
+
----------------------------------------------------------------
|
2422
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2423
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2424
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2425
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2426
|
+
------------------------------------------------------------------
|
2427
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
2428
|
+
------------------------------------------------------------------
|
2429
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2430
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2431
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2432
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2433
|
+
------------------------------------------------------------------
|
2434
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2435
|
+
------------------------------------------------------------------
|
2436
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2437
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2438
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2439
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2440
|
+
--------------------------------------
|
2441
|
+
HttpCheckTest: test_given_nil_as_a_url
|
2442
|
+
--------------------------------------
|
2443
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2444
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2445
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2446
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2447
|
+
------------------------------------------------------------
|
2448
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
2449
|
+
------------------------------------------------------------
|
2450
|
+
Processing by Easymon::ChecksController#index as JSON
|
2451
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2452
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2453
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2454
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2455
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2456
|
+
------------------------------------------------------------
|
2457
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
2458
|
+
------------------------------------------------------------
|
2459
|
+
Processing by Easymon::ChecksController#index as HTML
|
2460
|
+
Rendering text template
|
2461
|
+
Rendered text template (0.0ms)
|
2462
|
+
Completed 503 Service Unavailable in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
2463
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2464
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2465
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2466
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2467
|
+
---------------------------------------------------------------------
|
2468
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
2469
|
+
---------------------------------------------------------------------
|
2470
|
+
Processing by Easymon::ChecksController#index as HTML
|
2471
|
+
Rendering text template
|
2472
|
+
Rendered text template (0.0ms)
|
2473
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2474
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2475
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2476
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2477
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2478
|
+
-------------------------------------------------------------------------
|
2479
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
2480
|
+
-------------------------------------------------------------------------
|
2481
|
+
Processing by Easymon::ChecksController#index as HTML
|
2482
|
+
Rendering text template
|
2483
|
+
Rendered text template (0.0ms)
|
2484
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2485
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2486
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2487
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2488
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2489
|
+
--------------------------------------------------------------
|
2490
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
2491
|
+
--------------------------------------------------------------
|
2492
|
+
Processing by Easymon::ChecksController#index as HTML
|
2493
|
+
Rendering text template
|
2494
|
+
Rendered text template (0.0ms)
|
2495
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2496
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2497
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2498
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2499
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2500
|
+
--------------------------------------------------------------------
|
2501
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
2502
|
+
--------------------------------------------------------------------
|
2503
|
+
Processing by Easymon::ChecksController#index as HTML
|
2504
|
+
Rendering text template
|
2505
|
+
Rendered text template (0.0ms)
|
2506
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
2507
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2508
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2509
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2510
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2511
|
+
----------------------------------------------------------------
|
2512
|
+
Easymon::ChecksControllerTest: test_return_403_if_not_authorized
|
2513
|
+
----------------------------------------------------------------
|
2514
|
+
Processing by Easymon::ChecksController#index as HTML
|
2515
|
+
Filter chain halted as :authorize_request rendered or redirected
|
2516
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
2517
|
+
Processing by Easymon::ChecksController#show as HTML
|
2518
|
+
Parameters: {"check"=>"database"}
|
2519
|
+
Filter chain halted as :authorize_request rendered or redirected
|
2520
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
2521
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2522
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2523
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2524
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2525
|
+
------------------------------------------------------------------
|
2526
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
2527
|
+
------------------------------------------------------------------
|
2528
|
+
Processing by Easymon::ChecksController#show as HTML
|
2529
|
+
Parameters: {"check"=>"database"}
|
2530
|
+
Rendering text template
|
2531
|
+
Rendered text template (0.0ms)
|
2532
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2533
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2534
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2535
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2536
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2537
|
+
-------------------------------------------------------------------
|
2538
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
2539
|
+
-------------------------------------------------------------------
|
2540
|
+
Processing by Easymon::ChecksController#show as JSON
|
2541
|
+
Parameters: {"check"=>"database"}
|
2542
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2543
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2544
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2545
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2546
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2547
|
+
-------------------------------------------------------------
|
2548
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
2549
|
+
-------------------------------------------------------------
|
2550
|
+
Processing by Easymon::ChecksController#show as HTML
|
2551
|
+
Parameters: {"check"=>"database"}
|
2552
|
+
Rendering text template
|
2553
|
+
Rendered text template (0.0ms)
|
2554
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2555
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2556
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2557
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2558
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2559
|
+
--------------------------------------------------------------
|
2560
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
2561
|
+
--------------------------------------------------------------
|
2562
|
+
Processing by Easymon::ChecksController#show as HTML
|
2563
|
+
Parameters: {"check"=>"database"}
|
2564
|
+
Rendering text template
|
2565
|
+
Rendered text template (0.0ms)
|
2566
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2567
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2568
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2569
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2570
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2571
|
+
-----------------------------------------------------------------
|
2572
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2573
|
+
-----------------------------------------------------------------
|
2574
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2575
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2576
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2577
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2578
|
+
-------------------------------------------------------------------
|
2579
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2580
|
+
-------------------------------------------------------------------
|
2581
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2582
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2583
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2584
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2585
|
+
------------------------------------------
|
2586
|
+
RedisCheckTest: test_given_nil_as_a_config
|
2587
|
+
------------------------------------------
|
2588
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2589
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2590
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2591
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2592
|
+
--------------------------------------------------------------------------
|
2593
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
2594
|
+
--------------------------------------------------------------------------
|
2595
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2596
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2597
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2598
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2599
|
+
----------------------------------------------------------------------------
|
2600
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
2601
|
+
----------------------------------------------------------------------------
|
2602
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2603
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2604
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2605
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2606
|
+
-------------------------------------------------
|
2607
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
2608
|
+
-------------------------------------------------
|
2609
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2610
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2611
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2612
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2613
|
+
---------------------------------------------------------------------
|
2614
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
2615
|
+
---------------------------------------------------------------------
|
2616
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2617
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2618
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2619
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2620
|
+
------------------------------------------------------------------------------------
|
2621
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
2622
|
+
------------------------------------------------------------------------------------
|
2623
|
+
Dalli::Server#connect 127.0.0.1:11211
|
2624
|
+
127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211
|
2625
|
+
Dalli::Server#connect 127.0.0.1:11211
|
2626
|
+
127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211
|
2627
|
+
127.0.0.1:11211 is down
|
2628
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
2629
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
2630
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
2631
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
2632
|
+
-----------------------------------------------------------------
|
2633
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
2634
|
+
-----------------------------------------------------------------
|
2635
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2636
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2637
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2638
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2639
|
+
---------------------------------------------------------
|
2640
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
2641
|
+
---------------------------------------------------------
|
2642
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2643
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2644
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2645
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2646
|
+
-------------------------------------------------------------------------
|
2647
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
2648
|
+
-------------------------------------------------------------------------
|
2649
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2650
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2651
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2652
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2653
|
+
----------------------------------------------
|
2654
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
2655
|
+
----------------------------------------------
|
2656
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2657
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2658
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2659
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2660
|
+
---------------------------------------------
|
2661
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
2662
|
+
---------------------------------------------
|
2663
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2664
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2665
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2666
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2667
|
+
-------------------------------------------------------------------
|
2668
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
2669
|
+
-------------------------------------------------------------------
|
2670
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2671
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2672
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2673
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2674
|
+
------------------------------------------
|
2675
|
+
ChecklistTest: test_it_will_run_each_check
|
2676
|
+
------------------------------------------
|
2677
|
+
down_retry_delay not reached for 127.0.0.1:11211 (59.983 seconds left)
|
2678
|
+
down_retry_delay not reached for 127.0.0.1:11211 (59.983 seconds left)
|
2679
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2680
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2681
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2682
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2683
|
+
--------------------------------------------------------------------------------
|
2684
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
2685
|
+
--------------------------------------------------------------------------------
|
2686
|
+
[1m[35m (0.3ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
|
2687
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2688
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2689
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2690
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2691
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2692
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2693
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2694
|
+
-------------------------------------------------------------------------------
|
2695
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
2696
|
+
-------------------------------------------------------------------------------
|
2697
|
+
[1m[35m (0.3ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
|
2698
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2699
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2700
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2701
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2702
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2703
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2704
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2705
|
+
-------------------------------------------------------------------------------
|
2706
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2707
|
+
-------------------------------------------------------------------------------
|
2708
|
+
[1m[35m (0.3ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
|
2709
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2710
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2711
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2712
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2713
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2714
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2715
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2716
|
+
------------------------------------------------------
|
2717
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
2718
|
+
------------------------------------------------------
|
2719
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2720
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2721
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry :@valuei:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easymon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Anderson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -178,6 +178,7 @@ files:
|
|
178
178
|
- test/dummy/public/500.html
|
179
179
|
- test/dummy/public/favicon.ico
|
180
180
|
- test/dummy/script/rails
|
181
|
+
- test/dummy/tmp/cache/4D4/7A0/health_check
|
181
182
|
- test/helpers/easymon/checks_helper_test.rb
|
182
183
|
- test/integration/navigation_test.rb
|
183
184
|
- test/test_helper.rb
|
@@ -265,6 +266,7 @@ test_files:
|
|
265
266
|
- test/dummy/public/404.html
|
266
267
|
- test/dummy/log/test.log
|
267
268
|
- test/dummy/log/development.log
|
269
|
+
- test/dummy/tmp/cache/4D4/7A0/health_check
|
268
270
|
- test/dummy/README.rdoc
|
269
271
|
- test/integration/navigation_test.rb
|
270
272
|
- test/test_helper.rb
|