Skip to content
⭐ Starfish is a monitor program
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Starfish
doc
.gitignore
LICENSE
README.md
clear_pyc.py

README.md

starfish

关于监控的思考

0 部署

0.1 agent部署

部署agent方法如下

git clone https://github.com/BillWang139967/Starfish.git
cd Starfish/Starfish/agent
sh install.sh

0.2 server部署

部署server端方法如下

git clone https://github.com/BillWang139967/Starfish.git
cd Starfish/Starfish/server
sh install.sh

1 配置

1.1 agent配置

  • agent配置文件为/etc/starfish/agent
  • 安装目录为/opt/starfish/agent
  • 日志目录为/var/log/starfish/

1.2 server配置

  • server配置目录为/etc/starfish/
  • 安装目录为/opt/starfish/
  • 日志目录为/var/log/starfish/

2 总体架构

    +---------------------------+
    | +---------+               |
    | |my_sender|               | alarm
    | +---------+               |
    +-------------|-------------+
    +-------------|-------------+
    |             |             |
    |         +--------+        |
    |         | server |        | server
    |         | 21002  |        |
    |         +--------+        |
    +---------------------------+
            /          \
    +---------------------------+
    |   +------+     +------+   |
    |   |agent1|     |agent2|   |  agent
    |   +------+     +------+   |
    +---------------------------+

3 架构设想

监控架构可升级为集群架构,通过trans进行转发,分担server端压力

    +---------------------------+
    | +---------+               |
    | |my_sender|               | alarm
    | +---------+               |
    +------|--------------------+
    +------|--------------------+
    |   +------+     +-----+    |
    |   |filter|     |saver|    |
    |   |21003 |     |21004|    |
    |   +------+     +-----+    |
    |        \        /         |  server
    |         +-------+         |
    |         |trans  |         |
    |         |21002  |         |
    |         +-------+         |
    +---------------------------+
            /          \
    +---------------------------+
    |   +------+     +------+   |
    |   |agent1|     |agent2|   |  agent
    |   +------+     +------+   |
    +---------------------------+

4 版本发布

  • v1.0.2,2016-06-21,新增:新增说明文档
  • v1.0.1,2016-01-01,新增。发布初始版本。
You can’t perform that action at this time.