Giter Club home page Giter Club logo

Comments (9)

kongfei605 avatar kongfei605 commented on September 14, 2024

对,现在是需要导入到系统snmpd目录中,因为用的也是netsnmp, 后续会做实现,配置中预留的path项。

from categraf.

robotneo avatar robotneo commented on September 14, 2024

好的,等待功能实现,目前我就用脚本批量实现一下,私有mib库(100+)很多的情况下 这个动作很繁琐

from categraf.

kongfei605 avatar kongfei605 commented on September 14, 2024

从v0.3.44-pre 已经开始支持load mib了

from categraf.

kongfei605 avatar kongfei605 commented on September 14, 2024

v0.3.45 支持gosmi + path 配置mib路径(也要包含系统的mib路径,这里面包含了基础的标准mib库)

from categraf.

robotneo avatar robotneo commented on September 14, 2024

如:/opt/h3c/mibs目录下 配置如下
path = ["/opt/h3c/mibs"]
translator = "gosmi"

from categraf.

kongfei605 avatar kongfei605 commented on September 14, 2024

如:/opt/h3c/mibs目录下 配置如下 path = ["/opt/h3c/mibs"] translator = "gosmi"
path = ["标准mib目录", "/opt/h3c/mibs"]
translator = "gosmi"

缺少标准mib 会导致一些解析失败,除非你把标准mib也放到了 /opt/h3c/mibs

from categraf.

robotneo avatar robotneo commented on September 14, 2024

path = ["/opt/h3c/mibs"]
translator = "netsnmp"

是否支持设置path?还是需要通过环境变量导入设置呢?环境变量导入设置如何操作?

from categraf.

robotneo avatar robotneo commented on September 14, 2024

已经测试出来了 export MIBDIRS="/opt/h3c/mibs" 谢谢

from categraf.

kongfei605 avatar kongfei605 commented on September 14, 2024

path = ["/opt/h3c/mibs"] translator = "netsnmp"

是否支持设置path?还是需要通过环境变量导入设置呢?环境变量导入设置如何操作?

支持path

from categraf.

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.