Scott,
I just
checked my 7.1.2 lab machine and it is the Unix Epoch Time, and it is NOT
unique.
It
will be the same number if multiple traps are received the same
second.
Here's
a perl script that I wrote to convert these Epoch values to "human
readable"
Don
Davis
#!/usr/bin/perl # # unixdate.pl # # # Purpose: Converts a
UnixDate string to MMM DD, YYYY HH:MM:SS # # Written by: Don
Davis
Date: Mar 22, 2001 #
use
strict; use Time::localtime;
my $tm
= localtime($ARGV[0]); my @Month = ("Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
printf("%3s %02d, %04d
%02d:%02d:%02d\n", $Month[$tm->mon],
$tm->mday, $tm->year+1900, $tm->hour, $tm->min,
$tm->sec);
NetView 7.1.2 AIX 4.3.3
When I am looking at the trapd.log, what
does the 1st column represent? It looks like the trapd daemon is assigning an event
number to the traps. Am I on track here? If I am I assume that the number is
unique?
Thanks!
Scott Bursik
Event Systems Management
Pepsico Business Solutions
Group
(972) 334-3757
scott.bursik AT pbsg DOT com
------------------------------------------------------------------------------
This electronic mail and any files transmitted with it are confidential and are intended solely for the use of individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.
==============================================================================
|