nv-l
[Top] [All Lists]

Re: mib2trap error:brocade

To: nv-l@lists.tivoli.com
Subject: Re: mib2trap error:brocade
From: "James Shanks" <SHANKS@us.tivoli.com>
Date: Fri, 21 Sep 2001 12:42:26 -0400
Catalina -

mib2trap only creates trap definitions out of MIBs which have TRAP-TYPE or
NOTIFICATION-TYPE statements in them.
TRAP-TYPE statements (SNMP V1) and NOTIFICATION-TYPE statements   (SNMP V2)
are how traps are defined in MIBs.
If your MIBs don't define traps, then mib2trap will produce no output.

I cannot know for certain without looking at the MIB but I suspect that is
why this happens:
     >> Then when I run mib2trap on v2_4FE.mib and v2_
`    >> SW.mib. I dont get any errors just an empty  script.
If they don't have any traps defined, then mib2trap has nothing to do.

As for why this happens,
     >> When I run mib2trap for v2_4TRP.mib I get:
     >> " ERRORs- no script generated"
     >> and nothing else.
I haven't a clue, because that message is only produced if the parse fails,
and I don't see how that could happen without another error message.
But I can't diagnose your problem without looking at the MIB and I cannot
do that here.  I am not permitted to take user problems off the lis.
You must go through channels and call Support to get someone who can look
at those MIBs to  figure out what it the matter.

Sorry but that is the best I can do.


James Shanks
Level 3 Support
Tivoli NetView for UNIX and NT
Please note that my new id is jshanks@us.ibm.com



"CATALINA MARTINEZ" <CATALINA.MARTINEZ@tlc.state.tx.us>@tkg.com on
09/21/2001 09:48:43 AM

Please respond to IBM NetView Discussion <nv-l@tkg.com>

Sent by:  owner-nv-l@tkg.com


To:   <nv-l@tkg.com>
cc:
Subject:  Re: [NV-L] mib2trap error:brocade




James,

There are 4 mibs that I am trying to add the traps. i am  successful in
loading 1. They are v2_4FE.mib v2_4FA.mib v2_4SW.mib  v2_4TRP.mib

mib2trap v2_4xx.mib v2_4xx.trap (I do this for all  4).

When I run the FA i get
Trap connUnitStatusChange has been added
Trap connUnitDeletedTrap has been addd
Trap connUnitEventTrap has been added
Trap connUnitPortStatusChange has been added.

Then when I run mib2trap on v2_4FE.mib and v2_
4SW.mib. I dont get any errors just an empty  script.

When I run mib2trap for v2_4TRP.mib I get:
" ERRORs- no script generated"
and nothing else.

Any suggestions?


>>> SHANKS@us.tivoli.com 09/20/01 02:21PM  >>>
That would mean that the MIB you ran this on had parsing  problems so the
output of mib2trap, which is an addtrap script, could not be  created.
If we cannot parse the MIB then we don't know what to put in the  output
file.  But you should have received other messages ahead of that  one which
indicated the nature of the problem.  Did you not get  any  other messages
first?

James Shanks
Level 3  Support
Tivoli NetView for UNIX and NT
Please note that my new id is  jshanks@us.ibm.com



"CATALINA MARTINEZ"  <CATALINA.MARTINEZ@tlc.state.tx.us>@tkg.com on
09/20/2001 02:42:23  PM

Please respond to IBM NetView Discussion  <nv-l@tkg.com>

Sent by:   owner-nv-l@tkg.com


To:    <nv-l@tkg.com>
cc:
Subject:  [NV-L] mib2trap  error:brocade




To all,

I loaded new mibs (which I can  see through mib browser)  however when I am
running mib2trap I  get:

ERROR  script not created

how do I know what's the  error?

I am havent grasp the concept of loading mibs and adding   traps. I have
done a cisco and aironet but it was more like being stuck in  1st  gear.

any help I would appreciate it.

Catalina
AIX  4.3.3 Netview  6.0.2


_________________________________________________________________________
NV-L  List information and Archives: http://www.tkg.com/nv-l


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

Archive operated by Skills 1st Ltd

See also: The NetView Web