Defining policies
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"
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