RE: [nv-l] compile error when i do mib2trap
2002-04-04 09:37:53
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
|
|
|