nv-l
[Top] [All Lists]

Trap Information

To: nv-l@lists.tivoli.com
Subject: Trap Information
From: "Gavin Newman" <NEWMANGJ@stgeorge.com.au>
Date: Fri, 13 Oct 2000 14:25:18 +1100
When an action is triggered in a Netview rule there are environment variables 
$NVATTR_1 to $NV_ATTR50 
available to be passed the the shell script called in the Action Node.

For traps generated by Netview this is simple as the trap text is contained in 
NVATTR_3 so I have no problems handling them.

My problem is when handling traps from other sources (for example Cisco 
switches etc) as these have a variable
number of parameters passed with the trap but I cannot find any way of working 
out how many. If I pass NVATTR_1 through to NVATTR-50 to my script I have no 
way of knowing which a re valid. Is there any way to pass only those
trap parameters that are valid to my script?

Cheers - Gavin



**********************************************************************
   *****   IMPORTANT INFORMATION    *****
This document should be read only by those persons to whom
it is addressed and its content is not intended for use by
any other persons. If you have received this message in
error, please notify us immediately. Please also destroy and
delete the message from your computer. Any unauthorised form
of reproduction of this message is strictly prohibited.
St.George is not liable for the proper and complete transmission
of the information contained in this communication, nor for any


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

Archive operated by Skills 1st Ltd

See also: The NetView Web