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$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

I’m the author of Amazon Web Services in Action. I work as a software engineer, and independent consultant focused on AWS and DevOps.

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

Briefcase icon
Hire me
marbot teaser

Incident Management for Slack

Team up to solve incidents with marbot. Never miss a critical alert. Escalate alerts from your AWS infrastructure among your team members. Strong integrations with all parts of your AWS infrastructure: CloudWatch, Elastic Beanstalk, RDS, EC2, ...

Slack icon
Add to Slack