steelthread / redmon Goto Github PK
View Code? Open in Web Editor NEWA web interface for managing redis: cli, admin, and live monitoring
Home Page: http://steelthread.github.com/redmon/
A web interface for managing redis: cli, admin, and live monitoring
Home Page: http://steelthread.github.com/redmon/
/usr/bin/redmon:19:in`load': /usr/lib/ruby/gems/1.8/gems/redmon-0.0.4/bin/redmon:9: syntax error, unexpected '>' (SyntaxError)
to_i =-> s {s.to_i}
^
from /usr/bin/redmon:19
any idea? thx
Why the Dashboard can not show any data when I install redmon and it seems running well,CLI is working well
ps:version is v1.5.1
listening on http#10.12.7.17:4567
!!! Redmon has shit the bed, restarting... source sequence is illegal/malformed utf-8
Hi,
I am not sure if I am missing something I am supposed to do, but after starting Redmon, I pointed my browser to localhost:4567, and I got the following error. It looks like I should run this from a directory where it can find ./views/app.haml, but I have no idea where that directory should be.
Any help would be much appreciated!
Thanks!
The worker should manage the # of items in the stats sorted set. In addition the time window of the items should be inspected to ensure continuity for a configurable time window and purge set members when necessary.
I'm installing redmon on debian, and I've packaged and installed all the "runtime" dependent gems, but still get this error:
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- sinatra/reloader (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from /var/lib/gems/1.9.1/gems/redmon-0.0.1/lib/redmon/app.rb:5:in `block in <class:App>'
from /var/lib/gems/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1273:in `configure'
from /var/lib/gems/1.9.1/gems/redmon-0.0.1/lib/redmon/app.rb:4:in `<class:App>'
from /var/lib/gems/1.9.1/gems/redmon-0.0.1/lib/redmon/app.rb:2:in `<module:Redmon>'
from /var/lib/gems/1.9.1/gems/redmon-0.0.1/lib/redmon/app.rb:1:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /var/lib/gems/1.9.1/gems/redmon-0.0.1/lib/redmon.rb:66:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /var/lib/gems/1.9.1/gems/redmon-0.0.1/bin/redmon:4:in `<top (required)>'
from /var/lib/gems/1.9.1/bin/redmon:19:in `load'
from /var/lib/gems/1.9.1/bin/redmon:19:in `<main>'
I am very new to Ruby, so I'm not sure about this.. but once I package and install the gem for sinatra-reloader, redmon loads.
Just thought you should know.
ruby1.9.1 on Debian Squeeze.
Hi there,
thanks for the great tool. I had it running fine as a standalone process. I wanted to embed it into the Rails app that uses redis and followed the instructions in README.md for doing so.
However, following the instructions didn't work. Here is what I did to make it work:
Don't require 'redis/app'
in routes.rb.
Add the following to the top of config/initializers/redmon.rb instead:
require 'redmon/config'
require 'redmon/redis'
require 'redmon/app'
Environment:
Need to be able to configure a prefix for the service so that it operates properly from behind a proxy (nginx), this is supported from thin, but not from the redmon cli script.
Each time after dashboard is refreshed, I've got an error in browser console:
Error: Problem parsing d="MZ" d3.v3.min.js:1
a d3.v3.min.js:1
(anonymous function) d3.v3.min.js:3
Tn d3.v3.min.js:1
Ma.each d3.v3.min.js:3
Ma.attr d3.v3.min.js:3
S nv.d3.min.js:4
Sometimes I see another error:
Uncaught TypeError: Cannot read property 'values' of undefined nv.d3.min.js:4
(anonymous function) nv.d3.min.js:4
u
Browser: Google Chrome, 32.0.1700.77
start success
but ouput Redmon has shit the bed, restarting... ERR unknown command 'slowlog'
I cloned the repo, installed the bundles via bundle install
and then I got this: (unfortunately I don't have much knowledge in ruby to fix it myself)
$ruby sample/app.rb
sample/app.rb:4:in `require': /var/redmon/lib/redmon.rb:40: syntax error, unexpected tIDENTIFIER, expecting tAMPER (SyntaxError)
Thin::Server.start(*opts[:web_interface], app)
^
from sample/app.rb:4
With the ability to mount the web app basic auth should be added.
Since redmon is using the (excellent) highcharts library it should stick to the licence conditions and have an attribution where appropriate (in the charts for example). Another option would be to unbundle highcharts and require the user to obtain a licence.
Thank you so much , bro !
but how can i use a redmon to monitor multiple servers ? like Redis-Live
It looks like it can only monitor one server.
class Config
DEFAULTS = {
:web_interface => ['0.0.0.0', 4567],
:redis_url => ['redis://192.168.2.73:6379','redis://192.168.2.73:63791'], //error :(
:namespace => 'redmon',
:worker => true,
:poll_interval => 10
}
This monitor is really well done, having a graph showing me when the connections are trending up would be a real killer feature.
Implement a new dashboard based on gridster.
Others?
How do I connect to a Redis instance using a Unix Socket?
Use the instantaneous ops / sec info entry for a through put graph widget.
The screenshot on the Redmon readme has a "Keys" navigation item . But I couldn't find it in app.haml
:
.container
%a.brand Redmon
%ul.nav
%li.active{:id => 'dashboard'}
%a Dashboard
%li{:id => 'cli'}
%a CLI
%li{:id => 'config'}
%a Configuration
Is this just a planned item ? If so I think it would be nice if it could be mentioned somewhere.
Any way to disable the CLI? We don't want someone to accidentally be able to wipe our caches from CLI (or hack it and disable)
has anyone been able to do a init.d service wrapper for this? running under screen for now on centos 6.7
Time to move to nvd3 or d3 directly.
I just checked the keys in my Redis db with redis-rdb-tools (https://github.com/sripathikrishnan/redis-rdb-tools) and the largest key by far is "redmon:redis:localhost:6379/0:stats" with a size of 324897636 bytes (about 310MB).
How could this grow so big?
Even hacking the default_options hash doesn't help. I might send a pull for this.
I got a error when do this "bundle exec bin/redmon -h",The error info is "
bin/redmon:9: syntax error, unexpected '>'
to_i =-> s {s.to_i}
";
root@70733:/var/www# redmon
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': superclass mismatch for class DateTime (TypeError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /usr/lib/ruby/1.9.1/date.rb:3:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/time.rb:43:in
<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/xml_mini.rb:1:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/core_ext/array/conversions.rb:1:in
<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/duration.rb:2:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/core_ext/time/calculations.rb:1:in
<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/core_ext/time.rb:2:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/core_ext.rb:3:in
block in <top (required)>'
from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/core_ext.rb:1:in each' from /var/lib/gems/1.9.1/gems/activesupport-4.0.0/lib/active_support/core_ext.rb:1:in
<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /var/lib/gems/1.9.1/gems/redmon-0.0.8/lib/redmon.rb:2:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /var/lib/gems/1.9.1/gems/redmon-0.0.8/bin/redmon:5:in
<top (required)>'
from /usr/local/bin/redmon:23:in load' from /usr/local/bin/redmon:23:in
This may be a bit of an edge-case for most people, but Redmon crashes if the results of SLOWLOG contain non-ascii characters. The occurred after using the MIGRATE command(since this does serialization + DUMP/RESTORE).
I'll see if I can submit a repro/bug fix later.
[13-04-27 00:02:41] !!! Redmon has shit the bed, restarting... "\x80" on US-ASCII
[13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:123:in encode' [13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:123:in
escape'
[13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:69:in escape' [13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:171:in
encode_json'
[13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:48:in block in encode ' [13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:77:in
check_for_circu
lar_references'
[13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:46:in encode' [13-04-27 00:02:41] /var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:246:in
block in encod.....
And here's a SLOWLOG entry that I think is reponsible:
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
sudo gem install redmon
Password:
Building native extensions. This could take a while...
Building native extensions. This could take a while...
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
Successfully installed bson-1.8.3
Successfully installed bson_ext-1.8.3
Successfully installed rack-1.5.2
Successfully installed rack-protection-1.4.0
Successfully installed tilt-1.3.5
Successfully installed sinatra-1.3.5
Successfully installed hiredis-0.4.5
Successfully installed redis-3.0.3
Successfully installed i18n-0.6.4
Successfully installed haml-4.0.0
Successfully installed mixlib-cli-1.3.0
Successfully installed redmon-0.0.5
Successfully installed multi_json-1.6.1
13 gems installed
Installing ri documentation for bson-1.8.3...
Installing ri documentation for bson_ext-1.8.3...
Installing ri documentation for rack-1.5.2...
Installing ri documentation for rack-protection-1.4.0...
Installing ri documentation for tilt-1.3.5...
Installing ri documentation for sinatra-1.3.5...
Installing ri documentation for hiredis-0.4.5...
Installing ri documentation for redis-3.0.3...
Installing ri documentation for i18n-0.6.4...
Installing ri documentation for haml-4.0.0...
Installing ri documentation for mixlib-cli-1.3.0...
Installing ri documentation for redmon-0.0.5...
Installing ri documentation for multi_json-1.6.1...
Installing RDoc documentation for bson-1.8.3...
Installing RDoc documentation for bson_ext-1.8.3...
Installing RDoc documentation for rack-1.5.2...
Installing RDoc documentation for rack-protection-1.4.0...
Installing RDoc documentation for tilt-1.3.5...
Installing RDoc documentation for sinatra-1.3.5...
Installing RDoc documentation for hiredis-0.4.5...
Installing RDoc documentation for redis-3.0.3...
Installing RDoc documentation for i18n-0.6.4...
Installing RDoc documentation for haml-4.0.0...
Installing RDoc documentation for mixlib-cli-1.3.0...
Installing RDoc documentation for redmon-0.0.5...
Installing RDoc documentation for multi_json-1.6.1...
All is ok, try to start:
$ redmon
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:4567, CTRL+C to stop
[13-03-11 12:35:07] listening on http#0.0.0.0:4567
After few seconds, get this error:
NoMethodError - undefined method `to_json' for []:Array:
/Library/Ruby/Gems/1.8/gems/redmon-0.0.5/lib/redmon/app.rb:52:in `GET /stats'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:1292:in `call'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:1292:in `compile!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `[]'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `route!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:876:in `route_eval'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `route!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:897:in `process_route'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in `catch'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:895:in `process_route'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:859:in `route!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `each'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:858:in `route!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:963:in `dispatch!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:960:in `dispatch!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `call!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `catch'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:946:in `invoke'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:794:in `call!'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:780:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.5.2/lib/rack/static.rb:119:in `call'
/Library/Ruby/Gems/1.8/gems/rack-protection-1.4.0/lib/rack/protection/xss_header.rb:18:in `call'
/Library/Ruby/Gems/1.8/gems/rack-protection-1.4.0/lib/rack/protection/path_traversal.rb:16:in `call'
/Library/Ruby/Gems/1.8/gems/rack-protection-1.4.0/lib/rack/protection/json_csrf.rb:18:in `call'
/Library/Ruby/Gems/1.8/gems/rack-protection-1.4.0/lib/rack/protection/base.rb:48:in `call'
/Library/Ruby/Gems/1.8/gems/rack-protection-1.4.0/lib/rack/protection/frame_options.rb:31:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.5.2/lib/rack/nulllogger.rb:9:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/showexceptions.rb:21:in `call'
/Library/Ruby/Gems/1.8/gems/sinatra-1.3.5/lib/sinatra/base.rb:124:in `call'
/Library/Ruby/Gems/1.8/gems/thin-1.5.0/lib/thin/connection.rb:81:in `pre_process'
/Library/Ruby/Gems/1.8/gems/thin-1.5.0/lib/thin/connection.rb:79:in `catch'
/Library/Ruby/Gems/1.8/gems/thin-1.5.0/lib/thin/connection.rb:79:in `pre_process'
/Library/Ruby/Gems/1.8/gems/thin-1.5.0/lib/thin/connection.rb:54:in `process'
/Library/Ruby/Gems/1.8/gems/thin-1.5.0/lib/thin/connection.rb:39:in `receive_data'
/Library/Ruby/Gems/1.8/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in `run_machine'
/Library/Ruby/Gems/1.8/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in `run'
/Library/Ruby/Gems/1.8/gems/redmon-0.0.5/lib/redmon.rb:19:in `start_em'
/Library/Ruby/Gems/1.8/gems/redmon-0.0.5/lib/redmon.rb:9:in `run'
/Library/Ruby/Gems/1.8/gems/redmon-0.0.5/bin/redmon:71
/usr/bin/redmon:19:in `load'
/usr/bin/redmon:19
And after this, redmon try to restart all the time...
[13-03-11 12:39:56] !!! Redmon has shit the bed, restarting... undefined method `to_json' for #<Hash:0x10663dc40>
Redmon mounted in a Rails app is showing no stats. The following video shows the behavior: http://screencast.com/t/mVQk1RxF
Basic diagnostics:
[]
Rails configuration code:
# config/routes.rb
mount Redmon::App => '/admin/redmon/'
# config/initializers/redmon.rb
Redmon.configure do |config|
config.redis_url = "redis://127.0.0.1:6379/0"
config.namespace = 'redmon'
config.poll_interval = 10
end
I would like to use supervisor to manage the redmon
process. But in order to be able to do that it has to run in the foreground.
Would it be possible to add a command line argument to run it non-daemonized?
Hi,
I noticed that this project does not have a licence document. That's an issue for everyone who'd like to use parts or all of this project as well as for contributors. Could you state your licence please?
Thanks
Currently using 0.0.8 with Rails 4. Looks like master/0.0.9 added a specific activesupport lib from Rails 3 days.
Is this gemspec dependency intentional to support 0.0.9?
Redmon can display default dbnum keys stat,but I can select another dbnum.For instance db1..16.
Good gawd the dashboard looks like a POS.
The slowlog table should show a single line with the ability to click the row to see the entire command details.
bin/redmon:12: syntax error, unexpected '>'
to_i =-> s {s.to_i}
Could u help me figure out what's the problem. I'm running fedora 16, ruby 1.8.7 (2011-12-28 patchlevel 357) [i386-linux]. I'm not familiar with ruby too. Thanks a lot.
OS: CentOS 6.5
Ruby: ruby 1.9.3p484
Install: followed this steps https://gist.github.com/alexandrerocco/6159683
When I try to start redmon the following error occurs:
Can't start Redmon::App. port in use? Error undefined method `start' for Thin::Server:Class
Nothing is listening on port 4567 (checked with lsof and netstat). Even when i try to change the port (-p 9876) i get the same error.
Auth support would be nice. Can't use Redmon on auth-enabled Redis servers.
Hey there,
First of all, I wanted to say that you've done a great job with this project.
In the demo images, you can clearly see that there's a 'Keys' link at the top menu of the UI, I figured it may provide a simple interface which you can actually browse through the different keys/values currently in the store.
After running Redmon and later on looking at the source code, I saw that there's no such feature. Is something like that currently planned?
redmon -h
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/number_helper.rb:3:in <module:NumberHelper>': uninitialized constant ActiveSupport::Autoload (NameError) from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/number_helper.rb:2:in
module:ActiveSupport'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/number_helper.rb:1:in <top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext/numeric/conversions.rb:2:in
<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext/numeric.rb:3:in <top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext.rb:2:in
block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext.rb:1:in each' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext.rb:1:in
<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:126:in
require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/redmon-0.0.8/lib/redmon.rb:2:in <top (required)>' from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in
require'
from /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:73:in require' from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/redmon-0.0.8/bin/redmon:5:in
<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/redmon:23:in load' from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/redmon:23:in
eval' from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in
'
What is problem.. >..<
My environment
ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
gem -v
2.2.2
rails -v
Rails 4.0.2
and CentOS release 6.2 (Final)
The CLI window gets confused when there are spaces in command arguments.
redis 127.0.0.1:6379/0> set users:leto "{name: leto, planet: dune, likes: [spice]}"
(error) ERR wrong number of arguments for 'set' command
redis-cli
2071[SPX/internal(dev *)]$ redis-cli
redis 127.0.0.1:6379> set users:leto "{name: leto, planet: dune, likes: [spice]}"
OK
Hi there,
Sorry to be a bother, but I'm having a little trouble using Redmon under Rails 4.0.0 with Ruby-p247. It seems to work alright in the development environment, but its assets aren't precompiled for the production environment---as a result, all the CSS and JavaScript 404 and I get a plain-Jane HTML page. I can see the config data, so it's like 85% there, but the page won't render properly. I'm deploying with Capistrano, and it's been fine about compiling all my other assets, but it seems like Redmon isn't making it into the pipeline. The only thing I've tried so far is removing require: false
from the Gemfile, to no avail.
Please let me know if I can provide any more information! And thanks in advance for looking into this.
Full output:
[domix@raskolnikov] redmon (master) $ ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
[domix@raskolnikov] redmon (master) $ ruby sample/app.rb
sample/app.rb:4:in `require': /Users/domix/developer/redmon/lib/redmon.rb:40: syntax error, unexpected tIDENTIFIER, expecting tAMPER (SyntaxError)
Thin::Server.start(*@opts[:web_interface], app)
^
from sample/app.rb:4
Info fields should be driven from what is returned from the info
command.
redmon -r redis://[email protected]:6379
output:
!!! Redmon has shit the bed, restarting... ERR operation not permitted
root@server-1:/var/www/redmon# bundle show redmon
/var/www/redmon
root@server-1:/var/www/redmon# bundle exec bin/redmon
bin/redmon:9: syntax error, unexpected '>'
to_i =-> s {s.to_i}
^
hi,bro! what can i do ?
I tested redmon for 5 days and ended up shutting it down cause taking 30% of my 8GB RAM.
wterm is a little goofy with scrolling and focus management. maybe something that I am doing?? look for alternatives, something along the lines of the mongodb shell.
Anybody have recommendations on another stable jquery based terminal emulator? Would love to hear about it.
I've just installed a clean instance of redmon, it looks really nice. But the thing I'm missing is the 'Keys' tab. I've got only Dashboard, CLI and Configuration. How can I enable the 'Keys' tab?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.