Clearing Alerts in Oracle 10 EM

al Salm 3likm
hi forum
i need to clear alerts in enterprize manager in oracle 10g
i do the follow
select t.target_name
, t.target_type
, collection_timestamp
, message
, 'exec em_severity.delete_current_severity(''' ||
t.target_guid || ''',''' ||
metric_guid || ''',''' ||
key_value || ''')' em_severity
from sysman.mgmt_targets t
inner join
sysman.mgmt_current_severity s
on
t.target_guid = s.target_guid;
and
execute out put as follow
exec em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','TSMSYS')
exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','TSMSYS');
exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','MGMT_VIEW');
exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','SYSMAN');
exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','BB');
exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','F95BA0D95585002889E1ABF92B2DA7C3','SSS');
exec sysman.em_severity.delete_current_severity('A1133B3B9BEFCBB420D954FC3BE1F3D7','D6438569B496BC9205481E8A70F92F1E','SYS_precastdbsrv');
but alert not removed
any idea

Check this
http://www.databasejournal.com/features/oracle/article.php/3694541/Clearing-Alerts-in-Enterprise-Manager.htm

Similar Messages

  • Clearing alerts in Oracle 10g

    I have several alerts in the Oracle 10g Enterprise Manager which I have already catered for. Is there a way to clear these alerts??

    I looked thru the stored procs and I see a trigger for mgmt_current_severity and the mgmt$alert_current view shows you this data..
    Looks like mgmt_current_severity is the key to these alerts..
    I get the impression that 10g OEM was delivered missing quite a bit of the promised functionality .. like reporting and such.
    So I expect a big update soon.

  • How to clear alert when a null value is returned for a metric column?

    Hey all,
    Recently, I've encountered a problem about clearing alert when a null value is returned for a metric column. From Oracle official doc, it seems that NO_CLEAR_ON_NULL could be used for this propose. However, it doesn't.
    Here is the line from doc, you can see when NO_CLEAR_ON_NULL is set as FALSE, the null value will clear alert, and the default value for NO_CLEAR_ON_NULL is FALSE.
    NO_CLEAR_ON_NULL: This attribute is used to control severity clearing when a null value is returned for a metric column. It defaults to FALSE with the behavior that a null value ends up clearing previous alert severities. With a TRUE value for this attribute, null values will be skipped in severity evaluations without clearing the severity.
    TRUE | FALSE (default)
    STATELESS_ALERTS: This attribute if set to TRUE indicates to EM that alerts on this
    column will not have corresponding clears. This allows the UI to decide whether to
    allow users to manually clear alerts on this column.
    TRUE | FALSE (default)Here is my code for the metric,
    -- meta definition
      <Metric NAME="Flushing_Table_Overtime" TYPE="TABLE" HELP="NO_HELP">
        <Display>
          <Label NLSID="mmd_ip">Flushing Table Overtime</Label>
        </Display>
        <TableDescriptor>
          <ColumnDescriptor NAME="State" TYPE="STRING" IS_KEY="FALSE">
            <Display>
              <Label NLSID="mmd_rc_State">State</Label>
            </Display>
          </ColumnDescriptor>
          <ColumnDescriptor NAME="Time_Seconds" TYPE="NUMBER" IS_KEY="FALSE">
            <Display>
              <Label NLSID="mmd_fto_Time_Seconds">Flush Table consume Seconds</Label>
            </Display>
          </ColumnDescriptor>
        </TableDescriptor>
        <ExecutionDescriptor>
          <GetTable NAME="MysqlProcessAggregate"/>
          <GetView NAME="v_flushing_tables" FROM_TABLE="MysqlProcessAggregate">
            <Column NAME="State" />
            <Column NAME="Time_Seconds" />
            <Filter COLUMN_NAME="State" OPERATOR="EQ">Flushing tables</Filter>
          </GetView>
        </ExecutionDescriptor>
      </Metric> 
    -- coll definition
      <CollectionItem NAME="Flushing_Table_Overtime">
        <Schedule>
          <IntervalSchedule INTERVAL="10" TIME_UNIT="Min" />
        </Schedule>
        <MetricColl NAME="Flushing_Table_Overtime">
          <Condition COLUMN_NAME="Time_Seconds"
                     CRITICAL="30" OPERATOR="GT"
                     MESSAGE="There is a Flushing Table command has exceeded %critical_threshold% seconds."
                     MESSAGE_NLSID="msg_Flushing_Table_Overtime" />
        </MetricColl>
      </CollectionItem>If this feature can not be achieved by coding XML, then is there a way to clear alert with Oracle Package? I have confirm neither sysman.em_severity.delete_current_severity nor sysman.em_severity.clear_alerts could do it.
    Would anyone give me a hint?
    Thanks in advance!
    Best wishes,
    Satine

    > I am executing in this manner
    var RESULT BOOLEAN;
    BUT I am unable to create variable with boolean data type.
    WARNING. Do not confuse SQL*Plus with PL/SQL.
    There is no variable command in PL/SQL. PL/SQL does support the boolean data type.
    There is a variable command in SQL*Plus. It allows one to define bind variables. It is limited in the data types it supports. It does not support boolean as a bind variable type.
    SQL*Plus is a CLI (Command Line Interface) client tool. It has a very limited vocabularly, allowing you to (primarily):
    a) configure its local environment (e.g. size of the terminal ito number of characters per lines)
    b) configure its bevahiour (e.g. spooling data to a file)
    c) defining substitution and bind variables
    And that's it. It is not PL/SQL. It is not SQL. It takes the PL/SQL and SQL you enter, and submit that to the Oracle server. (it does some basic parsing of the data to substitute variables and bind variables where applicable)
    Do not confuse this CLI client tool with the server side PL/SQL or SQL languages.

  • Clearing alerts in EM 10g

    I have set up EM 10g on a W2K environment and everything is working fine but I have alerts on some targets that I have already taken care of but the do not "go away".
    Is there a way to clear alerts?
    For instance, last weekend an archive log disk got full. I resolved the incidence but I still have a red alert about log file switch %.
    Thanks for your help.

    But it looks awful when you see it because you automatically think there's a problem when there isn't !
    Old OEM 9 used to put the little green flag up when it cleared....
    Right ! Who's for hacking the PL/SQL ! :)

  • Alert #68: Oracle Security Update

    Hi All ,
    I am new to the world of Oracle EBS and I was recently assigned the DBA task in my company for the ebs 11.5.10.2 that was installed be a former DBA .
    Our security department are following up on a security update by oracle in the link .
    http://www.oracle.com/technology/deploy/security/pdf/2004alert68.pdf
    I see that my database is version 9.2.0.6 so I do not think I need to do anything there . Is that true ?
    For the application server , Can someone help me to find what version I have ? Also , How do I apply the patch if needed .
    I also do not know if the former DBA already installed the patch or not how do I find out ?
    Thanks

    Saeed,
    You do not need to install any iAS rollup patch since you are on the latest one.
    For Oracle HTTP Server security patches, you need to have Patch 3835781 installed. This is already explained in the following notes:
    Note: 281189.1 - SECURITY ALERT #68 - Oracle Security Update (Patch Availability Matrix)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=281189.1
    Note: 283402.1 - How to Patch Application Server for Security Alert 68 - Specific Examples
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=283402.1
    Note: 282426.1 - Security Alert #68 - FAQ for Oracle Application Server Products
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=282426.1

  • Any document id for set up the alerts in oracle EBS

    Hi,
    Any document id for set up of alerts in oracle EBS. Or any site address for basiscs of setup of oracle alerts.

    Hi,
    Please see "Oracle Alert User's Guide" available at:
    Applications Releases 11i and 12
    http://www.oracle.com/technology/documentation/applications.html
    You can also refer to:
    Note: 868449.1 - How To Determine If An Environment Is Set Up With Response Processing Alerts?
    Note: 396315.1 - Oracle Alert Documentation Resources, Release 12
    Note: 104698.1 - Setup & Usage (Oracle Alert)
    Note: 271367.1 - Oracle Alert Alert Check Setup Test
    Regards,
    Hussein

  • I am not getting clear alert from OEM 11g Grid, even after the issue solved

    I am not getting clear email alert from OEM 11g, even after the issue fixed.
    For eg: I got critical alert when I have shutdown the DB.But I didn't get clear alert even I have started my DB and is up running.
    I am getting only critical and warning alerts but not clear alerts from 11g Grid control.
    Please help me in troubleshooting the issue....
    Thanks in advance.............
    vgcrl

    Bullitt wrote:
    there email address is [email protected]
    Thank you... I will give that a go...
    Martin

  • Two part q: sysman login and clearing alerts

    Oracle 11.2.0.1.0 SE-One on OL 5.6 64bit
    Just got this configured a few days ago. Opened dbcontrol this morning and found a boat-load of messages about failed log on attempts (ie: 170 failed attempts in last 30 minutes) Checked DBA_AUDIT_LOG and see that the failed attempts are coming from SYSMAN. Followed note 259379.1 concerning changing the password for sysman - to a known value. Failed logon attempts continue (as shown in dba_audit_log).
    It seems that in 10.2 (I don't have one handy at the moment) dbcontrol had a facility to clear/acknowledge alerts, but I don't find that on the 11.2 console. ??
    What else might I need to do to to prevent the failed connections from SYSMAN?

    Loc Nhan wrote:
    >
    It seems that in 10.2 (I don't have one handy at the moment) dbcontrol had a facility to clear/acknowledge alerts, but I don't find that on the 11.2 console. ??
    >
    - From the console home page, click one of the alert messages; e.g. click "There have been 170 failed attempts in last 30 minutes".
    - The Failed Login Count: Time <date/time> page should appear with breadcrumbs similar to this:
    Database Instance: <Instance_name> > All Metrics > Failed Login Count >
    - Click "Failed Login Count" in the breadcrumbs. From the next page, you should be able to select (open) alerts to clear.
    >
    What else might I need to do to to prevent the failed connections from SYSMAN?
    >
    If there are UDMs (user-defined metrics) and/or jobs using sysman's credentials, make sure that they are not failing due to an invalid password.
    Regards,
    - LocWell, the plot thickens. Before starting up the dbconsole, I double-checked the config directories in $ORACLE_HOME, and find I have TWO configs for this one instance:
    drwxr-----  3 oracle oinstall  4096 Jul 20 15:18 mymachine.mydomain_orcl
    drwxr-----  3 oracle oinstall  4096 Aug  1 12:18 mymachine.mydomain_ORCLThe dbcontrol home page for this instance seems to indicate we are using the config in upper case - the "Database Instance:" in the upper right corner shows ORCL - in upper case.
    I'm not sure how I got here. In the past I've always created my dbcontrols at the command line, using emca, but for this one decided to try it dbca. I'll use emca to drop it, make sure everything is clean, and recreate.
    BTW, the error messages are not selectable -- that is, they are not live links and clicking on them does nothing.
    I"ll update after I've recreated the dbcontrol.

  • Swap Utilization is 100% - cant clear alert

    We have had the Swap Utilization is 100%, crossed warning (35) or critical ( ) threshold hanging around for a month now and I cant clear it.
    The server has been rebooted and there is no swapping.
    I found this http://www.ora-solutions.net/web/2010/11/12/grid-control-11g-agent-metric-swap-utilization-on-hp-ux-with-pseudo-swap/
    but its not for our platform nor our Grid Agent version!
    Any ideas please?
    Linux RHEL 5
    Oracle Enterprise Manager 10g Release 5 Grid Control     10.2.0.5.0

    If you find that Metric via the host that it is configured on, just clear the fields that are there for that metric.
    Then when you can see those alerts cleared, re-enter the values and carry on regardless.
    DA

  • How to create an alert in Oracle Applications

    Can anyone help me, I want to be able to create an alert (not email) that will pop up on the screen of Oracle Applications 11i
    to remind everyone to change the passwords in xx days. I know there are alerts that send email, but people hardly check their emails
    promptly in my organization so I wish to use forms to create an alert that will pop up on the screen.
    Thanks.

    I think there is some confusion here! The solution that has been outlined is the 'standard' way of achieving the result that a user has to change his/her password every xx days. BUT, this will only prompt them when they try to log in AFTER the xx days has expired.
    I think you are asking for a method of alerting the user xx days BEFORE the password is due to expire, like Windows for example.
    I am not an expert in technical changes to forms (e.g. forms personalisation), but I thought it might help if I clarified what I think you are asking. Others may have the actual answer!
    An alert would possibly achieve what you want, but consider this... if users don't read their emails, and they only log in occasionally, what use is alerting them on the system going to be? They will still only see the alert when they log in, and that may already be after the password has expired!
    If my interpretation is wrong, please update this thread so I don't confuse anybody.
    Regards
    Tim

  • How to send mail from UDM ALERT in Oracle 10 Grid control

    Hi,
    I have created a UDM alert in Grid control for a specific target which is sheduled to run every 15 Minutes.So if the sql query which will run for every 15 min returns any records then it will generate the alerts.*If there is any alerts thrown I should immediately send a mail from UDM .How to do this?*

    10.2 library
    http://download.oracle.com/docs/cd/B16240_01/welcome.html
    Administrator's Guide
    Chapter 4
    *T                                                                                                                                                                                                                                       

  • Applying/Clearing filters in Oracle SQL Developer

    Is there a way to temporarily clear the filter for Other Users (Schemas)/Tables/Views etc. in Oracle SQL Developer?
    I have a large number of Other Users and sometimes I want to see them all but usually I want a selected list. I don't want to have to recreate the list when reapplying the filter. I'm using Oracle SQL Developer version 3.2.20.09. Is there a either a way to save the filter specifications or just temporarily clear the filter?  If not, I think that would be a nice feature.
    Thanks

    No, you remove the filter and it's gone.
    Agreed, that would be a nice feature. Filters is an area I'd like to see improvement on in future releases, this is definitely on my list.

  • Alerts in Oracle 10g

    Please refer me any useful like/tut for creating Oracle Server genrated Alerts in 10g.
    Regards,
    Abbasi
    Edited by: Abbasi on Jul 1, 2010 1:51 PM

    if u cant access thru OEM use thi
    SQl>Begiin
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metric_id    =>DBMS_SERVER_ALERT.TABLESPACE_BYT_FREE,
    warning_operator   =>DBMS_SERVER_ALERT.OPERATOR_LE,
    warning_value    =>'10240',
    critical_operator   =>DBMS_SERVER_ALERT.OPERATOR_LE,
    critical_value    =>'2048',
    observation_period   =>1,
    consecutive_occurence   =>1,
    instance_name = NULL,
    object_type   =>DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name   =>users);
    End;Note:The warning_value attribute set the bytes remaining alert warning threshold at 10 MB and the crtical value attribute sets the crtical threshold at 2 MB
    Edited by: Suhail Faraaz on Jul 1, 2010 4:09 AM

  • How to clear alerts from icalendar

    I have two alerts that are showing up on my icalendar on my macbook pro. This alert is the same alert when your Apple devices show you have either missed a phone call/text/email. Does anyone know how to get rid of this?? Help!!

    Plase post questions like this in the Enterprise Manager.
    Alerts can be cleared by fixing the underlying cause (metric values that crosses thresholds setup). E.g. by adding space to a tablespace.

  • Event Alert in Oracle Application

    Hi all,
    Reqquirement-
    I am having one task custom form in that form we assign a task to our employee.when i assign a task on that form, mail alert should fire & mail should send to that employee.
    Query-
    When i save a record on my form alert get fired but not only mail goes to the employee which iave assign the task but also mail goes to the other employee
    who has already save in my table (already assign tasks).how can i over come this issue.
    Please guide me on this.
    Thanks & Regard
    Ashok

    Hi;
    Please see below notes which could be helpful for your issue:
    Control - Workflow: Setup [ID 113664.1]
    Oracle Workflow Best Practices Release 12 and Release 11i [ID 453137.1]
    Also see:
    Oracle Workflow Developer's Guide
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362168.htm
    Regard
    Helios

Maybe you are looking for

  • At the end of my tether with ADSL broadband! Advic...

    I have been experiencing problems with my ADSL broadband for a year. I am less than 1km from my BT exchange. I currently use an independent ISP (Zen) and my own modem (Billion BiPAC 7800N). Symptom 1: Intermittent audible noise on voice line which is

  • How do I set up my printer through an airport express?

    I have connected a printer via USB to my Airport Express 802.11n.  The module is responding fine and is visible on the AirPort Utility, but the printer is not showing up.  Must I have a computer connected to the module along with the printer in order

  • Payment Details of vendor

    Hi all Is there any standard transaction code where it will show the data for Vendor Bill no.& Net amount which is not appering in MRBR Layout Thanks in advance Regards Rajesh

  • In CS6.5- trying to use preview a draft in a browser?

    In CS6.5- trying to preview a draft in a browser, shows my global error page- I get "Error: The filename, directory name, or volume label syntax is incorrect" message from the server? There are about 1700 pages in the Website- 95% .CFM file types. I

  • Install photoshop cc in e:/

    Hello. I created a disc e: / in ram memory. I would like to install photoshop cc in this space for more responsiveness. how can i do?