nv-l

RE: [NV-L] Trap description not in a varbind

2007-06-07 14:18:36
Subject: RE: [NV-L] Trap description not in a varbind
From: "Rivera, Ralph \(GTI\)" <ralph_rivera AT ml DOT com>
To: "Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT com>
Date: Thu, 7 Jun 2007 14:12:09 -0400
Thanks Francois,
 
If I execute a script via a ruleset how does the script get the vars $3
$5?
 

Ralph Rivera 
GTI Systems Monitoring 


 

 

-----Original Message-----
From: nv-l-bounces AT lists.ca.ibm DOT com
[mailto:nv-l-bounces AT lists.ca.ibm DOT com] On Behalf Of Francois Le Hir
Sent: Thursday, June 07, 2007 12:17 PM
To: Tivoli NetView Discussions
Subject: Re: [NV-L] Trap description not in a varbind



        You can configure an automatic action for that trap with the
parameters you need ($3 and $5) in xnmtrap. You can also execute a
script in a ruleset.
        
        Salutations, / Regards,
        
        Francois Le Hir
        Network Projects & Consulting Services
        IBM Global Technology Services
        
        
        "Do not go where the path may lead; go instead where there is no
path and leave a trail." - Ralph Waldo Emerson.
         "Rivera, Ralph \(GTI\)" <ralph_rivera AT ml DOT com>
        
        
        

                                "Rivera, Ralph \(GTI\)"
<ralph_rivera AT ml DOT com> 
                                Sent by: nv-l-bounces AT lists.ca.ibm DOT com 

                                06/07/2007 12:04 PM 
        
        Please respond to
Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>

 

To

<nv-l AT lists.ca.ibm DOT com>  


cc

        


Subject

[NV-L] Trap description not in a varbind        
                

        How do I get the trap description string as shown in the
trap.log sent to a script? 

        I am working with an HP c-class device using compaq mib
.1.3.6.1.4.1.232 on Netview 7.1.4 

        The trapd.log shows: 

        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 
        A The enclosure enclosure460 fan in rack USE063471P has been
removed. 

        The varbinds look like this: 

        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A Trap: compaq
generic 6 specific 22011 
        args (9): [1] mgmt.mib-2.system.sysName.0 (OctetString):
OA-001635C6764A 

        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [2]
private.enterprises.232.11.2.11.1 (Integer): 0 
        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [3]
private.enterprises.232.22.2.2.1.1.2.1 (OctetString): USE063471P 
        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [4]
private.enterprises.232.22.2.2.1.1.3.1 (OctetString): 
        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [5]
private.enterprises.232.22.2.3.1.1.1.9.1 (OctetString): enclosure460 

        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [6]
private.enterprises.232.22.2.3.1.1.1.7.1 (OctetString): USE6341KKS 
        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [7]
private.enterprises.232.22.2.3.1.3.1.5.10 (OctetString): 10 
        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [8]
private.enterprises.232.22.2.3.1.3.1.7.10 (OctetString): 
        1181068515 3 Tue Jun 05 14:35:15 2007 bl460 A [9]
private.enterprises.232.22.2.3.1.1.1.15.1 (Integer): 83 

        
        
        

        Regards, 
        Ralph Rivera 
        GTI Systems Monitoring 

        
  _____  


        This message w/attachments (message) may be privileged,
confidential or proprietary, and if you are not an intended recipient,
please notify the sender, do not use or share it and delete it. Unless
specifically indicated, this message is not an offer to sell or a
solicitation of any investment products or other financial product or
service, an official confirmation of any transaction, or an official
statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may
monitor, review and retain e-communications (EC) traveling through its
networks/systems. The laws of the country of each sender/recipient may
impact the handling of EC, and EC may be archived, supervised and
produced in countries other than the country in which you are located.
This message cannot be guaranteed to be secure or error-free. This
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/
<http://www.ml.com/e-communications_terms/> . By messaging with Merrill
Lynch you consent to the foregoing.
        
  _____  

        _______________________________________________
        NV-L mailing list
        NV-L AT lists.ca.ibm DOT com
        Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
        http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access
limited to internal IBM'ers only)
        
        

GIF image

GIF image

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>