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.

Similar Messages

  • In Trying to convert my flash movie to the latest Flash format and from action script 2 to 3

    In Trying to convert my flash movie to the latest Flash format and from action script 2 to 3 I get this error message Scene 1, Layer 'Layer 3', Frame 1, Line 2, Column 7
    1119: Access of possibly undefined property showMenu through a reference with static type Class. This is the debug scrip this.loadVariables("_urls.txt") Stage.showMenu=false; stop(); I don't know how to fix this. Can any one Help. The movie loads to 99% then stops and reloads again. over and over again.

    Stage is a protected keyword in AS3 and it has no property showMenu
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Stage.htm l

  • OEM12c Job - Run a SQL Script from a central location against multiple targets

    Hi All:
    I need to execute a SQL script that can be run as OEM Job against multiple targets from a single location so that the output csv files are all in that central location. My problem is that the sql script job documentation says "Make sure that the script file is installed in the appropriate location on all targets". Is anyone aware of a way I can do this so that the SQl script is executed from a location on my OMS console?
    Cheers

    Hi
    Create SQL job to run against on the server. Save those results (csv) file in local target. And crete one OS job, to collect all csv files into your OMS Console.
    Regards
    Krishnan

  • XML and/or Action Script

    i'm creating a photogallery which has 10 photos viewed
    through XML. I've got next and previous buttons aswell. How can I
    do to detect if its on the 10th photo the next button disappears
    and if its viewing the first button the previous button disappears?
    help pls help! 10x

    I assume you are building an array containing the photos that
    are on the XML file, withit you also know the length of the array,
    or even the length of the items on your XML, so you just need to
    create a simple if/else statement.. be aware that you also need to
    check how many times a user has clicked each button.. sounds
    complex but it isn't.. I think I can get you a piece of code soon..

  • 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

  • I am trying to reinstall Flash CS4 professional as the action script is not working but now I am getting an error: 2 message when I use the original CD to try and reinstall

    I can't get the original disk to work on a reinstall.  I get the message
    AdobeColorCommonSetRGB
    Error:
    Error 2.
    I teach a class using this program on Macintosh computers running 10.9.5 and the action script is not working.  It will work on any program designed using the 10.8 but if you design any animation on 10.9.5 the action script will not work for the buttons

    You would have to manually delete the color profiles in question... Run the cleaner tool and see if it gets you started.
    http://www.adobe.com/support/contact/cscleanertool.html
    Mylenium

  • Action script 3 and adding code to buttons

    When I open a new doc and selct action script 3 it won't
    allow me to insert code by selcting the button on the stage. It
    does if I select action script 2. All my old pages update ok but if
    I make new buttons it wont take the code. CAn someone tell me what
    is going on???
    Thanks a lot

    If your in a bind at the moment, I would suggest not
    attempting to learn AS3. The system is very different, good, but
    different, the syntax structure is much more strict and most things
    have been revised to use a listener/broadcaster (or event
    dispatcher) model, as well as most coding being class oriented,
    additionally the graphic display structure is quite different.
    Now did you change your publish settings back to AS2? If so,
    you should still be able to apply the above code to a button
    instance. However, as Dave stated, even in AS2 the code is best
    used from the timeline, to do so with the code above (which the on
    handler above is meant for Object attachment) you need to write it
    like this:
    my_btn.onPress = function() {
    _root.loadMovie("graphic_arts/graphic_arts.swf");
    I would also consider using a MovieClipLoader and the
    loadClip method forloading swf files, as it gives you more control
    over the load targeting, progress reporting, and event
    notifications.
    All this said, to use a button and load a file in AS3, you
    need to add an event listener to the button instance and construct
    a responding function to the event, in this case the loading of a
    swf file. Additionally, in AS3 the MovieClipLoader class, as well
    as the loadMovie methods have been replaced by the Loader classes
    and must be used to load swf files. So construct a button in AS3
    you must write something like the following:

  • How do I Action Script buttons, so the objects lay on the prior object clicked on, in Flash?

    Here's my idea but having problems with the actions scripting:
    Accessories and build your car application in Flash.
    I'm new to the Action Script 3 and I am trying to Action Script my custom graphics for a “build your own car”. Something similar to the Harley Davidson motorcycle builder https://www.harley-davidson.com/en_US/Content/Pages/H-D1/Bike-Builder.html#/locale__en_US/ model__FLD/year__2013
    I have all the graphics (multiple photos, photoshopped and cut out for the different car body colors. I'm doing the same with the car rim choices, etc) All the graphics are sized so they will lay on top of one another seamlessly but I don't know how to Action Script 3 the buttons so you can click on (ex: rim1, or rim2 , etc and see how it looks on car by pulling up the photo on top of the existing background car photo) .
    How would I Action Scrip my "color button" to come up with 10 color swatches I’ve designed and then when you click on the color swatch (ex: red). It will then put the graphic red of the car body that I have already made on top of the existing background photo of the car and so on for each color button?
    Thanks for the help in advance!

    I'm not sure if I do know how to correctly create the Wheels classes and use action scripting. Are the classes you're referring to the parts I labeled btn1, btn2 below? Here's what I have under the main Timeline labeled actions:
    stop() ;
    // Color button code //
    colorbtn.addEventListener(MouseEvent.CLICK, btn1);
    function btn1 (event:MouseEvent) :void{
        gotoAndStop (2);
    // Rims button code //
    rimsbtn.addEventListener(MouseEvent.CLICK, btn2);
    function btn2 (event:MouseEvent) :void{
        gotoAndStop (3);
    //rim1 button code //
    rim1.addEventListener(MouseEvent.CLICK, btn3);
    function btn3 (event:MouseEvent) :void{
        gotoAndStop (4);
    I'm not sure how to fit your code in that you said in your first comment. The //rim1 button code // doesn't currently work.
    I think if I had a sequence of the action script 3 with a button/movie clip layed out for me, I could organize accordingly for my buttons and movie clips. Since they would work the same just would have to have different labels.

  • Controlling Corrective Actions from Cloud Control 12c

    Hi Experts
    we have setup corrective actions on some process that runs on our host
    is there a way we can control the corrective action when in case or maintenance...
    Example: if the host is down for maintenence prupose how can we stop corrective actions script to kick off and stop sending notification from the cloud control 12c.
    Thanks
    Edited by: TechAdmin on Nov 12, 2012 9:32 AM

    Blackouts can be used to disable collections during maintenance cycles.
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/emctl.htm#BABHFDII

  • 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~~~

  • Action script error on a button

    I have added following code on a button, btn_lab5, but I get
    an error msg ,"Must appear within on handler". Thanks in advance!!!
    btn_lab5.onRelease=function(){
    gotoAndStop("intro", 1);
    Thanks in advance!!!

    No, I don't have button within a button. But, Thanks for your
    input.
    Fortunately, I have found the solution by changing few things
    around. Here is what I was trying to do..
    1. Four buttons were placed on the same time line 15 frames
    apart.
    2. Added action script at each button and also tried adding
    seperate layer for action script but when I ran my movie same
    script played for every button.
    Finally, got frustrated and placed all the buttons at the
    same point in timeline and added action script by adding another
    layer.Visually I am not getting the desired result with buttons but
    code is working. I would really love to have buttons appear
    gradually on the screen. Let me know if any one of has any thoughts
    to share....
    Thanks a lot!!!!

  • Cs5 on a new pc transferring actions/scripts/pre-sets etc?

    I have just upgraded computers and re-installed CS5 on it.
    Is it possible to cut and paste actions/scripts/pre-sets etc from old pc to new one.
    If so how/where would I find them?
    Thank you
    Tim

    each program has its own location for its settings.  eg, ps:  http://helpx.adobe.com/photoshop/kb/preference-file-functions-names-locations.html

  • Action Script?

    Hi All,
    I have create a Application for transaction VA01. Can anybody tell me how to write Action script ?
    Please Help. ASAP.

    Hi,
    Transaction code for action script is WDK_APPL_REG
    1) There you need to register your Variant transaction and specify your floor plan
    either QAF or GAF or OIF in Applications.
    2) You have to spcify your different Floor Plan States like INI, S01, S01, CFN etc.
    3) For Floorplan states you should assign dynpro assignment ( i.e., Program name and screen number ).
    4) And u need to assign actions for every state.
    5) Next go to Script definition and assign action script and u need to record va01 transaction with SHDB, and submit program, dynpro, bdc filed value in batchinput data.
    6) If u want to raise any messages, click on Message Mapping and submit message name and number.
    Finally you need to save your action script.
    Best Regards,
    Vara Prasad.

  • Action Script 3 code not working for start and stop button?

    Ok so I have this simple animation I created of a circle that moves from one side of the stage to the other. I have added a new layer and called it buttons. On this layer I have added 2 buttons. One for start and another one for stop. The purpose is to get my circle to move from one side of the stage to the other but be able to use my buttons so that I can start and stop the animations at random times during playback. I fixed all my compiler errors now the problem lies in that everytime I click the start or the stop button I get an output error. I have a 3rd layer in which is titled actions and this is where all my code is posted. I removed that layer and placed my code in the first frame of the buttons layer to see if this would change anything but I still get the same output errors. So I just added back my actions layer. What could I be doing wrong? I have made sure to name all my movie clips and buttons correctly and I even added an instance name to them.
    Here is my code and the errors I am getting when I press the play and stop button on test-
    start_btn.addEventListener(MouseEvent.CLICK, startCircle);
    stop_btn.addEventListener(MouseEvent.CLICK, stopCircle);
    function startCircle(e:MouseEvent):void{
        circle.play();
    function stopCircle(e:MouseEvent):void{
        circle.stop();
    green_btn.addEventListener(MouseEvent.CLICK, greenCircle);
    red_btn.addEventListener(MouseEvent.CLICK, redCircle);
    function greenCircle(e:MouseEvent):void{
        circle.play();
    function redCircle(e:MouseEvent):void{
        circle.stop();
    Here are my output errors-
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at exercise2_fla::MainTimeline/redCircle()
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at exercise2_fla::MainTimeline/greenCircle()

    ok so my circle is my movie clip and it is titled circle and the instance name is circle. Am I supposed to change MovieClip to circle? I put the code at the top of my actions script but for some reason it did not work. I did change play to stop and it got the movie clip to stop when I do test movie but my buttons still do not work. So I changed stop back to play. Strange.
    I did try changing MovieClip to circle but that did not work so I did Circle with a capital C and that did me no good eigther.
    I meant to add that I did get an error that said- 1180 Call to a possibly undefined method circle.

  • Flex with any ORM - Writing Model classes and action scripts redundant?

    Hi,
    I am using Hibernate with Flex. I have all my model classes
    as POJOs. Now if i have to access these POJOs directly from flex, I
    need to write action script reference classes for all my POJO model
    classes. Since mapping POJOs with action script reference classes
    is so mechanical, i am wondering if there is any tool to read all
    the properties from the POJO's and convert them to action script
    reference classes automatically. Is there any way that this can be
    automated?
    Thanks in advance.
    Chandu.

    If you use Granite Data Services, there's something called
    "gas3" (I think is the name). You may be able to use it even if you
    don't use Granite.
    I didn't care for learning how to use it (plus it uses
    Groovy, more needless stuff to learn I guess), so I can't say how
    well it works. I just wanted a simple custom ant task that
    generates ActionScript classes for my Java classes. So I ended up
    making my own. It's definitely not trivial but it's not that hard
    if you're very good with Java and reflection.

Maybe you are looking for

  • Javascript or applet dropdown menus won't work in IE6, How can I solve this

    I've made some dropdownmenu's of javascript and one of java applets. But they don't work in IE6. If IE6 is installed they won't work either. My friend has IE5.5 and he has no problems with the menus. How can you make them work. And how can you change

  • Filter call and sms

    hello. I want to block only calls they receive. I do not want to be locked and SMS. because when receiving messages from phone operator, software block my message. I want to restrict only private numbers. How can I do this?

  • Inconsistent Results ... Urgent Please

    Greetings guru`s !!! I query a Database ( Oracle 7.6. ) using Tomcat thru JDBC with JDK 1.4. ( SO, how do I know my JDBC version ? ) I can sucessfully retrieve the Results. Problem is, the results returned are NOT consistent. As in, for certain (lot_

  • How to get triggering sql text in a statement trigger

    hi, I need to get sql text that run on the table in statement trigger on that table. I will log sql statements that run on table for a few weeks. I search for it, there is a ORA_SQL_TEXT function but this function is working on event triggers not sta

  • How do I get closed captions to play when exported, nothing is working (embedding, side files etc)

    I can't seem to get my closed caption track to play when exported, since my film is in german it is completely essential, none of the side files work with quicktime or vlc and neither does embedding it