Как избежать использования usmStatsNotInTimeWindows (1.3.6.1.6.3.15.1.1.2.0) - PullRequest
0 голосов
/ 22 октября 2019

Мое приложение получает данные с устройства, использующего SNMPv3 с настройкой AuthPriv.

много раз, когда происходит сбой в связи.

При проверке с использованием wireshirk, часто сообщается об ошибке какниже

отчет 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)

Как избежать этой проблемы.

...