Smart alert escalation for New Relic Alerts

Michael Wittig – 26 Jan 2018

New Relic provides Real-time analytics and full-stack visibility at cloud scale. With New Relic Alerts, you get a single tool to manage alerting policies for the New Relic platform. New Relic Alerts also integrate with Slack, but the native integration lacks many features, such as:

With marbot, you get the missing features to manage New Relic Alerts in a team that cares about production.

Set up instructions

  1. Create a free New Relic account.
  2. Log in to your New Relic account.
  3. Click on Alerts at the top right.
  4. In the sub-navigation, click on Notification channels.
  5. Click on New notification channel.
    Setup New Relic Notification channel: step 1
  6. Set the Channel Type to Webhook.
  7. Set Channel name to marbot.
  8. Set Base Url to https://api.marbot.io/v1/endpoint/$endpoint-ID. Replace $endpoint-ID with the ID of your endpoint. You can get this value by asking @marbot for it on your Slack channel.
  9. Click on Create channel to save.
    Setup New Relic Notification channel: step 2

Sample Alert

To simulate an alert, click on Send a test notification.
Simulate New Relic Alert

The following alert will be delivered by marbot soon.

New Relic Alert

Read one, if you want to configure which fields are displayed by marbot.

Configure alert fields

marbot takes the first six fields and displays them in the alert. You can configure those six fields in New Relic:

  1. Click on Add custom payload.
    Configure New Relic Notification channel: step 1
  2. Modify the Payload and remove all fields expect up to six important ones (e.g., policy_name, severity, details, incident_url, runbook_url)
    Configure New Relic Notification channel: step 2
  3. Don’t forget to click on Save changes to save.
Michael Wittig

Michael Wittig

Consultant focusing on Amazon Web Services (AWS). Entrepreneur building marbot.io. Author of Amazon Web Services in Action, Rapid Docker on AWS, and cloudonaut.io.

You can contact me via Email, Twitter, and LinkedIn.

Published on

marbot teaser

Chatbot for AWS Monitoring

Configure monitoring for Amazon Web Services: CloudWatch, EC2, RDS, EB, Lambda, and more. Receive and manage alerts via Slack. Solve incidents as a team.

Slack
Add to Slack
Microsoft Teams
Add to Teams