Giter Club home page Giter Club logo

zkdash's Introduction

zkdash

zkdash是一个zookeeper的管理界面,也可以作为任何基于zookeeper的配置管理项目比如:Qconf

zkdash页面展示

zkdash_conf

zkdash_search

zkdash_snapshot

zkdash_zookeeper

安装与运行

安装步骤

  • 安装并运行mysql

  • 安装python2.7

  • 下载zkdash

    ```
    git clone https://github.com/ireaderlab/zkdash.git
    ```
    
  • 安装依赖项

    cd zkdash
    pip install -r requirements.txt
    
  • 设置配置文件

    根据需要修改当前目录下./conf/conf.yml中相关配置信息,配置文件详细说明见后面

  • 同步数据库表结构

    cd zkdash
    python ./bin/syncdb.py
    

    说明:数据库使用mysql,创建表结构前请先配置数据库连接信息

  • 运行

    cd zkdash
    python init.py -port=8888
    

    说明:初次运行zkdash时需要到zookeeper管理菜单下增加监控的zookeeper集群ip信息

配置文件说明

配置文件详细说明

数据库配置项(DATABASE)

  • db: 数据库名称
  • host: ip地址
  • port: 端口号
  • user: 用户名
  • passwd: 密码

全局配置项

  • USE_QCONF: 是否通过QConf获取zookeeper数据(使用该项可以提高树形展示配置信息的响应速度)

与QConf的搭配使用

注意事项

  1. 新增节点需要先指定父节点,并且只能逐级增加
  2. 当设置使用QConf获取zookeeper数据时,zookeeper管理菜单下的zookeeper集群名称需要与QConf 客户端Agent配置文件的idc名称一致

zkdash's People

Contributors

niubell avatar paderma avatar xidianwlc avatar

Watchers

 avatar  avatar  avatar

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.