nv-l
[Top] [All Lists]

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

To: nv-l@lists.tivoli.com
Subject: Re: [nv-l] SNMPv2 MIB and Trap definition file issue for VCS
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 21 Aug 2002 17:23:00 -0400
Mr. Qureshi,

There was no malice intended in my answer.   I had no idea how this other 
product works and therefore no idea what you wanted the trap to look like, 
and since you did not indicate that you had already played with trapd 
formatting, how was I to know that?  In any case, no harm, no foul.   I 
now know what you want.

And I have already answered your question.  As I said, trapd will not 
display all the MIB labels of your MIB because you loaded your MIB with 
xnmloadmib2, which loads into /usr/OV/conf/snmpv2mib.bin, and trapd only 
loads /usr/OV/conf/snmpmib.bin, which is the V1-only MIB database.   He 
does not know about he other and there is no way to make him be aware of 
it.  That functionality is simply not part of the current product. To get 
trapd to do what you want, you would have to load a V1 equivalent of the 
MIB in question. 

But there are no tools provided in NetView to convert MIB formats. Sorry, 
but there never have been.  So if you don't have a V1 version of the MIB, 
or the vendor does not supply one, then you may simply be out of luck with 
what you want to see.  On the other hand, presumably, the OIDs of the trap 
don't change  so perhaps you could hard code the labels into the trap 
format itself.  Or you could get a book such as Perkins and Ellis, 
Understanding SNMP MIBs, and convert the MIB yourself, by following their 
directions.  If you 
like, I will post directions here when I get the chance, but it is a 
labor-intensive edit process. Or perhaps you might choose to obtain a MIB 
compiler such as SMICng off the web and try that as a conversion tool. But 
without a V1 copy of the MIB, which you must get somewhere outside of 
NetView, you cannot get trapd to display all the labels for those OIDs. 
Sorry but that is the bottom line so far as I can see.

Hope this helps 

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




"Qureshi, Fawad" <Fawad.Qureshi@ssa.gov>
08/21/2002 04:25 PM

 
        To:     nv-l@lists.tivoli.com
        cc: 
        Subject:        Re: [nv-l] SNMPv2 MIB and Trap definition file issue 
for VCS

 

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@us.ibm.com]
Sent: Wednesday, August 21, 2002 3:36 PM
To: nv-l@lists.tivoli.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@ssa.gov>
08/21/2002 02:59 PM

 
        To:     nv-l@lists.tivoli.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@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.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@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.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@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.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)





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

Archive operated by Skills 1st Ltd

See also: The NetView Web