Giter Club home page Giter Club logo

ssdb-open-falcon's Introduction

ssdb-open-falcon

SSDB Monitor Script for Open Falcon

Step 1: Install ssdb-py

git clone https://github.com/solrex/ssdb-py.git
cd ssdb-py
sudo python ./setup.py install

Step 2: Edit conf

Rename ssdb-open-falcon.yml.default to ssdb-open-falcon.yml, then edit the file, and add your ssdb servers.

falcon:
    push_url: http://127.0.0.1:6071/v1/push
    step: 60

# SSDB clusters
ssdb-clusters:
    - {endpoint: "localhost", host: "127.0.0.1", port: 12700, password: "", tags: ""}

Step 3: Add the monitor script to crontab

$ crontab -l
*/1 * * * * cd /path/to/ssdb-open-falcon && python -u ./bin/ssdb-falcon.py >> ssdb-open-falcon.log 2>&1

ssdb-open-falcon

用于 Open Falcon 的 SSDB 监控采集脚本

第一步:安装 ssdb-py

git clone https://github.com/solrex/ssdb-py.git
cd ssdb-py
sudo python ./setup.py install

第二步:编辑配置文件

ssdb-open-falcon.yml.default 重命名为 ssdb-open-falcon.yml,然后编辑这个文件,添加你要监控的 SSDB 服务器信息。

falcon:
    push_url: http://127.0.0.1:6071/v1/push
    step: 60

# SSDB clusters
ssdb-clusters:
    - {endpoint: "localhost", host: "127.0.0.1", port: 12700, password: "", tags: ""}

第三步:将监控脚本添加到 crontab 中定时执行

$ crontab -l
*/1 * * * * cd /path/to/ssdb-open-falcon && python -u ./bin/ssdb-falcon.py >> ssdb-open-falcon.log 2>&1

好用就给个 Star 呗!

ssdb-open-falcon's People

Contributors

solrex avatar

Stargazers

 avatar  avatar

Watchers

 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.