EM12C – Clearing stateless events

In our system we usually get 40 – 50 stateless incidents due to ora-00060 errors (Poorly written software) type issues.  In the past it has been very difficult to remove them via the GUI console.   I found an article in http://www.freelists.org that helped me fix them – “www.freelists.org/post/oracle-l/Clearing-stateless-events-in-OEM-12c,2“.   There is an automated job (Out of the box) to clean them up, and i will be setting this up in my environment.   Also, the event for alert logs can be modified, but Im still looking at ways to do that in an easy manner.

Here is a snippet of the code to clear the events:

[oracle@machinename bin]$ ./emcli login -username=sysman
Enter password

Login successful
[oracle@machinename bin]$ ./emcli clear_stateless_alerts -older_than=0 -target_type=oracle_database -target_name=<databasename>

 46 alerts were cleared successfully.

[oracle@machine bin]$ ./emcli logout
Logout successful


One thought on “EM12C – Clearing stateless events

  1. Pingback: Fix Ora Error Stack 00060 Windows XP, Vista, 7, 8 [Solved]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s