Giter VIP home page Giter VIP logo

plugin's People

Contributors

crisewng avatar hitripod avatar jinlongwang avatar weizhixiong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin's Issues

插件没有执行,在Dashboard中查不到数据

按照文档在Agent中配置了插件地址,并执行了update命令,显示success。

    "plugin": {
        "enabled": true,
        "dir": "./plugin",
        "git": "https://github.com/open-falcon/plugin.git",
        "logs": "./logs"
    }

在Portal中也配置了plugin
image

Agent日志中没有执行的相关日志,只有下面这种
image

问下我可以怎么排查下

60_stats_per_cpu_core.py bug

使用此脚本得不到每个cpu的info,后续提交mr,而且这个脚本有普适性吗,我在Debian上跑得到[]

机制发先(运行)不了plugin中的子目录脚本

为什么我的agent发现不了plugin的子目录中脚本
比如说例子中的脚本 /home/openfalcon/falcon-agent/plugin/sys/ntp/600_ntp.py
我的未能运行其中的脚本
我的cfg.json中的plugin模块配置
"plugin": { "enabled": true, "dir": "/home/openfalcon/falcon-agent/plugin", "git": "https://github.com/open-falcon/plugin.git", "logs": "./logs" },
怎么配置才能让他发现plugin目录下的子目录中的脚本呢~
比如说 plugin -> sys -> ntp中的脚本

60_mountpoint_rw_test.py

这个脚本普通用户执行会报错误,得在root下运行,因为普通用户对“/ /dev /var /usr” 等等,没有写入权限

plugin脚本如何传参?

如何我要监控进程使用情况,需要sys.argv来传入PID这个参数,可以在portal上配置这个参数吗》还是不支持?

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.