Giter Club home page Giter Club logo

Comments (2)

feisuzhu avatar feisuzhu commented on June 12, 2024

抱歉…… 这边没用到过交换机,就没有集成这个。

因为 tag 的格式已经变化了,所以暂时没法用……

from satori.

feisuzhu avatar feisuzhu commented on June 12, 2024

@songjave 麻烦看看 swcollector 分支,做过移植了,但是我没有交换机,没法测试,如果能帮忙测试下那真是很感谢~

正常的 build 过程会生成 /tmp/go-github/swcollector 文件,然后将下面的 json 自己做修改,保存成 cfg.json

[
  {
    "interval": 30,
    "snmpCommunity": "public",
    "logFile": "/dev/stderr",
    "ignore": [
      "unknownprotos"
    ],
    "ipRange": [
      "127.0.0.1"
    ]
  }
]

然后执行

# ./swcollector < cfg.json

看一下输出是否正常,能不能取得相应的监控项,以及会不会崩溃。

可以的话请反馈一下结果。

json 的文档在这里,跟之前的 swcollector 配置有些出入。

https://github.com/leancloud/satori/blob/swcollector/doc/shipped-plugins/swcollector.rst

from satori.

Related Issues (20)

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.