Re: a trouble about hrSystemDate
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAO+b5-rc4iFAcbe9ANGuhSNdPY5GYU5PWrJ41EdxdEZsjx0wTQ@mail.gmail.com> |
2012/2/6 朱飞 <[email protected]> > I have a trouble on SNMP Trap, that is: I need to send the device time > when trap happened, so I use hrSystemDate to catch the device time, and > everything is all right, but when I read the device time from trap, the > hrSystemDate can't be understand. When I give "2012-1-31 2:7:15.0 +8:0 " > to it , but after trap is resolved, the result is > "12848-49-50,45:49:45.51,132:3250585558495346483243565848 ". I don't know > which is the right way to give the value to the Oid hrSystemDate. If you > have time, please give me some advice. Thank you very much. > Information about how to encode a DateAndTime value can be found here (see also DateAndTime ::= TEXTUAL-CONVENTION): http://www.ietf.org/rfc/rfc1903.txt. Bart. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users