Using probe action module after Healthy Detectors

Hi
I want to run a Power-shell script after Condition Detector for Healthy, Warning or Critical States. Is it possible to use a probe action module
after my Healthy Detectors? 
Actually when I use Probe Action for this purpose, the script runs properly but state changing happens after 3 or 4 intervals and I get this error
in event viewer even if I don't have any state changing :
Event ID:5500
"Frequent state change requests caused the incoming state change request to be dropped due to it being older than the currently recorded state
change for this monitor. This could also be due to an invalid configuration for this monitor.   Affected monitor:   Instance: All Management Servers Resource Pool Watcher  Instance ID: 5A93A06F-1018-16F9-D0F6-8F25180020E0  Management Group:
SCOM2-Test  Request generated time: 2014-08-12T15:23:33.7119190+04:30  Requested state: Success  Recorded time: 2014-08-12T15:23:35.2620741+04:30  Recorded state Success"
My Regular Detection for example for warning state is like this:
<RegularDetection MonitorTypeStateID="Warning">
   <Node ID="FinalScript"> 
      <Node ID="WarningDetector">
         <Node ID="MyQuery">
         </Node>
      </Node>
   </Node>
</RegularDetection>                        
What's the problem with monitor's changing states?
Thanks
Alireza

Consider using a script in your notification workflow, maybe as a command channel script or in a connected processing system like Orchestrator. This way you can query alert history to understand lifecycle, and formulate some sort of "closed alert description"
in your notification based on that.
Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

Similar Messages

  • After I use the Develop module in LR4 I edit in PS-CS4, now the develop changes do not show in CS4.

    After I use the Develop module in LR4 I edit in PS-CS4, now the develop module changes do not show in CS4.

    You need to send the file over to CS4 as a PSD (with Lightroom Adjustments checked)
    CS4 cannot interpret the newer processing version used by Lightroom 4

  • How to log the exception using Log action in Oracle Service Bus

    Hi,
    Whenever an exception is raised how to log the exception using Log action in oracle service bus.After logging where I have to find the logged message.

    It would be in the log file for the managed server which ran the request. If you are logging the message at a lower level than your app server, however, you won't see it. You should be logging the exception at Error level.

  • I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    If you are using Apple's Mail app 6.5 is the latest version irrespective of what a previous poster says. It does sound though that you are using a gmail account online via a web browser. Please confirm and fill in missing information.

  • Blue screen when using 2 memory modules !!

    Hi,
    When I use two memory modules (installed on bank 1 and 2), windows xp fails to install randomly (sometimes at the beginning, sometimes even after a rebooting...) and generates a blue screen of death... !
    However, they are correctly visible at boot time.
    But when I use only one module, it works fine (I tried with the first and the second module separately). These modules are strictly the same.
    What should I do now ?
    Just a remark : my FSB is at 100 Mhz. Is it normal ? (newbie question)
    Thanks
    David
    Here is my configuration :
    Athlon XP 2600+
    2x512 Mb DDR PC2700 (MDT)
    120 Gb UDMA6 IDE master on IDE1
    80 Gb UDMA5 IDE slave on IDE1
    DVD UDMA2 IDE master on IDE2
    Firewire disabled
    RAID activated (but not used so far)
    LAN and Audio enabled

    I think 300 watts is a way too SMALL for what your trying to run.  Check your label on the power supply and see what your 3.3 volt and 5 volt supply amperage is.  Anything less than 200 watts combined or about 28amps on 3.3 and 35 amps on the 5volt is going to give you grief.  You need a bigger power supply.  Recommend Antec or Enermax as the solution.  Antec SL350 or higher.
    Newegg has good prices and great service
    Antec Power Supplies

  • I used to use PS "actions" are they in PSE 8 for Mac?

    I have been using an old version of Photoshop for Mac. Under  the Windows heading there was an Actions option where I could "record" some actions to edit photos and the"play" it to perfrom the same actions on different photos.
    In PSE 8 for Mac I see that under Guided Edit there is an Action player with 4 presets, none of which suit my purposes. It says that I can add (from where I don't know) or create my own actions sets by referring to the Help menu. When I search the help menu for " Create Action set" I get 15 topics and none of them seem to be about creating actions sets.
    I'd like to be able to record a set of acttions such as OPEN FILE- SIZE IMAGE-UNSHARP MASK-SAVE-CLOSE- and then play it back.
    Help appreciated.
    thanks,
    Rob

    When you save an action from photoshop 7, you should be able to
    choose the place for saving (i.e. desktop).
    The default place for saving actions is very often in the ps7 application folders.
    Something like: Applications>Photoshop 7>Presets>Photoshop Actions.
    As far as what actions from ps7 work in pse8, try to record steps in your
    action that are available in pse8. Something like unsharp mask will work,
    but not a command such as convert to cmyk. There are alot of commands
    that are not on the pse8 menus that do work such as a layer mask or trim.
    It would be good idea to test your actions in pse8, before installing a whole bunch and
    finding that half of them don't work.
    You could make test action for this purpose. In ps7, record an action
    such as Image>Trim.
    Name this action set Test (you can name the actual actions anything you want)
    and put it in your pse8 photo creations>photo effects folder.
    Then delete (move to your desktop) the MediaDatabase.db3 and start pse7
    (this will take a while to rebuild the effects panel).
    The Test action should be visable in the effects panel after selecting
    photo effects and show all. It wiil just be a black thumbnail named Test.
    From now on when you want to test an action, just replace the Test action
    with another action named Test, but with the action steps your testing
    and no need to delete any files (database).
    By testing your actions in this way, you avoid the hassle of making a
    xml file and a png thumbnail for an action that may not work.
    When installing actions that have been tested, you also need a xml file
    and a png thumbnail file in addition to the action. (look at xml and png
    files already in the photo effects folder for examples).
    You don't have worry about the jpeg files, as elements generates these itself.
    It's a good idea to delete (move to desktop) the the MediaDatabase.db3
    and the ThumbDatabase.db3 anytime you install actions other than the Test action.
    After you start pse8 and everything works, you can delete those files from your desktop.
    There is also an action player in pse8 under guided edit>automated actions.
    As tempting as it may be to test actions with the actions player, i would avoid that.
    One very good reason is that some of commands that are in pse8 don't work with
    the actions player, for example, any of the transform commands.
    In addition to texaschicksblog mentioned above, you may also want to read this pdf:
    http://www.camner.net/files/actions_in_PSE_8_for_mac.pdf
    Hope some of this helps.
    MTSTUNER

  • Info group being not called while using Dynamic Actions

    Hi,
    I am facing a scenario that, while we execute some action from PA40 like termination, then it will call my subroutine for dynamic actions which will be calculating the last day worked and updating the same in Info Type 0041.
    For updating the IT 0041, i am using the function module HR_MAINTAIN_MASTERDATA. and IT0041 is getting updated properly. But now the problem is coming that when the control comes out of subroutine, it is going back to the PA40 Screen and not to the next screen of the Info group.
    What can be the cause for the same.
    RND I have done on my part: I have commented/uncommented the return parametre RP50D-Date1, commented/uncomented the use of function modules to lock and Unlock the pernr.
    Please give ur comments.
    Thanks in Advance.

    Hi Nisha,
    Not sure if I have understood correctly, but if you just wanted to calculate leaving date and write the same date in IT0041 then you don't need a function module:
    1. Create a small program, as follows:
    REPORT  ZHR_PY_R0008                           .
    INCLUDE MPPDAT00.
    TYPE-POOLS HRQTA.
    TABLES: P0000,
            RP50D,
            T001P.
    ROUTINE CALLED BY TABLE T588Z
    FORM CHANGE_DATE.
      RP50D-DATE1 = P0000-BEGDA - 1 .
    ENDFORM.                    " CHANGE_DATE
    This program will give you the last working day written to RP50D-DATE1
    2. Simply enter the following lines into table T588Z:
    0000 04 499*- LEAVING ACTION - Populate Infotypes with leave date -*
    0000 04 500 P T001P-MOLGA='08'
    0000 04 501 P PSPAR-TCLAS='A'
    0000 04 502 P PSPAR-MASSN='*'/X   (* equals your leaving action types)
    0000 04 503 P PSPAR-MASSN='*'/X   (* equals your leaving action types)
    0000 04 504 F CHANGE_DATE(ZHR_PY_R0008)
    0000 04 505 ******** INF.0041  ********
    0000 04 506 I COP,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D
    0000 04 507 W P0041-DAR07='*'   (* equals your date type)
    0000 04 508 W P0041-DAT07=RP50D-DATE1
    or if you are simply looking to delimit IT0041 with the leave date then replace lines 506-508 with:
    0000 04 506 I MOD,0041,,,(RP50D-DATE1),(RP50D-DATE1)/D
    0000 04 507W     P0041-ENDDA=RP50D-DATE1
    This will solve your problem : - )

  • How to use same actions for differ pop-up buttons

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi ,
    u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
    regards
    Yash

  • How to use "Insert action"

    Hi, experts:
      I am facing one problem.
      I try to use system action "insert action" to insert a new row into table view from a form view,
      I have assign "To" to the target table in the Insert action properties.
      When test program, table view did add a new row after click insert button in the form view, but all cell value are blank.
      Any hints would be very appreciate.
      Thanks.
      Best regards,
      Nick.

    Hi Nick,
    I think you are trying to use the fields on the From View to insert the rows with those values in the table View using the 'INSERT' action. You have also configured the 'TO' field of the 'INSERT' action to point to your Target Table View.
    By default the INSERT Action will insert a blank row. In order to populate the values in the table, do the following:
    1.Right Click your Target Table View.
    2. Select 'Define Data'
    3. For each field in the table set the default value to the corresponding field from the source 'Form view'
                 For doing this Double Click the 'fx' button in the Default Value column
                 Open 'Data Fields'
                 Open Your Source Form view
                 Double Click the required field
                 Clcik Ok
    3. Save, Compile and Deploy the Application
    Regards,
    Ajay

  • How to use the text module in script

    hi,
            i script how to use the text modules and how to write the code  in layout of the script?

    Hi,
    You canr use text modules in script. You have to use standard texts .
    Standard text are maintained in SO10 transaction.
    you can create translation text for other languages also . So based on logon language it will print translation text.
    go to SO10
    give textname it say Ztextname  id as ST and language as EN
    say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.
    so now you have created a text called ztextname which you can use in your script.
    Inorder to insert the texts in your script do as below
    go to any window editor and   select path
    Insert->texts->symbols->standard symbols
    then you will get popup  in which you have to mention all the parameters that you have created earlier.
    after inserting just change language EN to sy-langu
    Reward points if useful
    About text elements Sravan already given some informatiomn
    Regards,
    Nageswar

  • Issue with use of Function Module GUI_UPLOAD

    Hi Experts,
    I have an issue in using the Function Module GUI_UPLOAD for uploading the contents of an Excel file on the Presentation Server to an internal table in an ABAP Program.
    My file consists of around 300 records but the FM succeeds in uploading only the first 6 lines to the Internal Table specified while calling the FM.
    I dont have any idea why this happens. Any pointers in this direction will be helpful.
    Thanks in advance.
    Regards,
    Keerthi

    Hi,
    Kindly go through this link below:
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=60655105
    Hope it helps you
    Regards
    Mansi

  • How to Send Notification to Manager of the Employee using Dynamic Action..

    Hi All,
    I am sending a notification using the Dynamic Action for an Infotype.. I am able to send mail using distribution list but I have a requirement to send the notification to employee manager. I am able to determine the Line Manager ID calling the subroutine in the dynamic action. But I am not sure how to send the notification to the manager.
    If the email's are maintained in distribution list if I specify the text id in the feature M0001 and distribution list the notifications are sent. I am not sure how to pass the line manager id to get the same notification..
    I have seen the option REC1 but infotype 0001 in not having the line manager id..

    Used the Function Module RH_GET_LEADING_POSITION.
    Thanks..

  • About creating an AJAX page with DML procedures  using dynamic actions

    About creating an AJAX page with DML procedures in APEX using dynamic actions. Help with limitations.
    I want to share my experience, creating AJAX procedures in APEX 4.0.
    LIMITATIONS
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??
    Here are the steps to create an AJAX Updatable Form using the sample table DEPTS. You can see the demo here: [http://apex.oracle.com/pls/apex/f?p=15488:1]
    1)     Create a blank page
    2)     Add a Report Region for departments (It shows the columns deptno, dname and loc).
    3)     Add an HTML Region and create the elements to edit a Department.
    a.     P1_DEPTNO (Hidden to store PK)
    b.     P1_DNAME (Text Field)
    c.     P1_LOC (Text Field)
    4)     You also have to create a hidden element called P1_ACTION. This will help to trigger dynamic actions to perform DMLs.
    5)     Open Page Attributes and in the HTML Header Section include the following code.
    <script>
         function doSelect(pId){
              $x_Value(‘P1_DEPTNO’,pId);
              $x_Value(‘P1_ACTION’,’SELECT’);
    </script>
    6)     Modify the column DEPTNO in the report, to add column link. In the link text you can use #DEPTNO# , in target you must select ‘URL ‘ and in the URL field write javascript:doSelect(#DEPTNO#);
    7)     Create the following Buttons in the Form Region.
    CANCEL     Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CANCEL’);
    NEW          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’NEW’);
    SAVE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’UPDATE’);
    CREATE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CREATE’);
    8)     Create the following Dynamic Action to Select a Department
    Name:     Select Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     SELECT
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    SELECT dname, loc
    INTO :P1_DNAME, :P1_LOC
    FROM dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    The first limitation, the value of page elements don’t do refresh so I added the following true actions to the dynamic action AFTER Execute PL/SQL Code.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    9)     Create the following Dynamic Action to Update a Department
    Name:     Update Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    UPDATE dept SET
    dname = :P1_DNAME,
    loc = :P1_LOC
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    10)     Create the following Dynamic Action to Create a Department
    Name:     Create Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    INSERT INTO dept(deptno,dname,loc)
    VALUES (:P1_DEPTNO,:P1_DNAME,:P1_LOC);
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Function Body
    PL/SQL Function Body:     
    DECLARE
    v_pk NUMBER;
    BEGIN
    SELECT DEPT_SEQ.nextval INTO v_pk FROM DUAL;; -- or any other existing sequence
    RETURN v_pk;
    END;
    Page Items to submit:     P1_DEPTNO
    Affected Elements: Item P1_DEPTNO
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    11)     Create the following Dynamic Action to delete a department
    Name:     Delete Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     DELETE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    DELETE dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions AFTER the Execute PL/SQL Code true Action.
    Action:     Refresh
    Affected Elements: Region Departments
    Action:     Clear
    Unmark ‘Fire on page load’
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC
    12)     Finally Create the following Dynamic Action for the NEW event
    Name:     New Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     NEW
    Action:     Clear
    Unmark *‘Fire on page load’*
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC

    I need some help to solve this issues
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??

  • Using a function module i want to create another function module

    Hi all,
            My requirement is by using a function module i want to create another function module(if needs modify action should also be done if i need this is for the created function module) and the main thing is that the function module which we are used to create is should be RFC enabled.
    Thanks,
    Vichu.

    Hi,
    You can do one thing... you write the BDC code in the function module name you are creating... so that if you call the function module in a program and execute that program and if you give the function module to be created in the selection screen of the program... in this way there is chance of creating another function module.
    Hope this would help you.
    Good luck
    Narin

  • How to use the function module CONVERSION_FACTOR_GET?

    Hi Experts,
    I have to use convert the value of a field from units 'HL' to 'HHL'. According to me, we can use the function module CONVERSION_FACTOR_GET. However, i am not able to know how to use it?
    Can anyone explain how to use the FM, i mean what should be the importing and exporting parameter.... For recap, i need to convert HL to HHL, for example 3 HL to 0.03 HHL.
    Please help.
    Rewards for sure!
    Thanks in advance.
    Aksh

    Hi
    If it is Unit Conversion better use the following Fun modules
    UNIT_CONVERSION_SIMPLE
    MD_CONVERT_MATERIAL_UNIT
    goto SE37 first and execute them by entering some value and then use it in the code after confirming it
    Regards
    Anji

Maybe you are looking for