That's a new format on me. I'm used to the V1 trap
definitions looking like this 3-com example. You then run "mib2trap" on
the mib and it creates a file containing "addtrap" commands. V2 traps
contain a "NOTIFICATION-TYPE" header.
repPortErrors
TRAP-TYPE
ENTERPRISE
a3Com
VARIABLES
{
mrmMonPortErrorsPer10000Packets,
gaugeRecoveryLevel,
gaugeSamplePeriod,
gaugeSamplesPerAverage
} DESCRIPTION
" This trap is sent when the errors per packet exceeds the the
defined threshold."
::= 42
I've been
trying to load the Traps contained in a F5 Network WANJet MIB. I've
tried loading it in NetView, NNM, and OIDView before I decided on
dissecting it. I noticed that there weren't any TRAP-TYPE objects located
in the file. After speaking with their support they stated the Trap
section of file is in v1 format and not V2 and because of that NetView won't be
able to read the MIB. Does this make any sense? Doesn't seem to
me. Here is an excerpt of the Trap definition section of the
MIB.
-- ********************************************** SnmpTraps
SnmpTrapObjs OBJECT IDENTIFIER
::= { SnmpTraps 1 }
SnmpTrapID OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS current
DESCRIPTION "Holds the ID of the SNMP Trap."
::= { SnmpTrapObjs 1 }
SnmpTrapDescription OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS current
DESCRIPTION "Holds the description of the SNMP Trap."
::= { SnmpTrapObjs 2 }
SnmpTrapList OBJECT IDENTIFIER
::= { SnmpTraps 2 }
-- Optimization Engine Traps
Trap1000 OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS current
DESCRIPTION "Error: Configuration error."
---Regards
Sandro P. Seminara
-- No virus found in this incoming message. Checked by AVG
Free Edition. Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date:
2/18/2007 4:35 PM
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2/18/2007 4:35 PM
_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)
|