snmp出口商信息+系统名称

时间:2019-07-02 14:44:51

标签: snmp exporter

我正在用SNMP Exporter刮擦Cisco设备。一切正常,但是我想以某种方式将OID:Sysname添加到SNMP信息中,该怎么做?

试图添加查找,例如:     -source_indexes:[ifIndex]       查找:sysName

但出现错误。也许您有任何线索?


模块:   #默认的带有ifIndex的IF-MIB接口表。   if_mib_dc:     版本:3     验证:       用户名:xxx       密码:uuutt       auth_protocol:MD5       priv_protocol:AES       security_level:33dds2       priv_password:slypt     步行:[ifHCInOctets,ifHCOutOctets,ifOperStatus,ifInErrors,ifOutErrors,ifInDiscards,ifOutDiscards]     查询:     -source_indexes:[ifIndex]       查找:ifAlias     -source_indexes:[ifIndex]       查找:ifDescr     -source_indexes:[ifIndex]       #使用OID避免与Netscaler NS-ROOT-MIB冲突。       查找:1.3.6.1.2.1.31.1.1.1.1#ifName     覆盖:       ifType:         类型:EnumAsInfo

我想获取系统名称信息,例如即时获取ifAlias查找。

0 个答案:

没有答案