[SNMP4J] Send Date in PDU

Frank Fock fock at agentpp.com
Wed Jul 23 22:35:06 CEST 2008


Hi,

See
http://www.snmp4j.org/agent/doc/org/snmp4j/agent/mo/snmp/DateAndTime.html#makeDateAndTime(java.util.GregorianCalendar)

Best regards,
Frank


nirmala.thangamuthu at wipro.com wrote:
> Hi All,
>  
> I want to construct dateandtime in my PDU using SNMP4J. Could anyone
> tell me how to construct the same?
>  
> For example 
> 20080402225813.0 this date i want to prase it in my MIB using
> DateAndTime format of SNMPv2-TC mib.
>  
>  

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list