nv-l

RE: [nv-l] Getting trap time for scripts

2002-12-30 09:10:44
Subject: RE: [nv-l] Getting trap time for scripts
From: Serkan Dölen <Serkan.Dolen AT isbank.com DOT tr>
To: "'nv-l AT lists.tivoli DOT com'" <nv-l AT lists.tivoli DOT com>
Date: Mon, 30 Dec 2002 16:10:44 +0200
Thanks
As you said I misspelled. I meant trapd.log
Date variable differs few seconds when my custom script includes many if
else statements.
Does not matter.
If this is the only way, OK.

Thanks again for quick response.

Serkan Dolen
Software Specialist
T. Isbank


-----Original Message-----
From: James Shanks [mailto:jshanks AT us.ibm DOT com]
Sent: Monday, December 30, 2002 3:34 PM
To: nv-l AT lists.tivoli DOT com
Subject: Re: [nv-l] Getting trap time for scripts


There is no trap time in trapd.conf.  Did you mean trapd.log?  That 
timestamp is trapd's when he logs the trap.  It is not available anywhere 
as a variable. 
Since he logs the traps only after he has sent the trap to all connected 
applications, it should be within the same second as what you would get if 
you use the date command in your script. 

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group




Serkan Dölen <Serkan.Dolen AT isbank.com DOT tr>
12/30/2002 05:57 AM

 
        To:     nv-l AT lists.tivoli DOT com
        cc: 
        Subject:        [nv-l] Getting trap time for scripts



Hi everybody,
I used mib2trap for trap customization. Everything is OK now. (List 
archives
helped me a lot for the problems I faced)
I use automatic actions for specific traps. I just want to know how do I
pass the trap time to the custom scripts I wrote? (The time in trapd.conf 
I
mean)

Serkan Dolen
Software Specialist 
T. Isbank
 

---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)





---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)

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