Monitoring pl/sql execution from Enterprise Manager

I need to implement monitoring of PL/SQL code from within Oracle Enterprise
Manger 10g. OEM has Custom user defined metrics (UDM) that allow one to issue
queries against a database and decide whether the output from the query is a
warning or a critical alert based on some threshold.
In my case, my pl/sql will write to a database table that OEM will monitoring by
querying periodically.
My question is how does OEM know not to report on the same error about the same
session multiple times. Once OEM has detected that my PL/SQL routine generated
an exception during one of its execution, how will know not to alert on the same
exception from the same pl/sql execution, the next time it's querying the
database?
It almost sound like the SQL query OEM will be executing needs to know what it
reported on before.
Any clarity on this would be appreciated.

ok ..thanx .. can i view all historical SQL Text that is executed by a perticuler User say SCOTT.??? In the same page within SQL DETAIL you can find task owner also,

Similar Messages

  • SQL History from Enterprise Manager

    Hi Experts i need your help.. actullay i need SQL Text that is executed by DB User . i wan to know how to get SQL text history from Enterprise Manager .. my DB Version is 10gr2(10.2.0.4).
    regards,

    ok ..thanx .. can i view all historical SQL Text that is executed by a perticuler User say SCOTT.??? In the same page within SQL DETAIL you can find task owner also,

  • Monitoring Application servers from enterprise manager

    Hi all,
    I couldnt monitor application server from enterprise manager console.It is asking for the network password in the browser.
    Enter network password
    site : showing ip address of my machine
    Realm : enterprise-manager
    username : ?
    Password :?
    Which userid/password i have to give here. I tried with management server userid and password.but failed
    Im ussing Oracle9IAS 9.0.2.0 ver.
    Please Help !!!!!!!

    Please post your question in the Enterprise Manager forum: Enterprise Manager
    Regards,
    OTN

  • Export error from enterprise manager

    Im getting this error when trying to do a table export from enterprise manager(oracle 10g statndard edition). There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition. I looked on line and places said to have parallelism to 1 but i think i already have that set.
    Export Type Tables
    Statistics type Estimate optimizer statistics when data is imported
    Parallelism 1
    Files to Export WRITABLE_DIRECTORY tables.DMP
    Log File WRITABLE_DIRECTORY EXPDAT.LOG

    Its trying to create a dump file, but file by that name already exists. Verify that name & path is correct.

  • Error deploy shared library from Enterprise Manager IAS10.1.3.5.0

    Hi,
    I am trying deploy one shared library in my OC4J instance (prd_oc4j) from Enterprise Manager, but when i run my application its not loading this library (error missing class), but when i put this shared library in file server.xml without Enterprise Manager my application run sucessfully.
    Help me please or this problem is a bug?
    Tks,
    Haysar Lelis

    If finally found the cause of the problem, lack of PermGen space for the home instance;
    When opening the EM Console most of the times i was able to open the login page, under stress opening this page failed most of the times.
    The ascontrol-application.log pointed me in the right direction;
    10/09/07 15:26:59.111 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    When monitoring the PermGen of the home instance, is showed that the system was running out of PermGen space.
    Increasing the PermGen size for the home instance in opmn.xml did the trick
    <data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M......"

  • Alert from Enterprise Manager

    Hello, I have an oracle rac with 3 nodes and I have oracle database control enterprise manager (No Grid Control).
    Yesterday one node was reboot and I don't know why. I want set a rules from enterprise manager or something similar for notificate to me when a reboot from one of my host suceed.
    Any one can help me?

    roberto1979es wrote:
    Ok,
    Can I program one alert for warning when a node is reboot it?When a node is reboot it. !http://www.wackyb.co.nz/skype/smileys_v1.5.0.60/skype-wackyb-0120-doh.gif!
    If i understood correctly what you are trying to ask , you are interested in email notification when your node suddenly reboots/restarts.
    And if it is so, this is will not be possible in the way like it is for tablespace, memory and similiar alerts.
    Although you could consider monitoring alert.log content, because information about database up-down statuses can be found there.
    For example , you could do that either by using external tables or by using shell/batch scripts;depending on the os on what your database is, and then after information that indicates database unexpected reboot is found, forward that information further (e-mail notification) .

  • Host stats from Enterprise Manager

    Hi Experts,
    actullay i want to get CPU, RAM SWAP all System related stats from Enterprise Manager in a Coustomze manager that is the usage frm this 9Am To 10 AM of 13 Feb is there any way to do sooo.. actually i could not see any option for coustom to do soo.
    regards,

    Oracle AWR can collect information about these.
    "The Automatic Workload Repository (AWR) is an integrated part of the Oracle database server. Its purpose is to collect server-related performance data automatically every 60 minutes (by default) when the statistics_level parameter is set to 'typical' (or 'all'). As the data is collected by the server itself, the Automated Database Diagnostic Monitor (ADDM) component of the server uses this data automatically to diagnose performance issues."
    Please note these components additional licenses!
    See more here:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/autostat.htm#i35653
    and here
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_workload_repos.htm#i1003494
    another useful link
    Automatic Workload Repository (AWR) in Oracle Database 10g
    http://www.oracle-base.com/articles/10g/AutomaticWorkloadRepository10g.php

  • SQL History from Entreprise Manager

    Hi Experts i need your help.. actullay i need SQL Text that is executed by DB User . i wan to know how to get SQL text history from Enterprise Manager .. my DB Version is 10gr2(10.2.0.4).
    regards,

    Duplicate thread!
    SQL History from Enterprise Manager

  • How to avoid timeouts from Enterprise Manager/BPEL console?

    Occasionally I want to deploy (from JDev) some BPEL processes to the AppServer.
    Surprisingly I got some errors. I found out when I re-login into
    Enterprise Manager and tried again to deploy it everything works fine.
    So it seems to me all errors occur because of a forced logout from Enterprise Manager.
    How can I avoid such situations?
    Peter

    Hi peter,
    See this forum link:
    Re: How to avoid auto-logout (=timeout) BPEL console?
    It contains your post only. See it.
    Cheers,
    Abhi...

  • SQL Tuning using Enterprise manager in oracle 10g

    Hi,
    In oracle 10g you have the enterprise manager which can be used to tune sql statements using the SQL Tuning ADvisor and SQL access advisor.
    I believe in oracle 10g the process of SQL Tuning is slightly easier using the Enterprise Manager ...so if some one could explain me that process...
    Again thanking you in advance
    regds
    Manoj Gokhale

    Hi Manoj,
    Didn't you already start two other threads about this same question the SQL forum?
    How do i do the SQL Statement tuning
    Enterprise Manager - sql tuning advisor , Access advisor for SQL Tuning

  • Error messages from Enterprise Manager Grid control

    Hi,
    Hi,
    I get several messages in my email daily from Enterprise Manager that Services from Application server control are down when all ther services are up and running. Messages like
    EM Alert: Critical: testdev - The OC4J instance is down.
    Any idea why this is happening.
    Thank You

    Here is the error in the "installActions<date>.log" file:
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    I checked in the details section and it listed this as the issue:
    Configuration assistant "OMS Configuration" failed
    The "D:\oracle\product\10.1.0\agent10g\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
    How do I fix this?? When I open up the configToolFailedCommands file, all it lists is "oracle.sysman.emcp.agent.AgentPlugIn".

  • Problem Autodiscovery of node from Enterprise Manager

    We are using Oracle Enterprise Manager 2.1.0.1.0 through Management Server on NT for Oracle 8i(8.1.6) on Linux
    While autodiscovery of node from Enterprise Manager I am getting following
    error
    "Discovery Failed VNI-4002:Unknown gateway Exception"
    Even Intelligent agent and all the requisite services are started.
    If we configure manually we will get
    following error while using the tools of management pack
    "VTO-2018 This wizard Couldnt be launched because target was manually
    configured.It can only be launched for targets which have been discovered using an Intelligent Agent."
    I shall be thankful if you provide the solution ASAP
    Thanks
    Micky
    null

    Hi,
    Error: wrong password for user
    Are you grant LOG ON AS AN BATCH job to OS USER.
    OR
    before emctl command you always set ORACLE_SID enviourment variable.
    regards
    Taj

  • Can't do anything from Enterprise Manager

    I am trying to undeploy an application from Enterprise Manager Web Site, and I get the following error:
    An error occured while undeploying the application. The configuration files for this Oracle9iAS instance are inconsistent with the configuration stored in the repository. In order to protect the repository, no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating the configuration files on disk. Some possible causes are: * permissions on files * file contention issues on Windows NT * EMD and dcmctl running concurrently * internal Oracle error After resolving the problem that prevented DCM from updating the configuration files, you may use the dcmctl resyncInstance command to resolve the problem. Alternatively, you can stop and then restart the active dcmctl or EMD process and resyncInstance will automatically be performed.
    It won't let me do anything. I tried dcm, too. It happens too often to me that I cannot deploy or undeploy apps from EM, or even to alter simple properties. Is there a way to recover from this situation?
    I have checked the errors at $ORACLE_HOME/dcm/logs but I can't get any ideas from there.
    Help me

    check out the Application Server - General forum. this has been discussed quite many times. Specifically,
    9iAS instance out  of sync with Repository
    -Prasad

  • Ifs from enterprise manager

    I am not able to invoke ifs from enterprise manager.
    Basically i want to know how to use 9ifs.I have oracle 9iDB,9iAs and 9ifs on a single machine.

    what version of iFS are you using? what does your infrastructure look like? also, please post the entire stack trace of the error.

  • Top sql in java enterprise manager 10G

    i,
    in the java enterprise manager 9i, I could use 'top sql', 'top sessions' from the java applications.
    I recently installed 10G enterprise manager client, and I now miss the top sql and top sessions apps.
    I know that they are available in the web interface for enterprise manager 10G, but I can't use the webinterface right now. I would like to use the standalone java enterprise manager. How can I get the top sql in there?
    Greetings,
    Ivo

    anybody?

Maybe you are looking for