有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java如何避免使用USMStatsNotTimeWindows(1.3.6.1.6.3.15.1.1.2.0)

我的应用程序使用SNMPv3和AuthPriv设置从设备获取数据

很多时候,在交流中都会出现失败

当使用wireshirk进行多次检查时,报告的错误如下所示

report 1.3.6.1.6.3.15.1.1.2.0

SNMP请求没有设置

UserTarget.setRetries = 2

UserTarget.setTimeout = 5000

我发现的错误含义如下

This is set when the engineTime specified is not within the timeWindow of agent. The engineTime is considered not within the timeWindow if any of the following is true.

1. If the agent's snmpEngineBoots value is equal to 2147483647.
2. If the request's snmpEngineBoots value differs from that of the agent.
3. If the difference between the SNMP request's snmpEngineTime and that of the agent is greater than 150.

This error is reported by the agent with its first varbind containing the OID ".1.3.6.1.6.3.15.1.1.2.0" and the value is a Counter giving the number of packets that have been dropped because of this error. (Example screenshot below)

如何避免这个问题


共 (0) 个答案