Defining policies

TrueSight Middleware and Transaction Monitor (TMTM) provides a set of out-of-the-box policies that contain general monitoring recommendations. If you simply want to get up and running quickly, use these policies "as is", or see Getting started with policies and Event Packs overview for further information. 

Because every environment is unique, you may want to copy and tweak the supplied policies; if so, see Policy architecture, which describes how policies are designed. You can also create your own policies. For more advanced information about the structure of the existing policies, see Policies supplied with TrueSight Middleware and Transaction Monitor.

A quick overview

Policies are defined in the Policy Model, which is accessed via the Policies tab, and which allows the dynamic configuration of objects based on sets of expressions and actions that are configured in a policy, including:

  • Agent policies and groups - Rules, and groups of rules, to match agents
  • Object policies and groups - Rules, and groups of rules, to match monitoring objects (e.g. queue managers)
  • Expressions - Regular expression-like pattern matches, used to match policies or groups
  • Policy actions - Actions to take when a policy matches

These elements can be combined together to form a monitoring policy, which can include the following examples:

"Every Monday, at 2am, run discovery on agents with a "Production" role"
"Register all local queues named "QA.*" found on agents running with a "QA" role"
"Associate all queues named with a prefix of "Prod" to the Product event template"

Note

The Agent Description field in the agent properties can be used to automatically associate a set of policies with the agent machine upon discovery. If you use the Bootstrap package distribution from the Launch page, there is a field on the Agent Distribution page where various information can be added to the agent description attribute to use for searching. This enables you to add particular key information (like technology on a specific machine, or geographic/logical grouping information) that can be used to identify this machine as matching the initial Agent policy expression. The agent description information you add is visible in the agent's Description attribute on the Object Repository tab of the TMTM Monitor Console.

The Policy Service

The Policy Service runs in the TMTM Application Service. It subscribes for updates from the Topic Service, matches those updates to a user-defined monitoring Policy Model, and takes the actions described in the Policy Model. It also evaluates scheduled policies.

Permissions required to view and edit policies

The following two permissions (set in the Security tab, see Defining user access and security settings for details) are required to see the objects in the Policies tab or perform actions on them:

  • Access Policies Tab
  • Edit Policies
Was this page helpful? Yes No Submitting... Thank you

Comments