Giter VIP home page Giter VIP logo

falcon-scripts's Introduction

falcon-scripts

小米开源监控系统open-falcon监控采集脚本

du.sh

该脚本主要是用于监控各目录大小的。

修改脚本中dirs变量或parent_dirs即可监控相应的目录

dirs用于监控明确的目录

parent_dirs用于要批量监控的目录时,填写这些目录的父目录即可

指标名 注释
du.bytes.used 目录大小,单位byte

proc.sh

该脚本主要用于监控指定进程所用的cpu/内存/io

修改ports或cmds即可监控对应的进程

ports用于以端口号寻找进程监控

cmds用于以进程名寻找进程监控

指标名 注释
proc.cpu 进程所占cpu,百分比
proc.mem 进程所占内存,单位byte
proc.io.in 进程io输入,单位byte
proc.io.out 进程io输出,单位byte

cmd.sh

该脚本用于一键启动采集脚本

在变量scripts中列出脚本名后

    bash cmd.sh start  #一键启动
    bash cmd.sh stop   #一键停止
    bash cmd.sh status #一键查询

请记得替换脚本中push接口的IP端口

falcon-scripts's People

Contributors

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