【发布时间】: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