I used the following MIB file and MIBExtractor

MIB as blow:
------
                WENDYS-DIALUP-MIB DEFINITIONS ::= BEGIN

                IMPORTS
                                 enterprises, OBJECT-TYPE
                                                  FROM RFC1155-SMI;


                directory OBJECT IDENTIFIER ::= { internet 1 }
                mgmt OBJECT IDENTIFIER ::= { internet 2 }
                experimental OBJECT IDENTIFIER ::= { internet 3 }
                private OBJECT IDENTIFIER ::= { internet 4 }
                enterprises OBJECT IDENTIFIER ::= { private 1 }
                wendys OBJECT IDENTIFIER ::= { enterprises 14621 }
                wendysAgents OBJECT IDENTIFIER ::= { wendys 3 }
                dialup OBJECT IDENTIFIER ::= { wendysAgents 1 }
                dialupStart OBJECT IDENTIFIER ::= { dialup 1 }                  
                dialupEnd OBJECT IDENTIFIER ::= { dialup 2 }

                END

-----------

defs.txt file shown below:
-----------------------
RFC1155-SMI,rfc1155.mib
RFC-1212,rfc1212.mib
RFC-1215,rfc1215.mib
WENDYS-DIALUP-MIB,WENDYS-DIALUP.mib
INMON-TRAP-MIB,INMON.mib
RFC1213-MIB,d:\snmp\rfc-mibs\rfc1213-mib-ii
---------------------------------

mib.txt added the following:
wendys,1.3.6.1.4.1.14621
wendysAgents,1.3.6.1.4.1.14621.3
dialup,1.3.6.1.4.1.14621.3.1
dialupRT,1.3.6.1.4.1.14621.3.1.1,dialupStart
dialupEnd,1.3.6.1.4.1.14621.3.1.2


#-Def RFC1155-SMI,loaded,Wed Dec 31 16:00:00 1969
#-Def RFC-1212,loaded,Wed Dec 31 16:00:00 1969
#-Def RFC-1215,loaded,Wed Dec 31 16:00:00 1969
#-Def WENDYS-DIALUP-MIB,loaded,Wed Apr 14 16:50:50 2004
#-Def INMON-TRAP-MIB,loaded,Wed Apr 14 12:41:59 2004
#-Def RFC1213-MIB,loaded,Fri Feb 04 11:45:42 2000


But when I send a trap, the log showing below:
20040414 165544 EVENT SNMP Trap/Dialup Ended 10.255.221.80
Trap(enterprises.14621.3.1.2-7427.56656) enterprises.14621.3.1.2 Null
20040414 165532 EVENT SNMP Trap/Dialup Started 10.255.221.80
Trap(enterprises.14621.3.1.1-7427.56656) enterprises.14621.3.1.1 Null

Some how it does not say Wendys ... but says enterprises.14621.3.1.2

P. S 14621 is Wendy's company MIB#

But if I use OSU MIB then it worked fine as shown below
20040413 171225 EVENT SNMP Trap/any 10.255.221.80 Trap(osu-1025.56656) osu
Null

I tried other company MIB, ex, inmon, the result is the same.

So what is wrong? Please import the Wendys MIB I specified above and you
can test it out yourself.

And let me know what's wrong.

You can call me at 614-764-3539

Thanks!

Greg


--

WhatsUp Gold Ask A Tech Version . (c) 2003 Ipswitch, Inc.

Reply via email to