Giter Site home page Giter Site logo

cave-g-f / lh-falcon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liuhuipy/lh-falcon

0.0 0.0 0.0 6.17 MB

基于Python开发的服务器监控平台。参考了Zabbix和小米的open-falcon架构设计思路,实现包括系统性能,端口和进程存活,应用服务等监控。

Python 4.18% CSS 11.34% JavaScript 75.75% HTML 8.73%

lh-falcon's Introduction

lh-falcon

  • 基于Python开发的服务器监控平台。参考了小米的open-falcon架构设计思路,实现包括系统性能,端口和进程存活,应用服务等监控。 根据不同的告警的条件和策略及时给用户短信或邮件发送报警信息;实现监控数据的存储和查询;对不同服务器所需监控的指标和报警策略 阀值进行优雅的配置;监控数据的实时查询,将聚合的数据绘图展示给用户,让用户更好的对服务器性能有直观的了解。

基本思路

  • 服务器监控平台要实现一个完整的监控流程,一条服务器监控数据的收集、到数据的转发和存储、到监控查询数据的绘图显示,到最后的报警 策略和条件的配置已经分组报警。涉及的主要功能如下:
    1. Agent数据采集:实现agent部署所有机器上复杂采集服务器各种信息。比如:cpu、内存、磁盘、io、load、网络、端口存活、进程存活等,每隔一段时间push给transfer。
    2. Transfer:数据中转站,主要负责将agent push上来的数据转发
    3. Servers:接收到transfer转发来的数据,但只存储服务器大概的信息。并将每个host分到不同的hostgroup,方便其他组件查询以及分组配置。
    4. Alarm报警:接收transfer转发来的数据,从Hbs中获取触发报警的条件和策略,并报警通知的用户和用户组。
    5. Users用户管理:将用户分配到不同的UserGroup,给其他组件提供不同用户和用户组的操作,比如:报警时只需要指定某些人或某些组,并邮件通知。
    6. Dashboard面板:面向用户的查询界面,用户可以看到push到graph中的所有数据,并查看其趋势图。

lh-falcon's People

Contributors

liuhuipy 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.