A policy is a set of conditional tests;used to set custom rules for when Metricly will generate an event or other notifications. In other words, policies allow you to define various types of abnormal element behavior, then notify you when that abnormal behavior occurs.
Use the Policy Editor to add, edit, enable, disable, or delete policies. For more information about configuring policies with the Policy Editor, see Policy Editor.
- Scope defines the element or elements to which a policy is applied.
- A condition is a test applied to an individual metric (or several) that is either true or false at any given time. For a policy to execute an event and/or notification, each of its conditions must be met.
- Duration is the length of time for which the conditions in a policy must be met before an event and/or notification is executed. For example, if duration is 10 minutes, each of the conditions in a policy must be met for 10 consecutive minutes before you will receive a notification or see an event in Metricly.
- Notifications are one or more notifications that a policy will send if each of its conditions are met.
Policies with Metricly listed in the Created By column are called default policies. They serve as recommended policy configurations that you can edit, enable, disable, or delete. For more information about default policies, see Default policies.
The Policies page shows a list of all your configured policies, both enabled and disabled. It includes the policy name, the number of elements in scope, filters on the policy, state of the policy (Enabled/Disabled), and the current status (OK, Info, Warning, Critical). This page has additional filters to display all Open and Closed policies. Filtering by Open will display only the policies that are currently (Now) violating a set condition(s). We use the term “firing” to refer to policies that are violating a set of conditions. Clicking on Closed will show any policies that have fired during the selected time range.
The Policy page has two main view.
- Table: The table view will display all the policies configured in your tenant account. These are both the Metricly best practices and your user defined policies. In the table you will also see the details (status, state, enabled, notifications) about each policy. To see what is firing right now click on Open. By clicking Closed you will see all the policies that fired over the selected time range.
- Slide Out: Click on the policy name to open more details about the policy. The slide out will display any elements that have Open or Closed policy violations. Remember the Closed policies are tied to the time control. You can click on the graph to see the metrics view. This feature is disabled for the checks because it does not apply. The view can be closed by clicking the the X in the top right corner.