Skip to content

Instantly share code, notes, and snippets.

@mcallaway
Last active December 14, 2015 22:08
Show Gist options
  • Save mcallaway/5155832 to your computer and use it in GitHub Desktop.
Save mcallaway/5155832 to your computer and use it in GitHub Desktop.
development.log for sensu-admin
Started GET "/api/status" for 10.0.2.2 at Wed Mar 13 20:08:01 +0000 2013
Processing by ApiController#status as */*
User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
Setting Load (0.8ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'use_environments' LIMIT 1
Setting Load (0.7ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'api_server' LIMIT 1
Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'configure_server' LIMIT 1
Rendered api/_apistatus.html.haml (31.0ms)
Completed 500 Internal Server Error in 124ms
ActionView::Template::Error (undefined method `health' for #<Api:0x7f8cda368aa8>):
1: %div.row
2: - api = Api.status
3: - sensu_version = api.sensu['version']
4: - redis_health = (api.health['redis'] == "ok") ? "ok" : "failed"
5: - rabbitmq_health = (api.health['rabbitmq'] == "ok") ? "ok" : "failed"
6: %span.badge.badge-info{:style => "margin-right: 5px;"}
7: == API Version: #{sensu_version}
app/views/api/_apistatus.html.haml:4:in `_app_views_api__apistatus_html_haml___967823870_70121795227400'
app/controllers/api_controller.rb:3:in `status'
Rendered .bundler/ruby/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
Rendered .bundler/ruby/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
Rendered .bundler/ruby/1.8/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.1ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment