1

将设备添加到“设备”时,出现“snmp 错误”。Cacti 无法通过正确的(我认为)配置正确连接到设备(我在配置中附加了 png)。当我在路由器上调试时,我可以看到发送数据包中的安全级别是“noauth”,并且第一个数据包中没有用户:

Nov 14 14:03:23.503:
Incoming SNMP packet
Nov 14 14:03:23.503: v3 packet  security model: v3       security level: noauth
Nov 14 14:03:23.503: username:
Nov 14 14:03:23.503: snmpEngineID: <id>
Nov 14 14:03:23.503: snmpEngineBoots: 0 snmpEngineTime: 0
Nov 14 14:03:23.503:
Incoming SNMP packet
Nov 14 14:03:23.503: v3 packet  security model: v3       security level: noauth
Nov 14 14:03:23.503: username: service
Nov 14 14:03:23.503: snmpEngineID: <id>
Nov 14 14:03:23.503: snmpEngineBoots: 13        snmpEngineTime: 386 31276  

但是,当我从同一台服务器使用 snmpwalk 时,一切看起来都很好,我得到了我想要的信息:

snmpwalk -Os -v3 -l authnopriv -u 服务 -a MD5 -A xxxx:161 系统

在路由器 snmp 数据包头看起来很好(安全级别是“auth”):

Incoming SNMP packet
Nov 14 14:06:58.375: v3 packet  security model: v3       security level: auth
Nov 14 14:06:58.375: username: service
Nov 14 14:06:58.375: snmpEngineID: <id>
Nov 14 14:06:58.375: snmpEngineBoots: 13        snmpEngineTime: 38631491
Nov 14 14:06:58.379:
Incoming SNMP packet
Nov 14 14:06:58.379: v3 packet  security model: v3       security level: auth
Nov 14 14:06:58.379: username: service
Nov 14 14:06:58.379: snmpEngineID: <id>
Nov 14 14:06:58.379: snmpEngineBoots: 13        snmpEngineTime: 38631491

任何人都可以帮忙吗?

仙人掌中的设备配置: https ://s18.postimg.org/w8aylpsnr/image.png

4

0 回答 0