The error message is sent as an SNMP trap and added to the aseErrorTable in the Adaptive Server SNMP Agent Plug-in. You can use an SNMP client to query the table to see whether messages have been logged. For example, an open source SNMP network client application called NET-SNMP could be used to see the reported messages:
$ snmpwalk -v 1 -c public MYHOST:1498 enterprise SNMPv2-SMI::enterprises.897.1.1.1.1.1.1 = INTEGER: 1 SNMPv2-SMI::enterprises.897.1.1.1.1.2.1 = STRING: "WEBSPINNER" SNMPv2-SMI::enterprises.897.1.1.1.1.3.1 = INTEGER: 1 SNMPv2-SMI::enterprises.897.1.1.1.1.4.1 = INTEGER: 2 SNMPv2-SMI::enterprises.897.1.1.1.1.5.1 = INTEGER: 3 SNMPv2-SMI::enterprises.897.1.1.1.1.6.1 = STRING: "sa" SNMPv2-SMI::enterprises.897.1.1.1.1.7.1 = INTEGER: 4 SNMPv2-SMI::enterprises.897.1.1.1.1.8.1 = INTEGER: 5 SNMPv2-SMI::enterprises.897.1.1.1.1.9.1 = STRING: "Hello SNMP World $ snmptable -m SYBASE-MIB -v 1 -c public MYHOST:1498 aseErrorTableSNMP table: SYBASE-MIB::aseErrorTable sybErrorIndex sybServerName sybErrorNumber sybErrorSeverity sybErrorState sybUserName sybServerProcess sybEngine sybErrorMessage 1 WEBSPINNER 1 2 3 sa 4 5 Hello SNMP World