Update or disable policies and conditions

After you create a policy, you can:

  • Add more conditions to the policy.
  • Edit the conditions' names, targets, or thresholds.
  • Disable conditions.
  • Continue the policy setup process by adding one or more notification channels to it.
  • Rename or delete the policy.

The user interface shows a Last modified timestamp for any changes to policies, including their conditions and notification channels.

Policy maintenance quick reference

Here is a quick reference which also includes links to more detailed information and procedures for maintaining your policies.

Add or remove policies assigned to a channel

To add or remove policies assigned to a channel:

  1. In the one.newrelic.com top nav, click Alerts & AI, click Notification channels, then (select a channel). Click Alert policies, then (select a policy).
  2. From the selected policy, use the windows to select, remove, or clear all.
Change a policy name

To rename a policy:

  1. In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, then (select a policy).
  2. Click the policy name to edit it, then type a meaningful name for the policy (maximum 64 characters).
Check policy user assignment

To check whether an account user has been assigned any policies:

  1. In the one.newrelic.com top nav, click Alerts & AI, click Policies, (select a policy), then click Notification channels.
  2. Select a user, and then click Alert policies.
Check policy channel assignment

To check whether a notification channel has any policies assigned to it: In the one.newrelic.com top nav, click Alerts & AI, click Notification channels.

The Policy subscriptions column lists how many policies are assigned to the channel.

Create a new policy

To create a new alert policy:

  1. In the one.newrelic.com top nav, click Alerts & AI, click Policies.
  2. Click New alert policy.
  3. Follow standard procedures to complete the basic setup process.

Condition maintenance quick reference

Here's a quick reference for maintaining a policy conditions. This includes the condition's entities (targets), Warning (yellow) and Critical (red) thresholds, and runbook URL.

Add more conditions

To add more conditions to a policy: In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, (select a policy), then click Add a condition.

OR

To copy a condition from any policy and add it to another policy: In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, (select a policy), then click Copy.

Copy a condition

To copy an existing condition, including its targets and thresholds, and add it to another policy for the selected account:

  1. In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, then (select a policy).
  2. From the policy's list of one or more Alert conditions, click Copy.
  3. From the Copy alert condition list, search or scroll the list to select the policy where you want to add this condition.
  4. Optional: Change the condition's name if necessary.
  5. Select Save.

By default, the copied condition will be added to the selected alert policy in a Disabled state. Follow standard procedures to add or copy additional conditions to the alert policy, and then Enable the condition as needed.

Change how threshold violations roll up into incidents

To select how violations to your thresholds are grouped into incident records (by policy, by condition, or by target and condition):

  1. In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, then (select a policy).
  2. Click [gear] Incident preference.
Check for entities (targets) assigned to a policy

To check whether an entity (target) has any policies assigned:

  1. Go to the product (APM, Browser, etc.).
  2. From the selected product's index, check whether the entity's color-coded health status is light green with an icon. icon-alerts-q-green.png

Exception: Infrastructure does not use this feature.

Change a condition

To change a policy condition: In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, then (select a policy)​​​​​​. Then, from the list of Alert conditions for the selected policy:

  • To change the condition's name, click Edit.
  • To add, change, or remove targets (entities), select the name or number of targets for the condition, and then select Browse and select targets.
  • To update the values for the required Critical (red) or optional Warning (yellow) thresholds, select the existing value.
  • To update the condition's runbook URL, select the condition's Thresholds.

If you use Applied Intelligence, you can connect your conditions to Incident Intelligence. To do this, switch the Connect to Incident Intelligence to ON.

Disable or delete policies and conditions

If you disable or delete a policy, we'll continue to apply any other policies assigned to the product entity (target). If you remove all policies for the entity, its color-coded health status indicator will appear light green with an icon.

Disable or re-enable a condition

You can enable 041715icon-condition-on or disable 041715icon-condition-off any policy conditions, and the policy will continue to apply. To disable or re-enable a condition:

  1. In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, then (select a policy)​​​​​​. Then, from the list of Alert conditions, (select a condition).
  2. Click the On/Off switch to toggle it.

For Infrastructure conditions, use the checkbox at the bottom of the condition edit screen, then save the condition.

If you copy a condition, it is automatically saved in the new policy as disabled (Off), even if the condition was enabled (On) in the original policy.

Disable a policy

You can't disable a policy directly. However, you can disable all of the policy's conditions.

When you disable all of the conditions, the policy will continue to appear on the Alert policies index. The policy itself isn't disabled, and you can re-enable any or all of its conditions at any time.

Delete policy conditions

If a policy has multiple conditions, you can delete any or all of them, and the remaining conditions for the policy will continue to apply. To turn a condition off but keep it with the policy, disable it. To delete one or more conditions:

  1. In the one.newrelic.com top nav, click Alerts & AI, click Alert policies, then (select a policy)​​​​​​.
  2. From the list of Alert conditions, (select a condition), then click Delete.
Delete a policy

If you delete any of your account's policies, you can't restore them. Instead, you must re-create them if necessary.

To delete a policy completely:

  1. In the one.newrelic.com top nav, click Alerts & AI, then click Alert policies.
  2. From the policy row, click the delete trash-o icon.

Any notification channels associated with a deleted or disabled policy will remain. You must delete notification channels or remove them individually as necessary.

You will still be able to view incidents and event violations related to the deleted policy. However, these records will be read only.

For more help

If you need more help, check out these support and learning resources: