Git Product home page Git Product logo

redmon's People

Contributors

amatriain avatar aya avatar dersascha avatar dimshadowww avatar fidelisrafael avatar girasquid avatar kiela avatar kmwhite avatar krsyoung avatar manuelmeurer avatar romanbsd avatar spk avatar steelthread avatar woodhull avatar xylakant avatar zedtux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmon's Issues

Error message after installing

/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

Dashboard can not show any data

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

No such file or directory - ./views/app.haml

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!

Better Manage the Stats Set

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.

unlisted dependency?

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.

Instructions for embedding redmon into a Rails app don't work

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:

  • redmon 0.0.7
  • Rails 3.2.13
  • redis 2.4.17
  • ruby 1.9.3-p392

How to run from thin?

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.

Error: Problem parsing d="MZ" d3.v3.min.js:1

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

Unexpected tIDENTIFIER

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

Basic Auth

With the ability to mount the web app basic auth should be added.

Highcharts licence

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.

how can i use one redmon to monitor multiple servers ?

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
}

New Dashboard

Implement a new dashboard based on gridster.

Widgets

Text / Tabular

  • Info with the ability to filter by a section {Server, Clients, Memory, Persistence, Stats}
  • Slow Log
  • Command Stats
  • Total Commands Processed
  • Key Count
  • Slave Info

Charts

  • Memory Usage (Line)
  • Keyspace hit/miss (Line? Stacked?)
  • Instantaneous ops / sec (Line)
  • Current Client Connections (Line)

Others?

Throughput Widget

Use the instantaneous ops / sec info entry for a through put graph widget.

There's no "Keys" nav button as shown in the screenshot

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.

Charts

  • Add a styled legend to the keyspace chart.
  • Add tooltips to both charts.

Disable CLI

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)

NVD3

Time to move to nvd3 or d3 directly.

bundle exec bin/redmon -h error

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}
";

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': superclass mismatch for class DateTime (TypeError)

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:inrequire'
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:inrequire'
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:inrequire'
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:inrequire'
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:inrequire'
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:inrequire'
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:inrequire'
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:inrequire'
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:inblock 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:inrequire'
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:inrequire'
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

'

Crash if SLOWLOG Contains Non-Ascii Characters

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:inescape'
[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:inencode_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:incheck_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:inblock in encod.....

And here's a SLOWLOG entry that I think is reponsible:

    1. (integer) 61
    2. (integer) 1367003879
    3. (integer) 502592
      1. "RESTORE"
      2. "[key]"
      3. "470222651"
      4. "\x03\x80\x00\x01\xb8\x9b\x18........ (3012027 more bytes)"

undefined method to_json

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>

No stats displayed

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

Run in no-daemon mode?

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?

Licence issue

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

select other db

Redmon can display default dbnum keys stat,but I can select another dbnum.For instance db1..16.

UI Rework

Good gawd the dashboard looks like a POS.

slowlog table

The slowlog table should show a single line with the ability to click the row to see the entire command details.

I've encountered this problem, when installing redmon

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.

Auth Not Supported

Auth support would be nice. Can't use Redmon on auth-enabled Redis servers.

'Keys' menu item

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?

/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)

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:inmodule: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:inrequire'
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:inrequire'
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:inrequire'
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:inblock 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:inrequire'
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:inrequire'
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

'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15: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)

CLI command parsing issue

The CLI window gets confused when there are spaces in command arguments.

In the Redmon CLI

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

In redis-cli

2071[SPX/internal(dev *)]$ redis-cli
redis 127.0.0.1:6379> set users:leto "{name: leto, planet: dune, likes: [spice]}"
OK

Assets don't seem to compile?

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.

Can not run in Mac OSX Lion

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

Info fields should be driven from what is returned from the info command.

bin/redmon:9: syntax error, unexpected '>'

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 ?

cli is wonky.

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.

'Keys' tab missing

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.