【问题标题】:Using static context engine ID with SNMP Exporter (Prometheus)将静态上下文引擎 ID 与 SNMP 导出器 (Prometheus) 一起使用
【发布时间】:2019-07-08 09:25:42
【问题描述】:

我正在尝试使用静态上下文引擎 ID(SNMP v3 选项)运行 snmp-exporter (Prometheus)。 但我在“SNMP Exporter Config Generator”中找不到该设置。 (https://github.com/prometheus/snmp_exporter/tree/master/generator)

如何在 snmp-exporter/snmp-exporter-config-gen 中配置 context-engine-id ? (或者还不支持?)

我在 snmpwalk -h 中找到了 -E 选项。 这就是我在 snmp-exporter (config-gen) 中寻求的。

$ snmpwalk -h
USAGE: snmpwalk [OPTIONS] AGENT [OID]
  Version:  5.6.2.1

<snip>

SNMP Version 3 specific
  -a PROTOCOL       set authentication protocol (MD5|SHA)
  -A PASSPHRASE     set authentication protocol pass phrase
  -e ENGINE-ID      set security engine ID (e.g. 800000020109840301)
  -E ENGINE-ID      set context engine ID (e.g. 800000020109840301)

【问题讨论】:

    标签: snmp prometheus exporter


    【解决方案1】:

    目前不支持此功能。发个 PR 就可以加了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-29
      • 2011-10-19
      相关资源
      最近更新 更多