In 5.1.2 $T in NetView for UNIX and NetView for NT are exactly the same. The
UNIX code was ported to NT. This was fixed by APAR. For NetView traps the $T
value approximates the amount of time since netmon (or whichever daemon is
sending the trap and netmon sends over 90% of them) became active. It is in
reality the difference between when he sent his first trap and now. And since
the first thing netmon does is to send a trap, this is as accurate as it gets.
Prior to 5.1.2, the value in the NT code was just a dummy value of "1".
If you cannot or will not put on 5.1.2, then you will have to decide how best to
approximate your own start interval.
James Shanks
Tivoli (NetView for UNIX) L3 Support
Domenico Conia <domenico_conia@IT.IBM.COM> on 12/12/99 04:28:20 AM
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: Date/Time information
How can I print Date/Time as a results of "run command" with Netview NT-Trap
Customization ?
I've tested a simple batch that send an e-mail via command line (utlility
freeware named blat) with 2 variable
$2 and $3 for event description and source.I would like to send also the
date/time of the event
I know that $T on Netview Unix is correct, but on Netview NT the meaning is
different and doesn't work.
I use Netview NT version 5.1.1.
Any suggest ?
Thanks in advance
______________________________________________________________
Domenico Conia Tivoli Certified Consultant
tel. 02-59628002 0336-714439
email: domenico_conia@it.ibm.com
|