Oracle provides a package called dbms_system with the function ksdwrt that permit you to write arbitraty text strings inside the alert log. A simple example:
exec dbms_system.ksdwrt(2,'ORA-07445: this is a fake issue for testing purpose');
In oracle 11g, due to the complete incident management, you can also force the database to generate an incident in another way:
ALTER SESSION SET EVENTS '1418 INCIDENT(TEST)'; DROP INDEX THISINDEXDOESNOTEXISTS; ALTER SESSION SET EVENTS '1418 TRACE NAME CONTEXT OFF';
Remember that if you use the enterprise manager the simple write of an event to the alert log is not enough to trigger an alarm.
