Knowing the Targets of a Monitor\Rule

Hi All,
We have some 500 odd monitors in our environment. We want to know the target of each monitor. The target can be a computer\computerGroup as such. We are interested in knowing the  target of each and every monitor. Is there a  way of doing it?
Regards, Mahadev Sundeep Maruvada

Please try below powershell code:
 Get-SCOMMonitor | select displayname, target
The above command will list all monitors in your system and also the target, and the target is like the below type:
ManagementPackElementUniqueIdentifier=8a5823d6-19a8-fc4a......
Regards,
Yan Li
Regards, Yan Li

Similar Messages

  • Need to change the targeting group of a Rule or monitor after a alert is created.

    Hi All,
    I have created many alerts and they are working fine. Currently due to business requirement we have installed Windows server 2012 operating systems in our production environment. But we have targeted the
    "Windows server 2008 r2 full operation system" group as per the below screen shot. As we now have to import the management pack for Windows server 2012 as well.
    What we have planned is to change the targeting group from "Windows server 2008 r2 full operation system"
    to "Windows server operating system group" so the alert / monitor or rule will target all windows server which has been discovered in SCOM rather that only the servers running Windows server 2008 r2.
    I was also not able to set overrides for this as that server was not coming under Windows server 2008 r2 full operation system as it was a Windows server 2012 agent.
    I can also go ahead and create new alerts but i have created custom of 1000 alerts and i cannot go ahead and re create them.
    Is there any way to change them. If yes Can i do a bulk change via powershell ?
    Below is the screenshot of what i really want. Can any on e please help.
    Gautam.75801

    You can't really change the target class of a monitor in a sealed vendor pack. If this is your own custom pack, then you can change the target class no problem, but this would need to be done on the unsealed XML (using VSAE or some other authoring tool).
    Then you can seal the pack and re-import (should be upgrade compatible, since you are just changing the target).
    I'm not familiar with this particular monitor in your screenshot, but it looks like this should probably target Exchange? If this is the case, then I would recommend targeting the closest typed class that the monitor should run against. In this case, some
    type of Exchange class that is already in the Exchange management pack.
    Otherwise, you can also create your own custom class for targeting, which I describe in detail on my blog.
    Here are all my sample VSAE fragments.
    Here is an example of
    using the Application Component base for your new class.
    Here is an example of
    using Local Application base for your new class.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • How can I know the target row in drop table?

    I'm implementing 'drag-and-drop' a record from a table to another table(both are set read-only table).
    After dropping, the record will be removed from source table and be inserted into target table.
    But the problem is that it's not simply added.
    When a record is dropped, it must be inserted right after target row which the mouse is over.
    (Target table records have a kind of order number and re-ordering will be needed at each drag-and-drop)
    I tried with EL from VO like '#{bindings.Testtbl2View1.currentRow}', but it returned a selected row before, not the target row(which mouse is over).
    Please advise me.

    Hi
    SELECT * FROM ALL_TAB_COLUMNS WHERE
    TABLE_NAME ='EMPLOYEES' AND owner=<OwNeR nAmE> ;)

  • How to know the execution time of rule in Calculation Manager

    Hi All,
    How do we come to know the time of execution of rule in calculation manager ?
    Regards
    Vikram

    At this point there is no way to know the execution time of a rule in calculation Manager . If you are working on Planning rules, I believe planning displays the execution time in its job console.
    -SR

  • How do i create a target class to target it to a Rule or monitor

    Hi All,
    How do i create a target class to target it to a Rule or monitor.
    When we create a rule or monitor we target it to a specific class or classes of objects. Like in the example of the below screenshot.
    I want to know how do i create my own custom made target for specific servers and point them to that target so i can select that when i create a rule or monitor.
    Gautam.75801

    Hi Xin
    Guo,
    I had already referred the link. The option (In the Select
    a Management Pack Template pane, select Windows
    Application (Registry) is not at all available on the Authoring TAB in either SCOM 2012 R2 nor 2007 r2.
    Any idea where is it ?
    Gautam.75801

  • SQL query to get the monitor target on a monitor

    Hi!
    I have a list of some custom created Monitors. I need a list of which computers that are using the monitors, the "Monitor target". Please help me with this. It need to be a SQL Query because my powershell have stopped working.

    Yes that is what i have explained you with the screenshot right it is the one in your screen shot also which is mentioned as (This). If this is a default group then you will not get agents for that refer the below link on how to pull agent list of the Target
    group
    http://msdn.microsoft.com/en-us/library/bb960484.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
    Or look at this. You can see what groups the agents are associated manually one by one by using the default SCOM Task.
    Go to Administration==> Agent managed==> Select the agent ==> Right click it and click View ==> Select state view.
    Once you select this you will have another window opened for that particular agent.
    Then click on the name of the agent and on the right hand side bottom you will have a default made task to check to what group's or Targets this agent is associated to. Run that task and you will get the output.
    Look at the ones highlighted in RED
    Below is the screenshot for your reference. Hope this helps
    Gautam.75801

  • Does anyone know the status of the new CMYK monitor display Apple is developing?

    Does anyone know the status of the new CMYK monitor display Apple is developing?

    I have the same iMac as you but with a 1 TB hard drive.
    Apple replaced the 1 TB hard drive of iMacs manufactured between October 2009 and July 2011 because of problems. When I took my iMac, the Genius gave me the bill (even if the repair was free) and the 1 TB hard drive cost about $100. This was with a 1 TB Seagate hard drive, so the cost for a 500 GB hard drive may be smaller, depending on the brand

  • How to get the process chain name if we know the data target in sap bi

    Hi SAP BI Gurus,
    Can any help me how to find the process chain name if we know the data target name
    i mean if i know the info cube name how to find the relavant process chain which is holding that info cube
    Thanks,
    Joe

    Hi R Kumar,
    Check the table RSPCCHAIN.
    I mean, Use Table RSPCCHAIN and give the local chain tech name in VARIANTE field and search, in out put you will get meta chain name under the field CHAIN_ID.
    Thanks,
    Sreehari.

  • Monitor Changes Colors and Contrast? Anyone know the preferences?

    Hello,
    There have been a couple of times that the monitor/screen on my IMac G5 using OS 10.3.9 has gone on the blink, becoming high contrast, bright and not usable. I removed the preferences in the Library and put them in a new folder with a new name: Preferences/Old. Then when I rebooted the monitor was back at the normal setting which was great accept I lost my settings for "Mail," actually lost all of my "Sent" mail, lost my preferences for some software programs, etc... Now, I know that the Screen Monitor has certain prefs of its own...plists and if I just removed those and rebooted, I shouldn't loose the other things that I lost. Does Anyone know which preferences are specifically for the Monitor?
    Best,
    Lucin

    I don't know the settings but I'd go to my user library preferences folder, set it to display by date modified, change a setting in the displays preferences, then see which files changed most recently and at the time of the setting change and double check the most likely one.

  • Creating Transport rule : Exception has been thrown by the target of an invocation.

    hi,
    I'm trying to create a new transport rule and get the error
    Test Auto-reply
    Failed
    Error:
    Exception has been thrown by the target of an invocation.
    Exchange Management Shell command attempted:
    New-TransportRule -Name 'Test Auto-reply' -Comments 'test' -Priority '0' -Enabled $true -From '[email protected]' -SentTo '[email protected]' -SubjectContainsWords 'TEST' -SetHeaderName 'Reply-To' -SetHeaderValue '[email protected]'
    is this at all possible?
    If so what am I doing wrong?
    thanks

    Hi,
    I tested in my lab, and I received the same error. I searched and talked with my colleagues, seems like that we can’t 
    set header field “Reply-To”  using rule, it is the same issue for header fields “To” and “From”.
    Here is a related thread about header field “From” for your reference.
    http://social.technet.microsoft.com/Forums/en-US/430bf68b-f36b-485c-a2ef-3689b1ad826a/how-to-setup-a-transport-rule-to-change-the-from-field-of-an-email
    Best regards,
    Belinda Ma
    TechNet Community Support

  • TS1292 Good morning I received a 25$ itunes card as a gift yesterday, I know it was bought in the target located in 10880 Olson Dr on friday November 30th, but it says that the card has not been activated, currently I dont have the receipt can you please

    Good morning I received a 25$ itunes card as a gift yesterday, I know it was bought in the target located in 10880 Olson Dr on friday November 30th, but it says that the card has not been activated, currently I dont have the receipt can you please help me

    Normally what you should do is go back the retailer from whom you purchased the card and discuss the problem with them. They should either correctly activate the card or give you a new one. Since you have no receipt, though, it's unlikely that Target will help you, so go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store.
    Please note that everyone here is just a felllow user, so you should post no personal information as it will quickly become public.
    Regards.

  • How can I know the database is using Cost Based or Rule Based?

    Hi all expertise,
    How can I know the database is using Cost Based or Rule Based?
    If cost based it is using, what methods are need to use to minimize the cost when database is running? And which tables I can see the performance of the database?
    Thanks
    Amy

    how to see database setting ?
    use this
    SQL> sho parameter optimizer
    NAME TYPE VALUE
    optimizer_dynamic_sampling integer 1
    optimizer_features_enable string 9.2.0
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_max_permutations integer 2000
    optimizer_mode string CHOOSE
    choose means if table statistics is available then it will use cost
    else
    use rule based optimizer
    for seeing performnace of table use
    set autotrace on
    and run your query
    if it doen't show cost.it means it use rule based
    for using cost based
    u will calculate table statistics
    9i
    dbms_stats.gather_table_stats('owner','table');
    8i
    analyze table <table_name> compute statistics;
    hope it will help you
    kuljeet pal singh

  • Working with hrefs, how does the target page know what to do?

    I'm working with a converted ND app.
    I have an href in a tiledView, which when clicked will take you to a
    detail page for the record. I see where in the creation of the HREF,
    it links together the model info from the source with the target:
    =============================================================
    hr_openTicketDetailDescr.addSourceTargetPair(
    new CommandSourceTargetPair(CommandSourceTargetPair.SQL_WHERE_TYPE,
    do_earsSchemaModel.class,
    "do_earsSchema.ARADMIN_ENTERPRISE_SOLUTIONS_REQUEST_REQUEST_ID",
    CommandSourceTargetPair.DISPLAY_FIELD_TYPE,
    pg_ticketDetailsViewBean.class,
    "pg_ticketDetails.st_ticketID"));
    =============================================================
    But what does the target viewbean need to be doing to make this work?
    I don't see any code that would explicitly or implicitly make it use
    this information being passed. Should I be intercepting it and setting
    the where clause myself in the beginDisplay? Also, how do I get this
    targetpair out of the href call in the href action?
    Thanks,
    John Hoskins

    Set both computer and iphone to sync with icloud problem solved

  • Need the know the default location of Targeter created through BCC

    Hi ,
    I created a targeter and published it through BCC , i did not specify any parent folder , so i am expecting .properties to get created in the default location "/atg/registry/RepositoryTargeters".
    But it is not getting created there , any idea why?
    My publishing through BCC was successfull though.
    Note:
    The Targeter created through ACC , i can see the .properties file in the default location "/atg/registry/RepositoryTargeters"

    Until you not run the workflow, Publishing ATG Server will store the files on a versioned file system, running workflow Publishing will send a copy of this versioned files to Staging ATG Server and after to Production ATG Server.
    Normally the versioned file system is ATG_HOME/servers/atg_publishing_lockserver/Publishing/versionFileStore/PublishingFiles, there should be some folders that control the version system.
    And the not versioned file system, usually is ATG_HOME/servers/production or stating server/PublishingAgent/deploymentconfig/live/config and if you use switching data source will use too ATG_HOME/servers/production or stating server/PublishingAgent/deploymentconfig/staging/config

  • Can you help me interpret the following lines in UPDATE rule?

    Hi,
    Can you help me interpret the following lines in UPDATE rule?
    1. What is the role of role of u201CCHANGING RESULT.u201D and u201CCHANGING lc_local_value.u201D?
    2. What is the role of the CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY', in particular the Exporting and Importing parts?
    3. Can I say that u201CCOMM_STRUCTURE-ORDER_VALu201D in the subroutine is passed to u201Clc_document_valueu201D in the u201CFORM loc_curr_convertu201D; and further passed to u201Cforeign_amountu201D in the u201CCALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'u201D?
    4. Finally, what becomes of my original u201CActual Goods receipt quantityu201D( 0GR_QTY ) which I am writing the routine for? I donu2019t see any where in the code that it is being referred to? Do any of these codes affect the value of 0GR_QTY?
    5. Also, if there are 3 different subroutines in the INCLUDE and I am making the change described in #4 above, how do I know which of the 3 subroutines to call?
    ===============================
    ===============================
    So I am reviewing a transfer routine in for u201CActual Goods receipt quantityu201D and routine an INCLUDE statement: INCLUDE RS_BCT_MM_UPDATE_RULES.
    The update rule also includes the following properties to run the following subroutine in the Include:
    IF u2026..
    perFORM LOC_CURR_CONVERT
               USING    COMM_STRUCTURE-ORDER_VAL
                        COMM_STRUCTURE-DOC_DATE
                        COMM_STRUCTURE-ORDER_CURR
                        COMM_STRUCTURE-LOC_CURRCY
                        COMM_STRUCTURE-EXCHG_RATE
               CHANGING RESULT.
    I verified in the INCLUDE (RS_BCT_MM_UPDATE_RULES) and the subroutine is as follows:
    FORM loc_curr_convert
      USING    lc_document_value
               lc_date
               lc_document_currency
               value(lc_local_currency)
               lc_rate
      CHANGING lc_local_value.
    conversion of lc_rate from floating-point to decimal. Necessary for *
    call of CONVERT_TO_LOCAL_CURRENCY.
    data lc_rate_dec type p decimals 5.
    lc_rate_dec = lc_rate.
      IF lc_document_currency = lc_local_currency
      no conversion necessary -> Main case 1
        AND NOT ( lc_document_currency IS INITIAL
               OR lc_local_currency IS INITIAL ) .
        lc_local_value = lc_document_value.
      ELSEIF NOT ( lc_document_currency IS INITIAL
      OR lc_local_currency IS INITIAL OR lc_date IS INITIAL ) .
      conversion necessary with lc_date -> Normally not possible
        CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
          EXPORTING
            date                 = lc_date
            foreign_amount       = lc_document_value
            foreign_currency     = lc_document_currency
            local_currency       = lc_local_currency
            rate                 = lc_rate_dec
          IMPORTING
          EXCHANGE_RATE        =
            local_amount         = lc_local_value
          EXCEPTIONS
            NO_RATE_FOUND        = 1
            OVERFLOW             = 2
            NO_FACTORS_FOUND     = 3
            NO_SPREAD_FOUND      = 4
            DERIVED_2_TIMES      = 5.
        IF sy-subrc NE 0.
      message a802 with lc_date lc_document_currency lc_local_currency
                        sy-subrc.
        ENDIF.
      ELSE.
      if conversion not possible -> assign target values
        lc_local_value = lc_document_value.
        lc_local_currency = lc_document_currency.
      ENDIF.
    ENDFORM.

    HI,
    Thanks so much the explanations.
    I just verified again on our dev system and the update rule for 0GR_QTY (Actual goods receipt quantity) include the following:
        perFORM QUANTITY_CONVERT
           USING    COMM_STRUCTURE-CPQUAOU
                    COMM_STRUCTURE-po_UNIT
                    COMM_STRUCTURE-base_uom
                    COMM_STRUCTURE-numerator
                    COMM_STRUCTURE-denomintr
           CHANGING RESULT
    Now, in the include, I also found:
    FORM QUANTITY_CONVERT
      USING    QC_SOURCE_VALUE
               QC_SOURCE_UNIT
               VALUE(QC_TARGET_UNIT)
               QC_UMREZ
               QC_UMREN
      CHANGING QC_TARGET_VALUE.
    i.  Does it mean it actually does quantity conversion?
    ii. If you have access to the INCLUDE I will appreciate some hints on what the subroutine QUANTITY_CONVERT is doing. It does not appear do to be saying anything about quantity conversion; but it is supposed to be doing something with the parameters being passed from the update routine.
    iii. In your response to #5, after all the computation in the INCLUDE, what comes back to the Update rule  i.e. what comes back to become the value of 0GR_QTY?
    Is it the u201CRESULT.u201D in the update rule or u201CQC_TARGET_VALUE.u201D in the subroutine in the INCLUDE.
    iv. So, am to create an Update rule for 0PSTNG_DATE and the source is BUDAT; and I need to write a routine using the include INCLUDE RS_BCT_MM_UPDATE_RULES.
    I looked through the INCLUDE and identified all the subroutines in this INCLUDE as follows:
    QUANTITY_CONVERT
    LOC_CURR_CONVERT
    GET_WEEK
    WEEK_DAY
    QUARTER_DAY
    --Does it mean that to use this subroutine, I can only use the USING parameters of one of these listed subroutines?
    --Also, does it mean that because 0PSTNG_DATE is a date, I can only use one of
    GET_WEEK
    WEEK_DAY
    QUARTER_DAY
    --Or, are there other includes to be used for 0PSTNG_DATE
    Thanks

Maybe you are looking for

  • What is the role of a Policy CA

    Hello All Can someone please help me with the following question please (thanks in advance) I read the following (from another post on this forum regarding Policy CAs) The role of a policy CA is to describe the policies and procedures that an organiz

  • How do I know if my Mac has been infected with the virus

    I recently was asked to download an Adobe Acrobat reader update but before I was made aware that the current virus was contained in a similar request, I downloaded what I assumed to be a legit update.  I currently do not use my mail program on my Mac

  • External pictures only on low resolution after import from iPhoto to Photos

    Moved to the new Photos app. All pictures that were in my iPhoto library file are OK but the pictures that were stored outside the library folder are visible only on very very poor resolution (looks like only the thumbnail was imported and shown on f

  • Macbook pro runs hot

    My early 2008 MacBook Pro runs very hot and can't tell if the fan is running. Any suggestions?

  • How to design using J2EE pattern?

    I am new to J2EE and I would like some ideas on how I should design the following system in J2EE pattern. I am required to use JSP pages + EJB to implement a very simple online shopping system. And I already created the following classes: This is the