unable to dsiplay the proper trap Message

unable to dsiplay the proper trap Message

-----------------------TRAP-TEST-MIB-----------------------------------------

TRAP-TEST-MIB DEFINITIONS ::= BEGIN
IMPORTS
mgmt FROM RFC1155-SMI
ucdExperimental FROM UCD-SNMP-MIB
TRAP-TYPE FROM RFC1215;

mib-2 OBJECT IDENTIFIER ::= {mgmt 1}
system OBJECT IDENTIFIER ::= {mib-2 1}

demotraps OBJECT IDENTIFIER ::= { ucdExperimental 990 }

demo-trap TRAP-TYPE
-- STATUS current
ENTERPRISE demotraps
-- VARIABLES { sysLocation }
DESCRIPTION "This is just a demo."
::= 17

END

-----------------------------------------END-------------------------------------------
This MIB is loaded in OpManager.when I am sending trap to opManager the Msg displaying is not proper.
The msg what opManager is displaying is "Trap received from Kumar with SNMP Varbinds Kumar ".It should mention trap name also that is "demo-trap".
I want to display the message on the same pattern as Generic trap are displayed.


Thanks and Regards
Rajesh




























                  New to ADSelfService Plus?