Bug #42289 Enhancement Request: an optional switch to shorten MEM exception trap
Submitted: 23 Jan 2009 4:11 Modified: 8 May 2009 23:16
Reporter: 俊夫 大矢 Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor Severity:S4 (Feature request)
Version:2.0.1 OS:Linux (RHEL)
Assigned to: CPU Architecture:Any
Tags: mem, SIM, SNMP, Trap

[23 Jan 2009 4:11] 俊夫 大矢
Description:
HP Systems Insight Manager (SIM) ver.5.02, an HP product to monitor
multiple systems, is unable to handle an exception trap for testing
from MEM ver.2.0.1.

The exception trap from MEM seems to contain myStackTrace, which is
a very long Java stack trace.  We've confirmed that after shortening
myStackTrace manually, SIM accepted the shortened SMTP trap so the
event is handled as expected.  Shortening can be done by once
editing myStackTrace to a one line message, then use "snmptrap"
command to send the SNMP trap to SIM.

How to repeat:
Setup MEM and SIM.  Send an exception trap for testing from MEM to
SIM.  It is expected to see some event happened, however
nothing happens on the SIM side.

Suggested fix:
Add an optional switch to shorten all exception traps.  That is, add
an optional switch which uses only the 1st line of Java's stack trace.