Can not see any charts on the web page
cwhcnxa opened this issue · comments
cwhcnxa commented
I installed RedisLive-22e7051 and RedisLive-master, and encountered the same problem, the steps is as follows:
- 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"
}
} - Added a timer task as follows via crontab:
*/1 * * * * cd /opt/nkrode-RedisLive-22e7051/src; ./redis-monitor.py --duration=15 - Viewed the '/var/spool/mail/root' , the timer task seems okay.
- Viewed the file '/opt/redis-stat.sqlite', its size is always zero.
- Can not see any charts as the attached image on the web page
- If setting "DataStoreType" as "redis", will encounter the issue described '#63'.
yorkbai commented
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
here is my conf file
{
"RedisServers":
[
{
"server": "1.2.3.4",
"port" : 6379
}
],
"DataStoreType" : "sqlite",
"SqliteStatsStore" :
{
"path": "db/redislive.sqlite"
}
}