nv-l

Re: [nv-l] SNMPv2 MIB and Trap definition file issue for VCS

2002-08-22 05:39:31
Subject: Re: [nv-l] SNMPv2 MIB and Trap definition file issue for VCS
From: netview AT toddh DOT net (Todd H.)
To: "Qureshi, Fawad" <Fawad.Qureshi AT ssa DOT gov>
Date: 22 Aug 2002 04:39:31 -0500
I think James found, like me the portion of your question stating 
"are not displaying all relevant information in the trapd.log file"
the vague part.   Your follow up clarifies that you meant the OID is
only partially text, and the rest is numeric. 

James further indicated that it's the v1  mib database that is queried
to resolve those numeric OID's, and hence requiring v1 versions of the
relvant mibs be loaded with xnmloadmib    if you are to address that
issue. 

To get a v1 version of the mib file, contact the vendor.  If your
experience mirrors mine, not many of them have both v1 and v2
versions.  There are some utilities out there that will translate mib
files from v2 to v1 formats,  the ones I've tried briefly have been
quite a pain. 



"Qureshi, Fawad" <Fawad.Qureshi AT ssa DOT gov> writes:
> Though I appreciate your reply Mr. Shanks, I thought I had made myself very
> clear. My question was in no way general, but right to the point. I already
> know all that you wrote in your response, but it does not answer my
> question. I did play with the parameters available for trapd.conf file, but
> to no avail (e.g. using $E $G $# etc. arguments with -F format statement).
> 
> Let me rephrase my question: A trap is generated by the Veritas VCS software
> (e.g. resource group failover -> OID: 1.3.6.1.4.1.1302.3.8.10.2.2), this
> trap is received into trapd.log file and only shows part of the information
> (like OID only going to X.X.1302.3.8.10). Same trap received in the
> MG-SOFT's trap catcher (which is a nothing but basic diluted SNMP console)
> shows all the right attributes just the way Netview should. So how do I make
> Netview recognize the right format? do I somehow need to convert the v2 trap
> definition into v1? if yes, how? I need to tag on the whole OID through
> xnmfault or ruleset to automate a page or email notification when this
> specific trap is received.
> 
> BTW, this is not meant to be a complain, just a polite harmless question.
> 
> Fawad Qureshi
> 
> -----Original Message-----
> From: Colson, Donna 
> Sent: Wednesday, August 21, 2002 3:50 PM
> To: Qureshi, Fawad
> Subject: FW: [nv-l] SNMPv2 MIB and Trap definition file issue for VCS
> 
> 
> 
> 
> -----Original Message-----
> From: James Shanks [mailto:jshanks AT us.ibm DOT com]
> Sent: Wednesday, August 21, 2002 3:36 PM
> To: nv-l AT lists.tivoli DOT com
> Subject: Re: [nv-l] SNMPv2 MIB and Trap definition file issue for VCS
> 
> 
> I don't know how anyone could answer so general a question, without seeing 
> the difference between the two, but remember this:
> trapd displays traps according to what is in his trapd.conf file.  And 
> while mib2trap provides some default specification for traps, that is not 
> always optimum,
> so you may have to play with that.  Th options are given in the man page 
> for trapd.conf. 
> 
> Never having see "MG-SOFT Trap Ringer" I wouldn't know how it displays 
> things or what kind of configuration file it uses to do so. 
> Even so, there is no guarantee that what it shows you and what trapd shows 
> you will be the same. 
> 
> If what you are complaining about is that the trap variables are shown 
> with numeric OIDs rather than MIB object labels, then yes, that is an SNMP 
> V1 versus V2 issue.  As I have explained in several appends this week, 
> trapd does not load the snmpv2mib.bin file, only /usr/OV/conf/snmpmib.bin, 
> so he does not know about anything you loaded with xnmloadmib2.  To get 
> the MIB labels to display you would need to load an equivalent SNMP V1 
> version of the MIB with xnmloadmib, the V1-only loader. 
> 
> Hope this helps
> 
> 
> James Shanks
> Level 3 Support  for Tivoli NetView for UNIX and NT
> Tivoli Software / IBM Software Group
> 
> 
> 
> 
> "Qureshi, Fawad" <Fawad.Qureshi AT ssa DOT gov>
> 08/21/2002 02:59 PM
> 
>  
>         To:     nv-l AT lists.tivoli DOT com
>         cc: 
>         Subject:        [nv-l] SNMPv2 MIB and Trap definition file issue for
> VCS
> 
>  
> 
> AIX 4.3.3 Netview 7.1.1
> 
> I have loaded SNMPv2 MIB from Veritas for the Veritas Cluster Server 
> product
> using xnmloadmib2. I used the mib2trap utility to extract trap definition
> out of the provided vcs.mib file, which I then merged with trapd.conf file
> using addtrap command.
> 
> I do see traps come in from VCS, but they are not displaying all relevant
> information in the trapd.log file. If I catch these traps using MG-SOFT 
> Trap
> Ringer, I see everyting the way I should. Is this a SNMPv2 vs. SNMPv1
> problem?? or something else?
> 
> Thanks.
> 
> Cheers,
> 
> Fawad Qureshi
> RSIS - DNE
> 410-965-4413
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
> For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com
> 
> *NOTE*
> This is not an Offical Tivoli Support forum. If you need immediate
> assistance from Tivoli please call the IBM Tivoli Software Group
> help line at 1-800-TIVOLI8(848-6548)
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
> For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com
> 
> *NOTE*
> This is not an Offical Tivoli Support forum. If you need immediate
> assistance from Tivoli please call the IBM Tivoli Software Group
> help line at 1-800-TIVOLI8(848-6548)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
> For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com
> 
> *NOTE*
> This is not an Offical Tivoli Support forum. If you need immediate
> assistance from Tivoli please call the IBM Tivoli Software Group
> help line at 1-800-TIVOLI8(848-6548)
> 

-- 
Todd H.
http://www.toddh.net/