I think you need to clarify this requirement more precisely.
First, are we talking NetView traps or non-NetView traps? Because you can only
get a timestamp if indeed the agent provides one. Second, any timestamp you get
is going to be an integer in hundredths of a second. Is that really what you
want? Third, the difference between when NetView gets the trap and sends it to
TEC is going to be only a few seconds or less than when it was generated, if it
is a NetView trap, since those do not go out over the network. So the date/time
which is already present in the event sent to TEC should be adequate for all
practical purposes. So what exacttly are you trying to achieve with this DATE
field that is not already provided?
James Shanks
Tivoli (NetView for UNIX) L3 Support
Kashif Karim <kashif_karim@YAHOO.COM> on 07/30/99 03:15:27 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
<NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks/Tivoli Systems)
Subject: Time of trap generation.
Is it possible to capture the Time a certain trap is generated from the
SNMP agent. The time stamp we get with each trap is in my understanding
the time a trap is received by Netview, isn't it! actually I need to
populate the DATE Slot variable on the T/EC side with this time.
Kashif
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
|