nkrode / RedisLive

Visualize your redis instances, analyze query patterns and spikes.

Home Page:http://www.nkrode.com/article/real-time-dashboard-for-redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not see any charts on the web page

cwhcnxa opened this issue · comments

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 '#63'.

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)

here is my conf file

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

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