Corrective action & preventive action

Dear Gurus;
I am working on a scenario where, after every 5 breakdowns in a month on a Equipment, system should prompt to create a corrective action report or preventive action report.
Or in second scenario, If the breakdown time for a equipment is more than 30 Hours in a month, system should prompt to create the corrective action or preventive action report.
How can I map this? Also where can I maintain the report?
Thanks & Regards
Hemant

ABAP development would be required for this and the logic may be as follows.
Run transaction MCJB for a particular period 9development) say monthly, which shows the no of breakdowns, breakdown duration & cumulative breakdown duration. If the nof breakdowns are more than or equal to 5 (or) if the break down duration is more than 30 hrs on that particular month, then a followup action for creating a notification or mail to the concerned using function module / work flow.
Trust this will help you while preparing a functional specs.
Regards
SRN

Similar Messages

  • Retrieve alert values for use as parameter in corrective action sql script

    I am trying to write a corrective action sql script to kill a session that is blocking other sessions. I have the "blocking session count" metric set and the alert is firing correctly.
    Is there any way to retrieve the sid and serial number from the alert generated and use it in a corrective action sql script?
    Here is the alert generated:
    Target Name=myproddb.world
    Target Type=Database Instance
    Host=myprodserver
    Metric=Blocking Session Count
    Blocking Session ID=SID: 522 Serial#: 5228
    Timestamp=Mar 4, 2008 5:57:12 PM EST
    Severity=Warning
    Message=Session 522 is blocking 1 other sessions
    Notification Rule Name=Testing Corrective actions
    Notification Rule Owner=sysman
    Clearly the sid, and serial # is contained within the alert Message field
    what I want to write for the sql script is :
    alter system kill session '%sid%,%serial_no%' immediate;
    and have GC pass in the sid and serial_no to the script.
    The "Target Properties" listed on the right of the Edit Corrective Action screen lists minimal details pertaining to the alert and certainly not the session sid, serial no.
    Generically, is there any way to retrieve the values from an alert and use them in a corrective action script or job?
    I've looked into getting the values from the mgmt$alert_history table, but I'm hoping that GC can pass the values to the sql script.
    thanks in advance for your help.

    Hi
    You can implementing a procedure like this.
    1. When a block session count alarms occurs, there is a column in the v$lock that you can examine.
    #!/bin/ksh
    #kill_block_session.sh
    #first export your variables
    export ORACLE_HOME=/oracle/product/10.2.0.3
    export ORACLE_SID=SIDNAME
    $ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF
    execute immediate killed_blocks;
    EOF
    # end
    The killed_blocks is a procedure:
    create procedure
    declare
    v_sid varchar2(15);
    v_serial varchar2(15);
    -- now a sql query that retrieve the sid and serial
    -- you can obtain these values from v$session and v$lock
    select vs.sid,vs.serial into v_sid,v_serial
    from v$session vs,v$lock vl
    where vs.sid=vl.sid
    and vl.block >0
    -- After this, you execute a dbms_put line with these
    -- values
    But you understant that this response action is very dangerous, because its possible that you kill sessions that the blocking are transitient.
    You must examine your enviroment and your application and establish the metric like UDM and not for only session blocking count.
    You must to see:
    - The type of block
    - The ctime time in the v$lock for to understatn the amount of time to determine that the block is need killed.
    - In my opinion you need a special UDM and deactivate the blocking sesion count
    If you want help to create this UDM send me a mail to [email protected]
    Regards
    Robert

  • Time Based Corrective Action-11g Grid Control

    I need a corrective action that is based on time. There are some databases that we take cold backup (we cannot convert to hot backup for reasons beyond our control). So the backup script
    shuts down the database
    mounts the database
    backup the database
    opens the database.
    For some reason, if the backup fails the database is left in mount state. I was trying to get a corrective action that will kick off at the MOUNTED state and open the database, only if the time is after 8 AM in the morning. I do not want the corrective action kicking off when RMAN is running at night for backup.
    I was trying out the PL/SQL code
    DECLARE
    local_date DATE;
    BEGIN
    SELECT SYSDATE INTO local_date FROM dual;
    IF local_date > trunc(sysdate)+9/24 THEN
    EXECUTE IMMEDIATE 'alter database open';
    END IF;
    END;
    This script runs once reports as successful. It may or may not open the database depending on the time. Depending on the time it will leave the database in OPEN or MOUNTED state. It does not run again.
    I needed it to run as follows:
    The backup fails at 6 AM in the morning,
    The script should keep checking the time and open the database only when it is 9 AM.
    Is there a way to do that, or am I going about in in a wrong way.
    Thanks in advance for your help,
    Radhak

    Got it to work by correcting the code

  • Corrective action not working in OEM

    Hi All,
    I am working on OEM 12c R1 Cloud Control. While going through the documents I came to know that we can set a corrective action against a metric and whenever that condition gets violated the corrective action is executed. Now I decided to configure a corrective action whenver my weblogic server goes down OEM will start the server. While creating the corrective action under the type of action which can be created I found *" WebLogic Control 7.x and 8.x"* Does it mean that this action will work only for weblogic server version 7.x and 8.x.? Will this can not be executed for weblogic server 10.x as I am using weblogic server 10.3.5 ? If not, then how can we create these kind of corrective actions for the weblogic server 10.3.5?
    Actually when I created a corrective action of type *"WebLogic Control 7.x and 8.x"*, and when my managed server went down OEM tried to execute the corrective action but it got an error with message *" Could not execute query: java.sql.SQLException: ORA-01403: no data found ORA-06512: at line 88"*
    Can anyone please tell me a work around!!
    Thanks in Advance!!

    Shyama
    Check the dynamic action how you queried
    on what action you ask dynamic action to fire
    If possible print the code here for faster response
    Best Regards

  • Problem scoring assessment with multiple correct actions

    I've created an assessment simulation in Captivate 4. On several slides, I have two click boxes set up to be the correct action. The user can click either one, receive credit for a correct response, and advance to the next slide. The problem is that the final scoring slide (and the data that gets passed onto the LMS) assigns two possible points to a slide like this (one for each of the two click boxes) instead of one. The result is that when the user clicks either of the two correct click boxes, it is scored as getting only 1 out of 2 points on that slide. Any ideas on how to make either click box count as a correct response, but not both of them count towards the total possible score? I have tried using Advanced Interactions to adjust the Points, Add to Total, Track Score and Report Answer settings, but haven't found a combination that works. Thanks in advance for any help you can provide!

    I don't get it. What is the significance of standby 1 and 2 VS standby 14 and 40? The only difference I noticed is the lower number of standby group goes with primry and higher goes with secondary.
    If possible, can you also try the same config you used before except swapping the group number?
    e.g.
    interface VLAN 32
    ip address 10.10.13.2 255.255.255.0 secondary
    ip address 10.10.32.2 255.255.248.0
    standby 40 ip 10.10.13.3
    standby 14 ip 10.10.32.3

  • Corrective actions setup problem

    Hi guys!
    I have problem with setup corrective action for listener avaliability when status is down and action doesnt work at all. I have create template Listener_stuff with metric trasholds for Response Time (msec) and Status is down. Other details for template are:
    Corrective Actions
    Critical LSNRCTL START LISTENER_TESTDB2
    Allow only one corrective action for this metric to run at any given time (checked)
    Advanced Threshold Settings
    Critical Threshold: Down
    Number of Occurrences: 1
    Collection Schedule: Every 1 Minute
    And corrective action details for listener are:
    Name: LSNRCTL START LISTENER_TESTDB2
    Description: lsnrctl start LISTENER_TESTDB2
    Target Type: Listener
    and *'OS Command' Corrective Action* details are:
    Command Type: Single Operation
    * Command: lsnrctl start LISTENER_TESTDB2
    I have saved credentials for that specific listener and host where listener resides. Also i have created notification rule when specific listener is down and that work ok.
    Other details are:
    Grid control OMS is version 10.2.0.3 , and agent version on test host is 10.2.0.4.
    Host has Red Hat Linux EL 4 OS
    Please help me with this, or send me some links with more detailed corrective action examples.....
    Thank you!
    Edited by: rootsman on Jan 11, 2012 1:21 AM

    And this is what i receive related to corrective action job:
    Corrective Action=LSNRCTL START LISTENER_TESTDB2
    Created By=SYSMAN
    Task Type=Host Command
    Target Name=LISTENER_TESTDB2_testdb.domain.com
    Target Type=Listener
    Timestamp=Jan 11, 2012 12:52:30 PM CET
    Status=Failed
    Metric=Status
    Metric Value=0
    Severity=Critical
    Rule Name=Listener_test
    Rule Owner=TEST
    Step Output=
    Command:Output Log
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 11-JAN-2012 12:52:29
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Starting /db/agent10g/bin/tnslsnr: please wait...
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Linux Error: 2: No such file or directory
    ~~~End Step Output/Error Log~~~

  • Corrective Action on Agent Unreachable?

    Let me first explain exactly what I am looking to do. My current setup is a repeating job that recreates connections (tunnels) to the agent boxes every 15 minutes to ensure that connections stay up. This can get hung up and drag the network down. Ideally, I would like to setup an automated system to correct the issues. If an Agent becomes unreachable, I want to initiate a corrective action that will try to recreate the connection. I was told that the corrective action would be run ON THE AGENT, which would inevitably fail if there was no connection. So a 2nd task would be added to the corrective action in response to the first failed task, that would run the connection scripts on the OEM box and re-establish connection. If that fails as well, then I would like a notification to be sent out (incident rules typically).
    That is my ideal set up. Here are the issues I am running into. The first is that the Agent Unreachable does not seem to be an editable metric. It is listed as a metric called Response > Status, under All Metrics. However, under Metric settings, it can not be edited, and thus, I do not see a way to tie a corrective action to this metric. Once I do tie the corrective action to this metric, do I need to set up a job to run in the corrective action or is the corrective action basically a job that runs in response to an event? That is how I understood it...just looking for verification. It would be greatly appreciated if I could be pointed in the correct direction.

    I'm not sure you can do this through a metric alert corrective action, but it sounds like a great enhancement request. You didn't mention the EM version that you're using, but if you're on EM12c you can implement something like this through an advanced notification method. There's more than one way to do it but here's what I just tested and confirmed will work:
    1) Generate an ssh key for the oracle user running the OMS, and save the key with no password
    2) Copy the generated public key to $HOME/.ssh/authorized_keys for the user running the agent on the host where you would like to restart the agent
    3) Create a shell script owned by the OMS oracle user that contains the line "ssh [email protected] /pathtoagent/bin/emctl start agent"
    4) Log in to EM12c as user SYSMAN and create an advanced notification method that calls the shell script created in step 3
    5) Create an incident ruleset applying to the agent target
    6) Create an rule in the ruleset that applies to incoming incidents where Category = Availability and Severity = Critical
    7) Create an action for that rule that calls the advanced notification method from step 4
    Then stop the agent to test it. Once the incident is generated, the notification method will run, ssh from the OMS host to the agent host, and start up the agent again.
    It doesn't look like you can pass parameters to the notification methods, so you may need to create a separate notification method and separate shell script for every agent you monitor.
    You could probably also do this through an SNMP trap advanced notification if you have other management software on your network that could catch the trap and respond to it appropriately.
    But for me the real question would be: why are your agents going unreachable so often that you need to bother with this?

  • Corrective Actions Not Display in 8D Report

    Hi Friends ,
    I have the requirement regarding displaying the Corrective Action in 8D Report .
    I have made the Z Script.
    but only Correction task is getting displayed and not Corrective Actions.
    Even in Standard 8D Report Corrective Actions  doesnt get displayed .
    Kindly Suggest me with the solution .
    Thanks in Advance
    Regards,
    Sonal

    Solved

  • My iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display :( please advise me a corrective action...

    my iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display please advise me a corrective action...

    Take it to an Apple Store and see about getting an out of warranty replacement. I believe it will run you about $150.

  • BAPI: Create Corrective actions in audit management

    Hi Experts,
    My requirement is ti create corrective actions for audit questions, I have chosen  BAPI_BUS20370_CREATE, please let me know necessary inputs to create.
    Also please let me know if any other options if available.
    thanks in advance.
    Regards
    goudham

    sorry i came back to sdn after smtime ... anyways , points rewarded and iam faced by another prob.
    I've understood that in case we simply need the print for e.g. of a service order we do not need a date profile or even a condition, we simply use the SMART FORMS PRINT action definition.
    but i've tried using trigger alert, smart form prints, method calls with and without conditions and yet it doesn't help (we're not using workflow and the conditions i used were sytax error free) ... what can be the reason for not triggering any action, do we need workflow for triggering alerts/smart form mail etc.... kindly help again.
    Regards,
    Jacob

  • Define Corrective Actions based on URL

    Hello,
    I'm new to using 10gR3 Grid control -
    Is there a way of defining a corrective action based on the success of a URL - so if a URL fails with say a 404 error or times out, an OS script can be run.
    I can only find ways of assigning corrective actions with pre-defined alert metrics.
    Thanks for any help

    At the risk of repeat-posting, I'll clarify. Say I create a file named routing.xml which defines some routes like this:
    <routing-config>
      <route>
        <name>Standard rule</name>
        <description>
          This route maps the first two parts in the path with the module and action
        </description>
        <url-pattern>/:module/:action.do</url-pattern>
      </route>
      <route>
        <name>Default Index</name>
        <description>
          Allows the module to be specified without the action for "Index" actions.
        </description>
        <url-pattern>/:module.do</url-pattern>
        <request-parameters>
          <parameter key="action" value="Index" />
        </request-parameters>
      </route>
      <route>
        <name>Homepage</name>
        <description>
          Loads the Home page
        </description>
        <url-pattern>/</url-pattern>
        <request-parameters>
          <parameter key="module" value="Home" />
          <parameter key="action" value="Index" />
        </request-parameters>
      </route>
    </routing-config>The bits like ":module" which be represented by the actual name of the module in the URL. Does anyone know if something like this already exists? :)
    I wrote this exact same thing in PHP5 just a few weeks ago but I really don't have the motivation to write it all over again in Java :P On a side-note, things like this usually come with helpers for turning unclean URIs into clean URIs.

  • Issue with Corrective Action Deletion Log

    Hi
    I am working on Corrective Actions of Audit Management. Whenever a Corrective Action is deleted, none of the related tables stores the deleted information. You can not retrieve historical data from tables once a corrective action is deleted. Unlike some other activities, there is no deletion flag set. Instead the record is removed from all the related tables. Is there any other way to retrieve the deleted records information from tables?
    Thanks and Regards
    Murali

    Hi,
    Better you can manage archival & deletion of audit components using some preprocessing programs
    For instance PLM_AUDIT_ARC_AUD_DELETE.This will give you the detailed log.
    Please check SARA transaction for the set up.
    REgards
    Keerthi

  • OS UDM's and Corrective action Script at a central Location

    Is that we can place the OS UDM's and Corrective action Script are to be placed at Target server side or can we place these scripts at a central location say on OMS/ OMR server and trigger from here. As if we change a particular script we need to propagate particular script to all location. Instead if we keep these at a central place we can replace that particular script at a single location.
    Please advise.
    Thanks.

    When creating an UDM, you need to create this for a specific Target like a database instance or host
    This means, when you want to create a SQL based UDM, you first need to select a database in OEM and next select the User Defined Metrics link that will allow you to create the UDM.
    After finishing the creation of a UDM, the UDM will be "owned" by the database you selected in OEM.
    This means, when having 50 databases, you are able to create several UDM's spread over all of these databases. This is a situations you don't want to get into. You most probably will want to reuse UDM on several or even all databases.
    To avoid UDM getting duplicated, being spread all over the pace you actually need a "library" where you would be able to locate the UDM's.
    Unfortunately there is not such a library in OEM. However if you decide to choose one of your databases for playing the role of a "library" at least you found a way to centrally locate all your UDM's.
    If you then want to apply one or more UDM's to several database you could create a monitoring template, include the UDM's you want to reuse on other databases and apply this template.

  • 12c corrective actions

    Hi all,
    Am studying the document http://docs.oracle.com/cd/E24628_01/doc.121/e24473/jobs.htm for setting up automatic corrective actions for common alerts.
    Has anyone did setup for automatic corrective actions for archive area warning/critical? Means if archive area cross threshold value autmatically a archive backup has to run.
    Thanks,
    Baskar.l

    Yes, for several years i ran CA for archive, tablespace and many other alerts. I would recommend writing the script/job and testing thoroughly on a sample instance, and then implementing that script in a template. The preferred credentials must be set and the user who applies the template must have the correct credentials or it will appear in Broken Jobs. Make sure output/log is collected, status is transferred back to OEM, and then set the correct notifications for CA status so you know if it succeeded or not. Typically we ran the CA at Warning, and ticketed/paged at Critical. You can still set the CA at Critical, but you will want to have someone look into it at that time as well. The reason for this is that if it jumps from Clear to Critical, it will never run the job, and that may be all you needed. Once the job runs, the DBA can just monitor the backup. If it just hits Warning, the job runs, and if all goes well, the alert will clear. DBA doesn't have to do anything. In notification rules, you can set Notifications for CA status success/fail. I would suggest watching this as well.
    Another key piece, at least in 10/11, you can store your CA in the CA Library, but any changes will need to be made in the template and applied to all targets again. Changing in the CA Library will NOT reflect on the target.
    Hope that helps.

  • CAR(corrective action request)

    HI guru's
    Is't possible to create CAR number from QM module or QM notification
    One of the requirement is, they want to create CAR(corrective action request)
    i am tryingto create Q3/F3 notification number is a CAR number
    but the thing is some time if the problem arise from customer /vendor also possible
    how can I fulfill this req.
    If anybody knows plz tell me
    thanks

    Rajesh
    thanks for your response
    Can you tell me which function module you are using for this(action box)
    is't possible to create CAR number from notification
    plz guide me in detail
    thanks

Maybe you are looking for

  • A suggestion for iTunes Store

    With the new policy of offering higher quality music (sans DRM), it might be neat to have a side by side free download of the same song, or songs, using the two different encoding processes. That way users could hear the difference and might be spurr

  • CTIOS AGENT DESKTOP ERROR

    Hi, We are receiving the error "calls has failed because resources not availble.Please wait a moment and try again" in the agent desktop as CTI warnings. How to solve this issue. Regards krishna.

  • .Mac Auto Syncing of iDisk hindering Restarts/Shut Downs on new Intel iMac?

    I have been experiencing a Restart/Shut Down reliability issue with my new iMac and Leopard 10.5.1. This evening an Apple rep I know pointed me to a work-around in Apple Discussions: http://discussions.apple.com/thread.jspa?messageID=5957261&#5957261

  • How to restrict some values in the final report output.

    Hi Experts, I have scenario where I dont want to include the values in the output of report. If you observe above there are some un assigned cost elements and its the report output. I dont want these to be in the report. Please suggest me. Thanks, Ra

  • Delete/Remove unwanted scanners in "Image Acquire"

    If you have the Mustek ScanExpress USB 1200 Pro - then you probably have installede the "Image Acquire"-software...and in that case - maybe it annoyes you that there is other scanners in the drop-down-menu for choosing scanner... It can be a bit hard