Powershell based discovery / rule

I am currently facing one problem in my management pack whose various workflow (discovery / rule / monitor) are based on PowerShell scripts. These PowerShell scripts connects to a WCF service using following way
$webServiceConnection = New-WebServiceProxy -Uri http://<WCF_service_host>:8732/DeviceConnection?WSDL -Namespace "Vendor.Device.Component"
Now this WCF service expose few methods which provides data depending on request i.e. discovery or rule or monitor. After processing the requested data, we set $webServiceConnection = NULL
As there are number of components (elements) in the discovery and we monitor every component hence there are too many workflows execute on management server and hence utilization of MonitoringHost is very high. Sometime it almost eats whole CPU and RAM.
We suspect that there are high number of $webServiceConnection objects residing in memory which are not cleaned up by CLR. Can this be one of the reasons that most of the time CPU and RAM is almost 100% utilized.
--Mukul

Hi
do not target any script base monitoring on management server, you can create a custom class based of custom registry key discovery and target monitoring from non critical server. High cpu utilization will happen due to spinlock.
Refer below link for more information
http://blogs.technet.com/b/kevinholman/archive/2009/07/20/do-you-randomly-see-a-monitoringhost-exe-process-consuming-lots-of-cpu.aspx
http://support.microsoft.com/kb/968967/en-us
Regards
sridhar v

Similar Messages

  • In R12 can we have approval based on rules like Cost Cente or Account?

    Hi All,
    -In R12 GL can we have approval based on rules like Cost Centers or Account. I know a rule based on Amount can be setup
    -In R12 GL can we use the PO hierarchy and its Rules
    Thanks.

    Dear Srinivasan Muthu,
    Assuming that Red,Blue and white are the values for the chracteristic say Colour and if this assigned to
    a class type say 023 batch,while uploading the stock,the system asks the chracteristic value.
    Say suppose if you are entering 561in MB1C or 101 movement in MIGO for that material and if you
    select for Blue,then in MMBE you can click on the stock quantity and right click-->batch classification.
    The system shows for Blue colour.
    check and revert back.
    Regards
    Mangalraj.S

  • Auto Entension of LAC based on Rules

    Hi All,
    I have a business requirement where in the time of LAC should get extended automatically based on rule that if there has been a Bid submitted before 5 minutes to the closure of the Auction, the Auction should get automatically get extended by another 5 minutes. For example say I have set the time limit of an auction to 60 minutes. Now if there is a bid between 55 to 60 minutes the time for auction close should become 65 minutes and so and so forth till there is no bid received in last 5 minutes where in it should get closed.
    I searched SAP Help and other SDN Documents but did not find anything similar to the requirement.
    Has any body encountered this issue earlier? Any idea to use which BADI to configure such a rule?
    Rgds,

    Hi,
    If standard LAC extension is not suitable for you then you must extend program.
    Start from this FM's:
    - BBP_LA_MSG_TIMEOUT_CHECK
    - BBP_LA_BIZAPI_RETRIEVE_MSG
    Regards,
    Marcin

  • 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

  • Registry-based discovery does not show non key property value

    Hi,
    Discovered Inventory shows instances of my new class correctly, but the non key property ServerType appears but has no value. I have confirmed each instance does have the registry value populated. What can I do?
    I see the following Event 31876 on one of the clients:
    Data item returned no information for parameter '$Data/Values/ServerType$'
     This usually indicates that the query is incorrect.
    Detailed Background:
    My custom application is made of 8 different computer roles.
    HKLM\SOFTWARE\Vendor\Appname exists = true indicates an instance of my app.
    HKLM\SOFTWARE\Vendor\Appname\ServerType indicates the actual server role.
    I want an initial hosted class (VendorServer) based on Microsoft.Windows.Computer base class to contain all server roles.
    Then I will create 8 hosted classes (VendorServerRoleA, VendorServerRoleB, etc) for each server role based on the initial hosted class (VendorServer).
    My discovery for VendorServer class created instances, and I see ServerType as a property in Discovered Inventory, but it is blank for all instances.  Should I expect to see ServerType populated where I mapped it as follows:
    Name =
    $MPElement[Name="MPName.VendorServer"]/ServerType$
    Value =
    $Data/Values/ServerType$
    Does $MPElement need to reference the discovery object instead of the class object (which it currently does)?
    I started with a blank MP and then create the new VendorServer class based on Microsoft.Windows.ComputerRole and added the new Property, ServerType as a non key property.
    The discovery targets Microsoft.Windows.Computers.  Is it ok to have the discover target one class and the VendorServer class have a different base class?
    My build event was simply if HKLM\SOFTWARE\Vendor\Appname exists
    I am hesitant to proceed to create my VendorServerRoleA class based on HKLM\SOFTWARE\Vendor\Appname\ServerType=AAA until what I have built so far works completely, unless it is not expected to do so.
    A related question.  Once I have classes for each server role, can I target monitorA at multiple classes, or do I need to create a new monitor for each class?
    This authoring learning curve is so steep as I am sure many of you already know.  MUCH thanks for help...

    <ManagementPack ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <Manifest>
        <Identity>
          <ID>Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack</ID>
          <Version>1.1.1.1</Version>
        </Identity>
        <Name>Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack</Name>
        <References>
          <Reference Alias="SC">
            <ID>Microsoft.SystemCenter.Library</ID>
            <Version>6.0.6278.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Windows">
            <ID>Microsoft.Windows.Library</ID>
            <Version>6.0.6278.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Health">
            <ID>System.Health.Library</ID>
            <Version>6.0.6278.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="System">
            <ID>System.Library</ID>
            <Version>6.0.6278.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
        </References>
      </Manifest>
      <TypeDefinitions>
        <EntityTypes>
          <ClassTypes>
            <ClassType ID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer" Accessibility="Internal" Abstract="false" Base="Windows!Microsoft.Windows.ComputerRole" Hosted="true" Singleton="false">
              <Property ID="ServerType" Type="string" Key="false" CaseSensitive="false" Length="256" MinLength="0" />
            </ClassType>
            <ClassType ID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServerCDC" Accessibility="Internal" Abstract="false" Base="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer" Hosted="true"
    Singleton="false" />
          </ClassTypes>
        </EntityTypes>
      </TypeDefinitions>
      <Monitoring>
        <Discoveries>
          <Discovery ID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.DiscoverIFSSubsystemServer" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryClass TypeID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer" />
            </DiscoveryTypes>
            <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
              <ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
              <RegistryAttributeDefinitions>
                <RegistryAttributeDefinition>
                  <AttributeName>KeyExists</AttributeName>
                  <Path>SOFTWARE\Thales\IFSBOSystem</Path>
                  <PathType>0</PathType>
                  <AttributeType>0</AttributeType>
                </RegistryAttributeDefinition>
              </RegistryAttributeDefinitions>
              <Frequency>300</Frequency>
              <ClassId>$MPElement[Name="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer"]$</ClassId>
              <InstanceSettings>
                <Settings>
                  <Setting>
                    <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                    <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer"]/ServerType$</Name>
                    <Value>$Data/Values/ServerType$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
                    <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                </Settings>
              </InstanceSettings>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery Type="String">Values/KeyExists</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value Type="String">true</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
            </DataSource>
          </Discovery>
          <Discovery ID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.DiscoverIFSSubsystemServerCDC" Enabled="true" Target="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer" ConfirmDelivery="false" Remotable="true"
    Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryClass TypeID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServerCDC" />
            </DiscoveryTypes>
            <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
              <ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
              <RegistryAttributeDefinitions>
                <RegistryAttributeDefinition>
                  <AttributeName>ServerTypeCDCTrue</AttributeName>
                  <Path>SOFTWARE\Thales\IFSBOSystem\ServerType</Path>
                  <PathType>1</PathType>
                  <AttributeType>1</AttributeType>
                </RegistryAttributeDefinition>
              </RegistryAttributeDefinitions>
              <Frequency>300</Frequency>
              <ClassId>$MPElement[Name="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServerCDC"]$</ClassId>
              <InstanceSettings>
                <Settings>
                  <Setting>
                    <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                    <Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer"]/ServerType$</Name>
                    <Value>$Data/Values/ServerType$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
                    <Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                </Settings>
              </InstanceSettings>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery Type="String">Values/ServerTypeCDCTrue</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value Type="String">CDC</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
            </DataSource>
          </Discovery>
        </Discoveries>
      </Monitoring>
      <LanguagePacks>
        <LanguagePack ID="ENU" IsDefault="true">
          <DisplayStrings>
            <DisplayString ElementID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack">
              <Name>Thales IFS Subsystem Discovery Monitoring Management Pack</Name>
              <Description>The purpose of this management pack is to monitor the health of various components of the Thales IFS subsystem servers including server types CDC CRD DC MWS PMS and SUP.</Description>
            </DisplayString>
            <DisplayString ElementID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.DiscoverIFSSubsystemServer">
              <Name>Discover IFS Subsystem Server</Name>
            </DisplayString>
            <DisplayString ElementID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.DiscoverIFSSubsystemServerCDC">
              <Name>IFS Subsystem CDC Server</Name>
            </DisplayString>
            <DisplayString ElementID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer">
              <Name>IFS Subsystem Server</Name>
              <Description>CDC CRD DC MWS PMS SUP</Description>
            </DisplayString>
            <DisplayString ElementID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServer" SubElementID="ServerType">
              <Name>ServerType</Name>
              <Description>CDC CRD DC MWS PMS or SUP</Description>
            </DisplayString>
            <DisplayString ElementID="Thales.IFS.Subsystem.Discovery.Monitoring.ManagementPack.IFSSubsystemServerCDC">
              <Name>IFS Subsystem CDC Server</Name>
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
      </LanguagePacks>
    </ManagementPack>

  • Adjusting time based on rule

    Hi all,
    I two fields in my screen start time and end time.
    Based on start time i want adjust my end time.
    Here is my rule
    The above rule is not working any suggestions will be advisable.
    Regards,
    Gupta

    Gupta,
    The rule looks fine.  It should add 30 minutes to whatever time is in PlannedStartTime.  Questions:
    Where are you using this rule?  As an update rule on another field?  Transaction screen?
    What data types are the fields?  DateTime, or Time?
    When you say it isn't working, what is it doing then?
    Jason Latko - Senior Product Developer at SAP

  • Registry Based Discoverying not working

    Good day, I try to discovery a server which has a unique / special registry key (service name) . not sure why the discoverying is not working...
    Here is the xml of the management pack
    <?xml version="1.0" encoding="utf-8"?>
    <ManagementPack SchemaVersion="2.0" ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Manifest>
        <Identity>
          <ID>Test.First</ID>
          <Version>1.0.0.12</Version>
        </Identity>
        <Name>Test First</Name>
        <References>
          <Reference Alias="InstanceGroup">
            <ID>Microsoft.SystemCenter.InstanceGroup.Library</ID>
            <Version>7.5.8501.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="SC">
            <ID>Microsoft.SystemCenter.Library</ID>
            <Version>7.0.8433.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Windows">
            <ID>Microsoft.Windows.Library</ID>
            <Version>7.5.8501.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Health">
            <ID>System.Health.Library</ID>
            <Version>7.0.8433.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="System">
            <ID>System.Library</ID>
            <Version>7.5.8501.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
        </References>
      </Manifest>
      <TypeDefinitions>
        <EntityTypes>
          <ClassTypes>
            <ClassType ID="Test.First.Group.Servers" Base="InstanceGroup!Microsoft.SystemCenter.InstanceGroup" Accessibility="Public" Abstract="false" Hosted="false" Singleton="true"
    />
            <ClassType ID="Test.First.Class.Role" Base="Windows!Microsoft.Windows.ComputerRole" Accessibility="Public" Abstract="false" Hosted="true" Singleton="false"
    />
          </ClassTypes>
        </EntityTypes>
      </TypeDefinitions>
      <Monitoring>
        <Discoveries>
          <Discovery ID="Test.First.Discovery.Servers" Target="Test.First.Group.Servers" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryRelationship TypeID="InstanceGroup!Microsoft.SystemCenter.InstanceGroupContainsEntities" />
            </DiscoveryTypes>
            <DataSource ID="Discovery" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
              <RuleId>$MPElement$</RuleId>
              <GroupInstanceId>$MPElement[Name="Test.First.Group.Servers"]$</GroupInstanceId>
              <MembershipRules>
                <MembershipRule>
                  <MonitoringClass>$MPElement[Name='Windows!Microsoft.Windows.Computer']$</MonitoringClass>
                  <RelationshipClass>$MPElement[Name="InstanceGroup!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
                  <Expression>
                    <Contains>
                      <MonitoringClass>$MPElement[Name='Test.First.Class.Role']$</MonitoringClass>
                    </Contains>
                  </Expression>
                </MembershipRule>
              </MembershipRules>
            </DataSource>
          </Discovery>
          <Discovery ID="Test.First.Discovery.Role" Target="Windows!Microsoft.Windows.Computer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryClass TypeID="Test.First.Class.Role" />
            </DiscoveryTypes>
            <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
              <ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
              <RegistryAttributeDefinitions>
                <RegistryAttributeDefinition>
                  <AttributeName>Installed</AttributeName>
                  <Path>SYSTEM\CurrentControlSet\services\DCM_Bauteiltest</Path>
                  <PathType>0</PathType>
                  <AttributeType>0</AttributeType>
                </RegistryAttributeDefinition>
              </RegistryAttributeDefinitions>
              <Frequency>120</Frequency>
              <ClassId>$MPElement[Name="Test.First.Class.Role"]$</ClassId>
              <InstanceSettings>
                <Settings>
                  <Setting>
                    <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                    <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
                    <Value>First Role ($Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$)</Value>
                  </Setting>
                </Settings>
              </InstanceSettings>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <XPathQuery Type="String">Values/Installed</XPathQuery>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value Type="String">True</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
            </DataSource>
          </Discovery>
        </Discoveries>
        <Monitors>
          <AggregateMonitor ID="Test.First.Monitor.Services.Availability" Accessibility="Internal" Enabled="true" Target="Test.First.Class.Role" ParentMonitorID="Health!System.Health.AvailabilityState"
    Remotable="true" Priority="Normal">
            <Category>AvailabilityHealth</Category>
            <Algorithm>WorstOf</Algorithm>
          </AggregateMonitor>
          <UnitMonitor ID="Test.First.Monitor.Service.DCM_Bauteiletest" Accessibility="Public" Enabled="true" Target="Test.First.Class.Role" ParentMonitorID="Test.First.Monitor.Services.Availability"
    Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false" Comment="First DCM_Bauteiletest">
            <Category>AvailabilityHealth</Category>
            <AlertSettings AlertMessage="Test.First.Monitor.Service.DCM_Bauteiletest.AlertMessage">
              <AlertOnState>Error</AlertOnState>
              <AutoResolve>true</AutoResolve>
              <AlertPriority>Normal</AlertPriority>
              <AlertSeverity>Error</AlertSeverity>
              <AlertParameters>
                <AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</AlertParameter1>
              </AlertParameters>
            </AlertSettings>
            <OperationalStates>
              <OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success" />
              <OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error" />
            </OperationalStates>
            <Configuration>
              <ComputerName />
              <ServiceName>DCM_Bauteiletest</ServiceName>
              <CheckStartupType />
            </Configuration>
          </UnitMonitor>
        </Monitors>
      </Monitoring>
      <Presentation>
        <Views>
          <View ID="Test.First.View.Alerts" Accessibility="Public" Enabled="true" Target="Test.First.Class.Role" TypeID="SC!Microsoft.SystemCenter.AlertViewType" Visible="true">
            <Category>Custom</Category>
            <Criteria>
              <ResolutionState>
                <StateRange Operator="NotEquals">255</StateRange>
              </ResolutionState>
            </Criteria>
          </View>
          <View ID="Test.First.View.Performance" Accessibility="Public" Enabled="true" Target="Test.First.Class.Role" TypeID="SC!Microsoft.SystemCenter.PerformanceViewType" Visible="true">
            <Category>Custom</Category>
            <Criteria />
          </View>
          <View ID="Test.First.View.Roles" Accessibility="Public" Enabled="true" Target="Test.First.Class.Role" TypeID="SC!Microsoft.SystemCenter.StateViewType" Visible="true">
            <Category>Custom</Category>
            <Criteria />
            <Presentation>
              <ColumnInfo Index="0" SortIndex="0" Width="100" Grouped="false" Sorted="true" IsSortable="true" Visible="true" SortOrder="Descending">
                <Name>State</Name>
                <Id>Test.First.Class.Role</Id>
              </ColumnInfo>
              <ColumnInfo Index="1" SortIndex="-1" Width="23" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
                <Name>Maintenance Mode</Name>
                <Id>InMaintenanceMode</Id>
              </ColumnInfo>
              <ColumnInfo Index="2" SortIndex="-1" Width="200" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
                <Name>Name</Name>
                <Id>Name</Id>
              </ColumnInfo>
              <ColumnInfo Index="3" SortIndex="-1" Width="100" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
                <Name>Path</Name>
                <Id>Path</Id>
              </ColumnInfo>
            </Presentation>
          </View>
          <View ID="Test.First.View.Servers" Accessibility="Public" Enabled="true" Target="Test.First.Class.Role" TypeID="SC!Microsoft.SystemCenter.StateViewType" Visible="true">
            <Category>Custom</Category>
            <Criteria />
            <Presentation>
              <ColumnInfo Index="0" SortIndex="0" Width="100" Grouped="false" Sorted="true" IsSortable="true" Visible="true" SortOrder="Descending">
                <Name>State</Name>
                <Id>Microsoft.Windows.Computer</Id>
              </ColumnInfo>
              <ColumnInfo Index="1" SortIndex="-1" Width="23" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
                <Name>Maintenance Mode</Name>
                <Id>InMaintenanceMode</Id>
              </ColumnInfo>
              <ColumnInfo Index="2" SortIndex="-1" Width="100" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
                <Name>Name</Name>
                <Id>Name</Id>
              </ColumnInfo>
              <ColumnInfo Index="3" SortIndex="-1" Width="100" Grouped="false" Sorted="false" IsSortable="true" Visible="true" SortOrder="Ascending">
                <Name>Path</Name>
                <Id>Path</Id>
              </ColumnInfo>
            </Presentation>
            <Target>$MPElement[Name="Test.First.Group.Servers"]$</Target>
          </View>
        </Views>
        <Folders>
          <Folder ID="Test.First.Folder.Role" Accessibility="Public" ParentFolder="SC!Microsoft.SystemCenter.Monitoring.ViewFolder.Root" />
        </Folders>
        <FolderItems>
          <FolderItem ElementID="Test.First.View.Alerts" Folder="Test.First.Folder.Role" ID="Id_Role_1" />
          <FolderItem ElementID="Test.First.View.Performance" Folder="Test.First.Folder.Role" ID="Id_Role_2" />
          <FolderItem ElementID="Test.First.View.Roles" Folder="Test.First.Folder.Role" ID="Id_Role_3" />
          <FolderItem ElementID="Test.First.View.Servers" Folder="Test.First.Folder.Role" ID="Id_Role_4" />
        </FolderItems>
        <StringResources>
          <StringResource ID="Test.First.Monitor.Service.DCM_Bauteiletest.AlertMessage" />
        </StringResources>
      </Presentation>
      <LanguagePacks>
        <LanguagePack ID="ENU" IsDefault="true">
          <DisplayStrings>
            <DisplayString ElementID="Test.First.Group.Servers">
              <Name>Test First Servers</Name>
              <Description>Test First server group</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Class.Role">
              <Name>First Server Role</Name>
              <Description>First Server Role</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Discovery.Servers">
              <Name>Discover First Servers Group</Name>
              <Description>Discover First Servers Group</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Discovery.Role">
              <Name>First Server Role Discovery</Name>
              <Description>Discovers a First Server role</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Monitor.Services.Availability">
              <Name>Services</Name>
              <Description>First role services</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Monitor.Service.DCM_Bauteiletest">
              <Name>First DCM_Bauteiletest</Name>
              <Description>First DCM_Bauteiletest</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Monitor.Service.DCM_Bauteiletest.AlertMessage">
              <Name>First DCM_Bauteiletest</Name>
              <Description>The First DCM_Bauteiletest Service is not running on host '{0}'.</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Monitor.Service.DCM_Bauteiletest" SubElementID="Running">
              <Name>Running</Name>
              <Description>Running</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Monitor.Service.DCM_Bauteiletest" SubElementID="NotRunning">
              <Name>NotRunning</Name>
              <Description>NotRunning</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First">
              <Name>Test First</Name>
              <Description>Monitoring Management Pack: Test First</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.Folder.Role">
              <Name>Test First</Name>
              <Description>Test First root folder</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.View.Alerts">
              <Name>Alerts</Name>
              <Description>Test Enterprise Alert Alerts</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.View.Performance">
              <Name>Performance</Name>
              <Description>Test First Performance</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.View.Roles">
              <Name>Roles</Name>
              <Description>Test Enterprise Alert roles state view</Description>
            </DisplayString>
            <DisplayString ElementID="Test.First.View.Servers">
              <Name>Servers</Name>
              <Description>Test First server state view</Description>
            </DisplayString>
          </DisplayStrings>
          <KnowledgeArticles></KnowledgeArticles>
        </LanguagePack>
      </LanguagePacks>
    </ManagementPack>

    Hello Martin,
    How you create you registry discovery?
    You can follow this blog post to do this: http://blogs.technet.com/b/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx

  • Calling a ILOG JRule based business rule from ABAP

    Hi,
    JRule is a BRMS product from ILOG. I have few business rules maintained in JRule and exposed as JAX Web Service. I was wondering if it is possible to call those rules from ABAP using client proxy similar to the technique used to call Enterprise Services or any other SOAP based web services. Any help is highly appreciated.
    Thanks in advance
    Nilay

    Yes you can. Once you have deployed your rule app to the ILOG Rule Execution Server, you can get login to the RES and get the WSDL and then use the WSDL to invoke the rules.

  • Hidden rule discovery, rule recommendation, ...

    I am working on a tool that can help the firewall administrator to better manage their firewall.
    The functions of this tool include:
    1. Hiddden rule/Partially hidden rule report
    2. Policy test: for given source, destination and service, which rule will be matched
    3. Rule recommendation: Recommendation on where to insert new rule
    4. Rule and object usage report
    5. Policy conversion from or to different vendors
    I have been working on firewall policy analysis industry for more than 10 years. The algorithm I use is the best in the industry from what I can tell. I want to use this technology to improve firewall management. 
    I would like to ask if there is any interest in this tool? What kind of requirement from firewall administrator? In what enviroment do you prefer to run this tool (Linux, Windows)? Any suggestions on what information should be included in the output?
    Any suggestions would be greatly appreciated.

    To hide some objects frome a collection, try using the Include rule in List Tile View Data / Style settings > General settings
    It is the same place where you define the collection that is displayed.

  • Auto-Decline Invites Based On Rules

    Hello,
    I have a CalDAV calendar, and am looking for a way to automatically decline certain events. The rules would be very simple -- basically, any invite from a particular sender should get automatically deleted/declined. I would be happy to write a script to do this, but have not had much luck finding useful pointers. Any advice would be greatly appreciated.

    Invitations through email could be blocked from the address in question, then they won't autoforward to iCal, with "Automatically retrieve invitations from Mail" checked under iCal>Prefernces>Advanced. Whatever mechanism CalDAV uses should be easy to deal with if the filtering takes place at the email client.
    If you want email from that address but want to reject only invitations, then I'd suggest a two-stage rule about an attachment extension and the address. Mail>Preferences>Rules. Then you could go nuts or even attach a script to the rule.
    If you already knew all that, then I hope it wasn't too painful to read this far. It seems that automatically declining needs to be handled by the calendar client, which doesn't look easy. Sounds like a job for Automator if its all mouse interface activity, but I've never done it.

  • Querying SCCM for Collection rules by Powershell

    I am trying to get a list of collections rules applied to a particular collection, in sccm. I have psbase property of a collectionrules which contains the names of the collectionrules. How do I access those collections, using powershell?

    A collection can have multiple query-based membership rules.  Each of those rules can have multiple queries.  CSVs are 2 dimensional, and don't support this type of nesting.  You could simply take the first query from the first rule, but depending
    on how the collections are defined, there could be missing information.
    XML on the other hand, can support this type of nesting.
    I haven't tested this (use at your own risk), but this could be the general idea, if you wanted to move queries from one system to another, or simply back them up.
    #Backup Collection Data from source computer
    Get-CMDeviceCollection | Export-Clixml 'c:\OldComputer\AllCollections.xml'
    #Restore to target computer (This sets the limiting collection to "All Systems" and also assumes there is only one membership rule)
    $allCollections = Import-Clixml 'c:\NewComputer\AllCollections.xml'
    $allCollections | ? {$_.isbuiltin -eq $false} | % {
    New-CMDeviceCollection -LimitingCollectionId SMS00001 -Name $_.Name
    Add-CMDeviceCollectionQueryMembershipRule -CollectionName $_.Name -RuleName $_.CollectionRules.RuleName -QueryExpression $_.CollectionRules.QueryExpression
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • Rule based metadata value population

    Hi,
    We have a requirement where the assets metadata associated with the asset should be displayed based on rule.
    For example if there are 3 dropdowns. On choosing the value in dropdown 1, the values in the dropdown 2 should be displayed and similarly on choosing the value in second dropdown the value in the third dropdown should appear.
    Thanks in advance.
    Regards,
    Sachin

    Hello Sachin,
    You can populate your subsequent drop down either by writing listeners (if your business rule is not so complex - events like beforeloadcontent etc... from http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.form.Selection) else use the servlet to generate the drop down list dynamically.
    Please user my earlier post in forum, i hope it will help you to resolve your issue.
    http://forums.adobe.com/message/4830914#4830914
    http://forums.adobe.com/message/4816627#4816627
    if above doesn't help then let me know.
    Thanks,
    Pawan

  • Rule-based or 'expert' system in Oracle

    Hi,
    Has anyone implemented a rule-based system in Oracle? E.g. based upon a decision tree?
    I have a feeling that the algorithm will involve 'tree-walking' within a heirarchy of rules but I'm not quite sure how to structure it. I have a couple of ideas such as storing pointers to the next rule with the columns holding things like the name of the parameter, the condition, the comparison value and the outcome.
    The program has to choose a carrier (such as UPS or Fed-Ex) based upon rules such as the weight (<1kg?>, the intrinsic value (> #100), the addressee postcode and whether the package is hazardous or not. There can be any permutaion of these conditions apart from those that are direct opposites (such as greatr than or lower than 1kg).
    I would be grateful for any advice on this, or a web address that might help (I have googled and found something calld the 'reme algorithm' but cannot find any elaboration of it! grrr.....).
    Thanks for your time,
    Regards,
    Jim.

    thanks for your reply, but need different thing,
    suppose we prepare a report in report builder and when we want to print it, it always print in windows gui fonts like times new roman, arial , tahoma etc..
    I WANT TO PRINT IT IN TEXT-BASED FONTS NOT WINDOWS FONT WHICH GAIN HIGH QUANTITY OF TONER . I want to print like IBM COBOL, FOXPRO, GWBASIC, PASCAL TEXT MODE REPORTS

  • Using Advanced routing Rules : Rule based

    HI all,
    how to use advance rule based routing rules in Human task...
    can any one share some POC or sample doc with screen shots on this..
    Thanks ,
    Karthik

    Hello Karthik -
    Please check this URL for Advanced rules :
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/studio/index.html?t=modules/dynamic_business_rules/t_Advanced_Editor_Mode.html
    For more details :
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/studio/index.html?t=modules/dynamic_business_rules/c_Head_Business_Rules_Editor.html
    BR,
    Justin

  • Active Directory Group Discovery not picking up Workstation OSs

    We don't use the default 'workstation' container in AD. We have a OU called:i.e. 'contoso workstations'. Within 'contoso workstations are other OUs by location: i.e.: 'Bangalore'; 'Harare'; 'Bangkok': and 'Djibouti'. AD Group discovery dumps everything
    into All Systems with no logical organization of locations. We need those location folders so we can throttle client deployment. How do I get Discovery to pick up OU 'locations' and populate those locations with workstations?  

    Are you talking about AD site? If so, that's collected by system discovery and heartbeat discovery.  Thus, if you aren't using System Discovery, you'll have to wait until heartbeat discovery reports in for the client. Based on this info you can create
    appropriate query based membership rules for collections that have you manually created. However, this is a bit of chicken and the egg if you want to use it for client agent installation since heartbeat discovery is only reported by client agents themselves.
    Thus, you should either enabled AD System Discovery or choose an alternate deployment method like a startup script.
    Jason | http://blog.configmgrftw.com

Maybe you are looking for

  • PO data

    Hi,   I am working with purchase order creation.After creating the PO there will be an invoice tab in items data.When u click that tab it will show you a tax button and when pressed it will show some data(tax calculated data. But we dont know in whic

  • Unsolicted update in communication channel

    I received a counter update in my communications channel for the following post: https://forums.oracle.com/thread/2569282 I'm neither tracking or following the discussion or space and I have not been participating in that discussion. I also have not

  • Copy a text from another dokument

    hello... if I want to copy a text it doesn`t take the textstile from pages automatically. do you know how I can set this up? thank ypu.. best regards franzi

  • How to schedule a mapping?

    Hi .... how can I schedule a mapping ???? Can external tools be used to schedule a mappin ?.....like tibco,autosys etc ? thnx s

  • After Downloading itunes 8.2.1, iPod Touch won't sync

    I have repeatedly (6+ times) have tried to sync my iPod Touch with the recently updated iTunes 8.2.1 and every time it hangs in sync and gives me the error message: applemobiledevicehelper quit unexpectedly Then after doing force quit, the sync icon