nv-l

Re: [NV-L] Hostname Missing

2008-07-02 10:10:08
Subject: Re: [NV-L] Hostname Missing
From: James Shanks <jshanks AT us.ibm DOT com>
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Wed, 2 Jul 2008 10:09:44 -0400
Larry,

You would be better off search the web for the MIB and using mib2trap.  The
manual method is much more prone to error.

You don't know any of the OIDs -- the actual varbinds sent in the trap.
That's why I suggested you  change the definition to $*  or just add it to
the existing definition so that they will print out in trapd.log.   Not
having any OIDs means that you cannot map them to shorthand labels in the
OID file to be used in the CDS.  So you have to select the variables in the
CDS blind, by number not by name.  I think this will work.

CLASS  cpqHe3FltTolPowerRedundancyLost
  SELECT
      1: ATTR(=,$ENTERPRISE), VALUE(PREFIX, "1.3.6.1.4.1.232.2");
      2: $SPECIFIC = 6032;
      3: ATTR(=,"VB_3") ;
  MAP
      msg = PRINTF ("The Power Supplies are no longer redundant on Chassis
%s,  $V3);
END,



James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp


                                                                           
             Larry Fagan                                                   
             <larrytechie@yaho                                             
             o.com>                                                     To 
             Sent by:                  Tivoli NetView Discussions          
             nv-l-bounces@list         <nv-l AT lists.ca.ibm DOT com>           
  
             s.ca.ibm.com                                               cc 
                                                                           
                                                                   Subject 
             07/02/2008 07:59          Re: [NV-L] Hostname Missing         
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
                Larry Fagan                                                
             <larrytechie@yaho                                             
              o.com>; Please                                               
                respond to                                                 
              Tivoli NetView                                               
                Discussions                                                
             <nv-l AT lists.ca DOT ib                                           
  
                  m.com>                                                   
                                                                           
                                                                           




James,
Thank You so much for excellent explanation. I'm trying to minimize pain by
adding manually in .cds & oid files rather than re inventing the wheel .
Now Please walk me through with one example...
I have a Compaq Trap definition ---OID is 1.3.6.1.4.1.232  Specific # is
6032 and generic # 6
Trap description "The Power Supplies are no longer redundant on Chassis
$3."
Trap name "cpqHe3FltTolPowerRedundancyLost"
Severity "Warning"

How Do i define these in .CDS & OID file?
Thanks,
Larry




)



_______________________________________________
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)