[SNMP4J] Need help in understanding how msgAuthoritativeEngineBoots is populated
Frank Fock
fock at agentpp.com
Thu Mar 27 08:00:42 CET 2014
Hi,
The engineBoots counter is set when you create the USM. See
http://www.snmp4j.org/doc/org/snmp4j/security/USM.html#USM(org.snmp4j.security.SecurityProtocols,
org.snmp4j.smi.OctetString, int)
Best regards,
Frank
Am 27.03.2014 07:20, schrieb Prathib Kumar:
>
>
> Hi Frank/ All,
>
>
> In our application, we are trying to query the sysUpTime for every 5
> mins and the customer is using SNMPV3 authPriv.
>
>
> In our application, we dont populate msgAuthoritativeEngineBoots and I
> did bit search on internet, it looks SNMP4J also doesnt set this
> attribute.
>
>
> Any idea where else it can get populated ? or any idea where else to
> look for ?
>
>
> Packet 378:
>
> 378 2014-03-11 06:05:02.833067 10.36.127.6 10.36.125.4
> SNMP 173 get-request SNMPv2-MIB::sysUpTime.0
>
> [...]
>
> * msgAuthoritativeEngineBoots: 13*
>
> msgAuthoritativeEngineTime: 600888
>
> msgUserName: admin
>
> [...]
>
> data: get-request (0)
>
> get-request
>
> request-id: 1353274136
>
> error-status: noError (0)
>
>
> error-index: 0
>
> variable-bindings: 1 item
>
> SNMPv2-MIB::sysUpTime.0 (1.3.6.1.2.1.1.3.0): Value (Null)
>
> Object Name: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysUpTime.0)
>
> Value (Null)
>
> And replay for this packet:
>
> 380 2014-03-11 06:05:04.440578 10.36.125.4 10.36.127.6 SNMP
> 162 report SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0
>
> [...]
>
> *msgAuthoritativeEngineBoots: 12*
>
> msgAuthoritativeEngineTime: 600896
>
> msgUserName: admin
>
> [...]
>
> data: report (8)
>
> report
>
> request-id: 0
>
> error-status: noError (0)
>
> error-index: 0
>
> variable-bindings: 1 item
>
> SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0
> (1.3.6.1.6.3.15.1.1.2.0): 6727
>
> Object Name: 1.3.6.1.6.3.15.1.1.2.0
> (SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0)
>
> Value (Counter32): 6727
>
>
> Regards
>
> Prathib Kumar.
>
--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax: +49 7024 8688231
More information about the SNMP4J
mailing list