Adding a template-based Optimizer rule

You can create an Optimizer rule based on a predefined template or create a customized rule from the Rules page in the TrueSight Capacity Optimization console. The templates have preconfigured conditions based on the specific environment that they are defined for. For example, the AWS - Virtual Machines template includes a condition to generate recommendations for EC2 instances (or VMs) that are idle in your AWS environment. 

Some Optimizer rules, which are based on predefined templates, are available out-of-the-box. You can modify these rules or define new ones by using the templates. For more information about Optimizer rules, see Configuring and managing Optimizer rules.

This topic explains the procedure to add and configure a template-based rule. For instructions to add a customized rule, see Adding a custom Optimizer rule.

To add a rule based on a template

  1. In the TrueSight Capacity Optimization console, click Administration > OPTIMIZER > Rules.
  2. In the Optimizer Rules page, click Add rule.
  3. In the New rule page, enter values and make appropriate selections for the following properties:

    Advanced properties are marked with (tick). To switch (toggle) to Advanced mode, click Advanced on the page

    PropertyDescription
    General
    NameSpecify a name for the rule.
    (Optional) DescriptionSpecify a short description for the rule. For example, VMware Datastore over-saturation rule.
    Generation schedule
    Select an Optimizer task that defines the schedule of the Optimizer rule. All the configured Optimizer rules are available for selection. For example: Optimizer - daily, Optimizer - weekly.
    Rule type

    Select based on template.

    Template group and Template

    Depending on the environment for which you want to add a rule, select one of the following template groups and the appropriate template. By default, the AIX Virtualization - LPAR File System Used under the AIX Virtualization template group is selected.

    1. AIX Virtualization:
      • AIX Virtualization - LPAR File System Used: Generates saturation alerts for LPAR file system forecasted usage
      • AIX Virtualization - LPAR Saturation: Generates saturation alerts for AIX LPAR CPU and memory forecasted usage
    2. Cloud:
      • AWS - Virtual Machines: Generates alerts and recommendations for AWS virtual machines
      • Azure - Virtual Machines: Generates alerts and recommendations for Azure virtual machines
      • AWS Reserved Instances: Generates recommendations for AWS reserved instances to be purchased in a region

    3. Diagnostic:
      • Self-monitoring: Generates self-monitoring alerts.
    4. Hyper-V Virtualization:
      1. Hyper-V Virtualization - Virtual Machines: Generates alerts and recommendations for Hyper-V virtual machines.
    5. OpenStack:
      • OpenStack - Availability Zones Saturation: Generates saturation alerts for OpenStack Availability Zones based on CPU, memory, and storage forecasted usage
      • OpenStack - Host Aggregates Saturation: Generates saturation alerts for OpenStack Host Aggregates based on CPU, memory, and storage forecasted usage
      • OpenStack - Hypervisors SaturationGenerates saturation alerts for OpenStack Hypervisors based on CPU, memory, and storage forecasted usage
      • OpenStack - Regions SaturationGenerates saturation alerts for OpenStack Regions based on CPU, memory, and storage forecasted usage
      • OpenStack - Tenants Quota Saturation: Generates saturation alerts for OpenStack Tenants based on exceeding vCPU, memory, and instance quota
    6. Solaris Virtualization:
      • Solaris Virtualization - LDOM File System Use: Generates saturation alerts for LDOM file system forecasted usage
      • Solaris Virtualization - LDOM Saturation: Generates saturation alerts for Solaris LDOM CPU and memory forecasted usage
    7. System:
      • Generic - Future Saturation: Generates future saturation alerts for systems
    8. VMware Virtualization:
      • vSphere Virtualization – Clusters: Generates alerts and recommendations for VMware Clusters
      • vSphere Virtualization – Datastore Clusters: Generates alerts and recommendations for VMware Datastore Clusters
      • vSphere Virtualization Datastores: Generates alerts and recommendations for VMware Datastores
      • vSphere Virtualization – Hosts: Generates alerts and recommendations for VMware Hosts
      • vSphere Virtualization – Virtual Machines: Generates alerts and recommendations for VMware Virtual Machines


    Template descriptionDescribes the selected template. The description changes as per the selection in Template.
    ConditionsDisplays the conditions that are associated or supported with the selected template. You can choose to define a rule with one or all the conditions by selecting or clearing the check box for that condition. For example, you can define a rule with template AWS - Virtual Machines to generate recommendations for Idle VMs only, and not for VMs with overallocated resources. The configurable parameters of the conditions contain the default values. You can modify these default values and redefine the rule. Recommendations are generated based on these conditions.
    Filters
    Period type and Condition period

    Specify the period for which the condition applies. Select one of the following values:

    • Use time filter: Select a period from the predefined list.
    • Manually specified: If none of the predefined periods meets your requirements, specify the period manually. You can select the resolution (hours, days, weeks, or months) and specify the number. You can also select whether you want to include the current hour/day/week/month in the period based on the resolution. Click Apply after selecting the check box.

    Entity selection method

    Select the method to choose the entities to which the rule applies. You can select specific entities, those based on a filter, or entities in one or many domains and subdomains.

    Select one of the following methods:

    • Entity filter: Select a filter from the Select entity filter list as defined in the Workspace. For more information, see Managing entity filters.
    • All entities
    • All entities of a domain: Select one or more domains from the Domain list.
    • All entities of a domain and its subdomains: Select a domain or subdomain.
    • Specified entities: Select specific systems or business drivers from the Specified systems or business drivers list.
    Specified system types

    Add specified system types to the rule:

    1. Click Edit.
    2. Select a system type from the Available items list and click >> to add it to the Selected items list. Use Shift+click to select multiple system types at once.
      The list of system types is based on the selected template.
    3. Click Apply.
    Specified business driver types

    Add specified business driver types to the rule:

    1. Click Edit.
    2. Select a business driver type from the Available items list and click >> to add it to the Selected items list. Use Shift+click to select multiple business driver types at once.
    3. Click Apply.
    (tick) Exclude systems or business driversSelect specific entities (systems or business drivers) that you want to exclude from the rule definition.
    Actions
    Actions to perform

    Specify the action to be taken when the rule generates an alert or a recommendation.

    Select one or all of the following actions:

    • Send an alert mail:
      • Type the email addresses for recipients of alert notifications, separated by a semicolon (;) in the Send an email to field.
      • To send a copy of the email to the product administrators, in the Admin copy section, select Send to all Capacity Optimization Admins.
      • To attach a specific report with the email that is sent out, in the Mail attachment section, select Attach a report and choose a report from the list. By default, Nothing is selected.
        You can define a report that can help to determine the cause of the alert or recommendation. This report can be attached to the alert email..
      • To use an email template, in the Mail template name, specify the name of the custom email template that you have already created.

        Ensure that you specify the exact template name. Also, ensure that the template is available in the <TSCO Application Server installation directory>/repository/templates/email folder.

    • Send an SNMP trap: To send SNMP traps for alerts. If SNMP traps have not been configured, selecting this option has no effect.
    • Publish events to TrueSight Operations Management: Events based on the rule definition are triggered and sent to TrueSight Operations Management. This option is available only if you are integrating with TrueSight Operations Management and have configured the required details in the Global configuration page. For more information, see Integrating with TrueSight Operations Management

    • Change the status of alerted systems/business drivers and domains based on Risk conditions: Select to change the status of a report.
      • Change status of the following reports: Select a report from the list.

  4. Click Save.
    The rule is saved and enabled by default. The rule is listed in the Optimizer rules table. The rule is triggered to run based on the Optimizer task that is associated with the rule.

Was this page helpful? Yes No Submitting... Thank you

Comments