Dominic -
The error messages are very straight forward. They say that your
trapd.conf already has traps called "coldStart" and " authenticationFailure"
in it, and since the names have to be unique, it won't add these two. .
You have two choices -- change the names of the trap definition in
trapd.conf to be something else, preferably using xnmtrap, which is the
user interface tool for making such changes, or edit the output script
you just ran and change the names of these new traps to be something
different, say, for example, "coldstrt" and "authFailure", or whatever you
like, just so they are unique, and re-run the script.
That will add these two which were not added the first time. The trap names
are arbitrary and this vendor just happened to chosee the
same names as someone else -- not surprising since "cold start" and
"authentication failure" are common elements in SNMP.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
"D'Apice, Dominic" <D.D'Apice AT SAQ.qc DOT ca>
04/04/2002 09:37 AM
To: James Shanks/Raleigh/IBM@IBMUS
cc: "'nv-l AT lists.tivoli DOT com'" <nv-l AT lists.tivoli DOT com>
Subject: RE: [nv-l] compile error when i do mib2trap
thank a lot James, but when a execute the output, i got this error, can
you
take a look
root@aixtivlab1:/saq/home/users/sisauda/mib> ./firewall.trap
Not loading trap format. Trap name coldStart is already in use. Rename
the
event to avoid the conflict
Trap warmStart has been added.
Trap linkDown has been added.
Trap linkUp has been added.
Not loading trap format. Trap name authenticationFailure is already in
use.
Rename the event to avoid the conflict
Trap egpNeighborLoss has been added.
Trap snmpRisingAlarm has been added.
Trap snmpFallingAlarm has been added.
Trap snmpObjectUnavailableAlarm has been added.
root@aixtivlab1:/saq/home/users/sisauda/mib>
-----Message d'origine-----
De : James Shanks [mailto:jshanks AT us.ibm DOT com]
Envoyé : 4 avril, 2002 09:20
À : D'Apice, Dominic; nv-l AT lists.tivoli DOT com
Objet : Re: [nv-l] compile error when i do mib2trap
The BIT STRING construct is no longer valid in SNMP so mib2trap, which
uses the SNMP V2 libraries, rejects it.
Just change line 2859 from this
+2858 mtrBitString OBJECT-TYPE
+2859 SYNTAX BIT STRING {
to this:
+2858 mtrBitString OBJECT-TYPE
+2859 SYNTAX BITS {
which is the equivalent and this problem will go away.
I don't know, however, if there are others lurking in this MIB
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
---------------------------------------------------------------------
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)
|