nkrode / RedisLive

Visualize your redis instances, analyze query patterns and spikes.
http://www.nkrode.com/article/real-time-dashboard-for-redis
MIT License
3.07k stars 644 forks source link

Can not see any charts on the web page #67

Open cwhcnxa opened 10 years ago

cwhcnxa commented 10 years ago

I installed RedisLive-22e7051 and RedisLive-master, and encountered the same problem, the steps is as follows:

  1. Modified the redis-live.conf as follows: { "RedisServers": [ { "server": "192.168.15.46", "port" : 6379 }, { "server": "192.168.15.46", "port" : 6380 } ], "DataStoreType" : "sqlite", "RedisStatsServer": { "server" : "ec2-184-72-166-144.compute-1.a...", "port" : 6385 }, "SqliteStatsStore" : { "path": "/opt/redis-stat.sqlite" } }
  2. Added a timer task as follows via crontab: /1 * * * \ cd /opt/nkrode-RedisLive-22e7051/src; ./redis-monitor.py --duration=15
  3. Viewed the '/var/spool/mail/root' , the timer task seems okay.
  4. Viewed the file '/opt/redis-stat.sqlite', its size is always zero.
  5. Can not see any charts as the attached image on the web page 2
  6. If setting "DataStoreType" as "redis", will encounter the issue described 'https://github.com/nkrode/RedisLive/issues/63'.
yorkbai commented 9 years ago

if using sqlite file , you can find 'redislive.sqlite' file in path/redislive/db , and setting the path points this file . (you can see like " no found table : monitor" information in the log)

counter2015 commented 5 years ago

here is my conf file

{
    "RedisServers":
    [ 
        {
            "server": "1.2.3.4",
            "port" : 6379
        }
    ],

    "DataStoreType" : "sqlite",

    "SqliteStatsStore" :
    {
        "path":  "db/redislive.sqlite"
    }
}