Giter Club home page Giter Club logo

servicemonitor's Introduction

linux服务器监控

服务器监控接受端.py

该文件为监控数据的接收端 基于Python3.6 + flask + pymysql实现,客户端采集到数据后通过post方式把数据发送给接收端,接收端处理后存入mysql数据库

服务器监控客户端.py

该文件为服务器监控客户端,运行于待监控客户机
基于Python2.7开发(linux主机普遍默认带有python2.7所以选用2.7没有选用3.6),客户端通过读取linux的proc文件夹获取到服务器当前状态,并且通过post方式把数据传输给接受端存库以备返查

待添加功能:

1.监控更多服务器性能数据
2.服务器负载状态实时监控并且接入短信和邮件告警模式
3.添加配置信息管理端
4.接受机服务器url不再固定,而是从配置信息管理端获取,以保证多角色多监控主体使用
5.数据的可视化查询 6.未完待续...

(苦逼公司没有运维只能自己动手了)

servicemonitor's People

Contributors

zerodeng01 avatar

Watchers

James Cloos 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.