Unwanted events are also logged in the view created for a specific target from the rules created using its base target

I have created Event or Alert view using a target "My.Target" which is derived from a base target "Windows Server".
All the events or alerts are captured correctly from the servers discovered by "My.Target" but the same view also shows the events and alerts from other servers which has a rule created with a base target "Windows Server".
Is there any option to filter the base target at view level other than using a custom field as it doesn't work for the alerts generated using "Monitors".
Any help would be greatly appreciated.
Thanks in advance.

There is a class "My.Servers" derived from "Microsoft.Windows.Server.Computer" as below -
  <TypeDefinitions>
    <EntityTypes>
      <ClassTypes>
        <ClassType ID="My.Servers" Accessibility="Public" Abstract="false" Base="MicrosoftWindowsLibrary!Microsoft.Windows.Server.Computer" Hosted="false" Singleton="false" Extension="false">
          <Property ID="Name" Type="string" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />          
        </ClassType>
      </ClassTypes>
    </EntityTypes>
  </TypeDefinitions>
There is a discovery "MyServersDiscovery" to discover servers with presence of some registry key as below -
<Monitoring>
    <Discoveries>
      <Discovery ID="MyServersDiscovery" Enabled="true" Target="MicrosoftWindowsLibrary!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
        <Category>Discovery</Category>
        <DiscoveryTypes>
          <DiscoveryClass TypeID="My.Servers">
            <Property TypeID="My.Servers" PropertyID="Name" />
          </DiscoveryClass>
        </DiscoveryTypes>
        <DataSource ID="Name.AttributeDiscovery" TypeID="MicrosoftWindowsLibrary!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
          <ComputerName>$Target/Property[Type="MicrosoftWindowsLibrary!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
          <RegistryAttributeDefinitions>
            <RegistryAttributeDefinition>
              <AttributeName>Name</AttributeName>
              <Path>SOFTWARE\MyRegKey</Path>
              <PathType>0</PathType>
              <AttributeType>0</AttributeType>
            </RegistryAttributeDefinition>
          </RegistryAttributeDefinitions>
          <Frequency>300</Frequency>
          <ClassId>$MPElement[Name="My.Servers"]$</ClassId>
          <InstanceSettings>
            <Settings>
              <Setting>
                <Name>$MPElement[Name="MicrosoftWindowsLibrary!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                <Value>$Target/Property[Type="MicrosoftWindowsLibrary!Microsoft.Windows.Computer"]/PrincipalName$</Value>
              </Setting>
              <Setting>
                <Name>$MPElement[Name="SystemLibrary!System.Entity"]/DisplayName$</Name>
                <Value>$Target/Property[Type="SystemLibrary!System.Entity"]/DisplayName$</Value>
              </Setting>
              <Setting>
                <Name>$MPElement[Name="My.Servers"]/Name$</Name>
                <Value>$Data/Values/Name$</Value>
              </Setting>
            </Settings>
          </InstanceSettings>
          </Expression>         
        </DataSource>
      </Discovery>
</Monitoring>
Created 2 views "My.Alert.View" and "My.Event.View" with Target "My.Servers" as below -
 <Presentation>
    <Views>
      <View ID="My.Alert.View" Accessibility="Public" Enabled="true" Target="My.Servers" TypeID="SystemCenter!Microsoft.SystemCenter.AlertViewType" Visible="true">
        <Category>Operations</Category>
      </View>
      <View ID="My.Event.View" Accessibility="Public" Enabled="true" Target="My.Servers" TypeID="SystemCenter!Microsoft.SystemCenter.EventViewType" Visible="true">
        <Category>Operations</Category>
      </View>
</Views>
</Presentation>
The above views display events and alerts generated by rules targeted on the serves discovered with "MyServersDiscovery" correctly.
The major issue here is - if there is a rule in same or any other management pack for which the target is "Windows Server", the alert or event generated by that rule is also shown in these views which is not expected.
It seems it is because the target for "My.Alert.View" and "My.Event.View" is "My.Servers" which is dervied from "Microsoft.Windows.Server.Computer" so by default all the rules targeted on its base class "Microsoft.Windows.Server.Computer" are also visible
here.
Is there any way to avoid this?

Similar Messages

  • Why multi day events are shown only on the first day in calendar (in month view)

    Why multi day events are shown only on the first day in calendar (in month view)?

    Figured it out - the event has to be marked as full day event in order to be shown in monthly calendar. Disregard my question.

  • How to see who are currently logged in the system through in EP

    hi,
    I want to see , who are currently logged in the system through in EP  , like al08 or sm04 in r3.
    Please guide me

    Hi,
    Portal activity reports will help you in getting all the user details who are logged on to the portal.
    Portal activity reports help you which page or iview the users visited.
    There may be many content in the portal. But the monitoring people mainly wants what content people are mostly visiting. This can help them to update that content frequently. Not only that the content people are not visiting can be made more attractive or it can be removed also.
    using portal activity you will not get what content the user is accessed, but you can get the what content(iview/page) most users are visiting.
    Raghu

  • Hello, starting with today I have a strange problem: all events are correctly shown in the finder but in FCP-X there`s`none and every time I open it creates a new event. What is wrong?

    Hello, starting with today I have a strange problem with Final Cut Pro X: all events are correctly shown in the finder but in FCP-X there`s`none and every time I open it creates a new event. What is wrong?

    Here`s the screenshot.
    But anyway:
    The drive is Makintosh HD from my Macbook and it is shown in the event mediathek and in the projects. Since I`ve recognized this problem I installed FCPX again and consequently the event and project directory created by FCPX is where it should be and it shows all the test events including it`s files.
    So what happens? Opening FCPX you see only one event and that a new empty event. All previous events are not shown there even if you can see them in the finder. So if you import again the clips they are in this new event library. After closing correctly FCPX and reopening there again is nothing than an new and empty event. What it does is that it recognized that i.e. there are events with previous numbers and so it creates an new one with the next available counting number.
    If you want to open one event from the finder it by clicking to the file it opens FCPX but it says it cannot open the clicked file.

  • We use a doc template to create a purchased part spec document and then save them as pdf formatted files.  These part spec documents are also appended with the datasheets for these purchased parts.  When we want to update/revise the document, is there a m

    We use a doc template to create a purchased part spec document and then save them as pdf formatted files.  These part spec documents are also appended with the datasheets for these purchased parts.  When we want to update/revise the document, is there a method, using Acrobat, to make those updates to the pdf, or must we go back to the doc template and basically generate a new document?
    Also, our resulting pdf documents aren't searchable.  How can we generate pdf documents that are searchable?  I may want to search for a part value or name within the body of these pdf documents, but currently can't do that...very inconvenient.
    Can you assist?

    Not totally sure about the search issue. A lot depends on how you created the PDF and what is in the datasheets you attached (like are they graphics?). The doc portion should be searchable as long as you used print to the Adobe PDF printer or PDF Maker. For your use, it may be that the print is adequate. However, the result should be searchable (unless maybe you had a form with filled in fields and created the PDF with PDF Maker. I think the form data may be retained in form fields and the fields are not searchable. In that case, a print might be a better procedure. (it would help to know the versions of WORD and Acrobat as well as the exact process you used to create the PDF.)
    If the appended data sheets do not change, then you might try opening the original PDF and then using Replace Pages to replace the file created from the DOC file.

  • I have 2 iphones on the same account and all of a sudden my text messages are also appearing on the other phone. i haven't changed any setting

    i have 2 iphones on the same account and all of a sudden my text messages are also appearing on the other phone. i haven't changed any setting

    you most likely have imessage on both iphones and sending/receiving to same number on one of the iphones. go to settings messages > send and receive > check the numbers/emails on both iphones. once you uncheck the numbers/emails you dont want you will not be getting the messages any more. a little bit more info is helpful read this http://support.apple.com/kb/HT5538.

  • Why the host ports are also seen in the spanning-tree output ?

    Why the host ports are also seen in the spanning-tree output ?
    Switch1#show spann
    VLAN0001
      Spanning tree enabled protocol ieee
      Root ID    Priority    32769
                 Address     0000.0CA2.138B
                 This bridge is the root
                 Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
      Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
                 Address     0000.0CA2.138B
                 Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
                 Aging Time  20
    Interface        Role Sts Cost      Prio.Nbr Type
    Fa0/1            Desg FWD 19        128.1    P2p
    Fa0/2            Desg FWD 19        128.2    P2p
    Fa0/15           Desg FWD 19        128.15   P2p
    interface FastEthernet0/15
    description PC0 Interface
    switchport mode access
    spanning-tree portfast
    interface FastEthernet0/16
    I read somewhere that all the ports of a switch will participate in STP by default. Is there any way to remove the STP operation on host ports ?
    Regards,
    Chandu       

    All ports participate in Spanning Tree by default.
    Spanning tree is there to block redundant L2 paths in order to prevent loops. All ports are capable of causing a loop so you would not want to turn spanning tree off, in fact I don't think you can switch it off on a per port basis. You can switch it off on a per vlan basis.
    You are already using portfast which allows host ports to transition into a forwarding state without going through the listening and learning states of STP. If you switch off STP on a port, you risk the chance of a L2 loop.
    https://supportforums.cisco.com/docs/DOC-5180

  • RUN_LOGIC:Accounts are not available in the rule table

    Dear BPC gurus,
    I experience the following error while trying to run a Business Rule (Account transformation). Setting are to change the flow dimension of an account and apply to YTD.
    Script logic that is used is:
    *RUN_PROGRAM CALC_ACCOUNT
    CAT = %CAT_SET%
    TID_RA = %AAL_TIME_SET%
    *ENDRUN_PROGRAM
    The following error occurs:
    RUN_LOGIC:Accounts are not available in the rule table
    Failed
    Application: FORECAST Package status: ERROR
    All input is welcom.
    Thanks and regards,
    Vincent

    Hi James,
    Thanks for your quick response. There is no currency dimension in the application... I've tested with the correct businessrule as CALC value, but this didn't do the trick.
    Any other suggestions?
    Regards,
    Vincent

  • Business Rule error: Accounts are not available in the rule table

    Hi everybody,
    I have a problem running the Business Rule for the profit/loss copy to the equity account.
    The Business Rule I set reads from all P&L accounts, P&L specific flow, acual category, all datasources and then it writes everything keeping the source settings apart from the account destination (the equity profit/loss account) and the flow destination (I write in two different flows, so the rule is made up of two equal lines differing only in the flow destination). "PROFIT" is the ID I chose.
    Then I created the related script logic (ID=CALCACCOUNT):
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY_M = %CATEGORY_M_SET%
    CURRENCYLABEL = %CURRENCYLABEL_SET%
    TID_RA = %TIME_SET%
    CALC=PROFIT
    *ENDRUN_PROGRAM
    Finally, the prompt ( process chain: CPMB/RUNCALCACCOUNT):
    PROMPT(SELECTINPUT,,,,"CATEGORY_M,CURRENCYLABEL,TIME")
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SUSER,%USER%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPP,%APP%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/RUNCALCACCOUNT_LOGIC,LOGICFILENAME,CALCACCOUNT.LGF)
    But anytime I run the package it fails giving me the message error: "Accounts are not available in the rule table".
    I tried every possible change but nothing; if someone could help me somehow I'd be really grateful!!
    Thanks
    Filippo

    Hi James,
    Thanks for your quick response. There is no currency dimension in the application... I've tested with the correct businessrule as CALC value, but this didn't do the trick.
    Any other suggestions?
    Regards,
    Vincent

  • How can i get the value stored in the session object using its sessionid

    how can i get the value stored in the session object using its sessionid by running stand alone java application

    myforum wrote:
    how can i get the value stored in the session object using its sessionid by running stand alone java applicationThis does not seem to make sense! You need at least to give a lot more detail of what you are doing.

  • Can you use sync on multiple computers at the same time? ie have someone else logged into your firefox account for you whilst you are also logged in

    I am trying to sign up to something but there is only a short window so was going to ask a friend to sign in at the same time using my account to try to sign up (with my password being saved into my firefox account)

    Hi. Yes, you can use Sync on multiple devices at the same time. I use it to keep my bookmarks in sync across my desktop and Android versions of Firefox.

  • Users are being logged into the desktop before the mapped drives GPO takes effect

    We are using a Group Policy object to map network drives to our users.  We are getting reports that the user are being logged into their desktop before the drives are mapped, causing a program that points to the mapped drive to not be able to access
    files on that drive.  Once the user goes into Computer and double clicks on the drive, they are then able to see the files on the drive and the program is able to access them as well.
    We have added another GPO to institute the "Always wait for the network at computer startup and logon" policy to try to fix the issue, but it has not solved our problem.
    Thanks in advance for any assistance.

    >   Once the user goes into Computer and double clicks on the drive, they
    > are then able to see the files on the drive
    Did you check the "reconnect" option?
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How to find out XPath-Errors, that are only logged on the console

    Hi,
    I'm using the Java-API of XMLP Standalone Version 5.6.2. If my layout contains a german umlaut, like:
    <?for-each:Behälter_zeile?>
    <?BEFMTB_BEZEICHNUNG?>
    <?end for-each?>
    I get the following output in my application console when I call RTFProcessor.process() for this layout:
    [040609_111900450][][ERROR] [Line 118.183] Incorrect XPath: Behälter_zeile
    There is no exception thrown and the generated document seems to be correct.
    My question: How can I determine such an error in my application? I want to do at least some intelligent logging.
    Mirko

    Hi Thomas,
    According to your description, you want to have a role-specific default member for different roles. Right?
    In Analysis Services, when granting access to dimension, a connection will fail if a role restricts access to a default measure. As you mentioned, the best solution is specify a default member for each role. But for administrator role(full control),
    it can't set the default member. All tabs except General and Membership are disabled. And the system can determines the default member of current user automatically. It's not supported to get the default member in MDX either.
    However, SSAS has additive design for role security. So in this scenario, we just need to create another role for those members of administrator role and specify a default member for this role. SSAS will take that role-specific default member
    for these users. And it will not effect the administration permission for them.
    Reference:
    Default members, MDX Scripts, Security, KPIs and Perspectives
    The Additive Design of SSAS Role Security
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • HT203433 Hi! I am so stumped with having multiple apple ID accounts now when I try to do an update on my iPhoto app it tells me to log into the account I used to purchase that app. I have tried going into my other accounts. Please help.

    Hi! I am so stumped with having multiple Apple ID accounts. I did this not knowing what I was doing and now I can not update my iPhoto app because it tells me to log into the account that I used to purchase it. I thought I was trying to do this but I can't get anywhere.
    Please help!
    Flora

    Hi Florafromco,
    You can view your iTunes Store account and request assistance by following the instructions below:
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/ht2727
    I hope this information helps ....
    The following article will provide a little more information regarding using multiple Apple ID's:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I hope this information helps ....
    Have a great day!
    Have a great day!
    - Judy

  • I cannot log into the oracle account using GNOME interface

    I'm receiving the following message when trying to log into the oracle OS account with the GNOME interface turned on:
    GDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. In any case, it is not possible to log in. Please contact your system administrator.
    I can successfully ssh into the oracle account via a terminal window session.
    df -h on the host does not show a problem with disk space:
    [root@oel1 ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    3.9G 2.6G 1.1G 71% /
    /dev/xvda1 99M 13M 81M 14% /boot
    tmpfs 513M 0 513M 0% /dev/shm
    /dev/mapper/VolGroup00-u02
    20G 173M 19G 1% /u02
    /dev/mapper/VolGroup00-u03
    20G 1.9G 17G 10% /u03
    /dev/mapper/VolGroup00-u01
    20G 44M 19G 1% /u01
    /dev/mapper/VolGroup00-orabin
    7.9G 147M 7.4G 2% /orabin
    /dev/mapper/VolGroup00-tmp
    2.0G 68M 1.9G 4% /tmp
    /dev/mapper/VolGroup00-home
    2.0G 68M 1.9G 4% /home
    Some searching on the internet indicated that the .Xauthority file was the problem.
    I noticed that there was no .Xauthority file in the /home/oracle directory. I logged into the oracle OS account via a terminal session and issued the command mkxauth -c. This created an .Xauthority file in my /home/oracle directory. The file has the following permissions which look like they match other hosts we have the Oracle Database running on:
    -rw------- 1 oracle oinstall 265 2011-03-08 13:32 /home/oracle/.Xauthority
    Any heal is greatly appreciated.
    JS

    Thanks for the replies. I obviously had something screwed up in my environment in terms of file permissions.
    I decided that since I am new to Oracle VM and management of the Oracle Enterprise Linux VM templates, and that this was a new instance of the OEL5 template installation, I would start over. So I unzipped the OEL5 template, copied over my vm.cfg file which configures the template instance and brought up a new copy of the OEL5 VM instance. I then logged into it as root, changed the oracle account password and started the GNOME interface with telinit 5 command.
    I was then able to log in successfully to the oracle account via the GNOME interface.
    Thanks for the replies.
    John S.

Maybe you are looking for

  • Lost January Update and I am Pi$$ed

    After reading the horror stories about the version 2 update, I elected not to update. I received the prompt then to update to 1.15 which I did. Shortly after I did, all of my files on the Ipod were transferred due to some kind of a glitch to "other",

  • I can't load firefox. I have windows XP. It says that "Your Firefox profile cannot be loaded. It may be missing or inaccessible."

    It all started when I somehow got Dosearches.com stuck on my computer.

  • Connecting to Non HD TV

    How can I connect my ATV to my Big Screen TV thru the regular RCA Video Input? Is there a way to combine the component RBG outs to a single Video Out? My TV doesn't have an HDMI input and the component inputs are already in use by my HD Cable Box? Th

  • Photo stream reset not working

    I recently reseted the photo stream on my iCloud account 'cause it was too cluttered with random stuff, but for some reason on my iPhone 4 the photo stream still remains as if nothing happened. Is there a solution to this? or is it a bug?

  • How to determine the inbetween months per range?

    Hi All, I have a problem on how to get the "month(s)" of a specific range. here's the scenario.....If a user input 2 months let say 03/2008 and 06/2008. Is there any FM that will determine months inbetween the two months? Please help tnx!! Points wil