Quote:
Beginning with Oracle 8.0.6 databases and higher, the OEM_MONITOR role is created by the Oracle database creation scripts. This role permits access to database functionality within Enterprise Manager. For example, running events against a database (tablespace full, buffer cache hit ratio) or browsing through the objects in a database via the Console Navigator tree. These types of functionality require database credentials on which to perform these operations. Rather than granting the powerful DBA role to the database credentials, many administrators prefer to provide only the necessary privileges required to do these operations. Granting the OEM_MONITOR role to the database credentials, ensures that the user has the minimum sufficient privileges required for these operations.
Note:
You need to create the OEM_MONITOR role using the SYS account.
If you need to create the OEM_MONITOR role manually, here are the steps you need to perform:
1. Create a role called OEM_MONITOR
drop role OEM_MONITOR;
create role OEM_MONTOR:
2. Grant the 'connect' role to OEM_MONITOR
grant connect to OEM_MONITOR;
3. Grant the system privileges 'Analyze any' & 'Create table' to OEM_MONITOR
grant analyze any to OEM_MONITOR;
grant create table to OEM_MONITOR;
4. Create the SELECT_CATALOG_ROLE role as defined in sc_role.sql .
5. Grant the SELECT_CATALOG_ROLE to the OEM_MONITOR role
grant select_catalog_role to OEM_MONITOR;
You are now ready to grant the OEM_MONITOR role to the database user that will be used as "database preferred credentials" in Enterprise Manager. In addition to granting the OEM_MONITOR role to a user, you must also ensure that the QUOTA for the user account is set to UNLIMITED.
The "Continued Row" event test needs to analyze results into a table so it needs both the "analyze any" and "create table" privileges.
Note:
The "analyze any" privilege is used by the "index rebuild" event to compute statistics.
Now, we can get on with the search for his lost credibility.