nv-l
[Top] [All Lists]

Re: [NV-L] Hostname Missing

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] Hostname Missing
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 2 Jul 2008 10:09:44 -0400
Delivery-date: Wed, 02 Jul 2008 15:10:26 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <189533.53542.qm@web43141.mail.sp1.yahoo.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
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@lists.ca.ibm.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@lists.ca.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@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.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>

Archive operated by Skills 1st Ltd

See also: The NetView Web