nv-l
[Top] [All Lists]

RE: [nv-l] Trapd.log question

To: "'Bursik, Scott {PBSG}'" <Scott.Bursik@pbsg.com>, nv-l@lists.tivoli.com
Subject: RE: [nv-l] Trapd.log question
From: "Davis, Donald" <donald.davis@firstcitizens.com>
Date: Thu, 26 Sep 2002 13:35:06 -0400
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);
-----Original Message-----
From: Bursik, Scott {PBSG} [mailto:Scott.Bursik@pbsg.com]
Sent: Thursday, September 26, 2002 1:17 PM
To: nv-l@lists.tivoli.com
Subject: [nv-l] Trapd.log question

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@pbsg.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.

==============================================================================

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web