nv-l

Re: Rulesets

2001-10-29 09:35:17
Subject: Re: Rulesets
From: "James Shanks" <jshanks AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Mon, 29 Oct 2001 09:35:17 -0500
But that is NOT what you asked.
Rulesets are user programming tools and it is up to you to experiment with
them to come up with a solution that is right for you.  But basically, to
forward all traps from one device you could add to your ruleset and
additional path in which  you use the event attribute node in the ruleset
to check for the trap origin and have it match that device's hostname.

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




                                                                                
                  
                    "t04706a"                                                   
                  
                    <Martina.Haseneder       To:     "IBM NetView Discussion" 
<nv-l AT tkg DOT com>      
                    @datev.de>               cc:                                
                  
                    Sent by:                 Subject:     Re: [NV-L] Rulesets   
                  
                    owner-nv-l AT tkg DOT com                                   
                         
                                                                                
                  
                                                                                
                  
                    10/29/01 08:10 AM                                           
                  
                    Please respond to                                           
                  
                    IBM NetView                                                 
                  
                    Discussion                                                  
                  
                                                                                
                  
                                                                                
                  



The point is, I need to forward all UP and Down Events to the TEC (which is
no Problem)
AND all Traps from one node, which is our Hicom Server.

----- Original Message -----
From: "James Shanks" <jshanks AT us.ibm DOT com>
To: "IBM NetView Discussion" <nv-l AT tkg DOT com>
Sent: Monday, October 29, 2001 1:19 PM
Subject: Re: [NV-L] Rulesets


> If you mean, "How can I get what is shown in the event window?", the
answer
> is that you have to build it yourself out of the trap variables just as
you
> do in trapd.conf.  For example, if, as if the case with many NetView
traps,
> all that is shown is the third variable, "$3" in trapd.conf, then you can
> just add "$NVATTR_3" to the list of things to echo.  If the text is more
> complicated, and contains a mix of variables and added text, such as in
> this made-up example, "Interface $2 is $3", then you would echo
"Interface
> $NVATTR_2 is $NVATTR_3".   Each trap variable is exported in a
> corresponding NVATTR variable.  And in addition, the category, source,
and
> severity are added at the end.  So for example if your trap contains 5
> variables,  then the category, source, and severity, from trapd.conf are
> added as the sixth, seventh, and eighth variables.
>
> James Shanks
> Level 3 Support  for Tivoli NetView for UNIX and NT
> Tivoli Software / IBM Software Group
>
>
>
>
>
>                     "t04706a"
>                     <Martina.Haseneder       To:     "IBM NetView
Discussion" <nv-l AT tkg DOT com>
>                     @datev.de>               cc:
>                     Sent by:                 Subject:     [NV-L] Rulesets
>                     owner-nv-l AT tkg DOT com
>
>
>                     10/29/01 06:05 AM
>                     Please respond to
>                     IBM NetView
>                     Discussion
>
>
>
>
>
> Salute,
>
> i try to make a Ruleset with the Attribute Origin (use the IP-Adress) to
> collect all traps of a Node and write them with an Action in a File.
>
> Point 1 - the traps of this Node do not get collected.
> Point 2 - Working with "
>                         echo $NVA $NVT >> file
>              and so on is fine, but how do I get the traptext itself?
>
> A result would be important for me.
> Thanks
>
> Martina
>
>
>
>
> _________________________________________________________________________
> NV-L List information and Archives: http://www.tkg.com/nv-l
>

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


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