Last updated: 2022-12-01

Source: https://support.freshservice.com/support/solutions/articles/50000002838-integrate-new-relic-synthetics-with-freshservice-alert-management

About the integration:

Resolve poor performance and outages before your customers notice, by integrating New Relic's synthetic monitoring with Freshservice.

New Relic Synthetics simulates user traffic around the world and helps you monitor your external and internal websites, critical business transactions and API endpoints. Through this integration, triage all your alerts in Freshservice to enable your team to quickly resolve the issues.

Configuration in Freshservice:

Step 1:

Head to the Admin panel, scroll down to IT Operations Management, and select Monitoring Tools.

Step 2:

You are now on the Monitoring Tools list page. Select Add monitoring tool to add a new integration.

Step 3

You will see a list of pre-configured integrations, the gateway to custom integration using webhooks, and the option to use email as a channel for alerts. Select New Relic Synthetics.

Step 4

Getthe Endpoint URL and the Auth key for New Relic Synthetics by following theintegration setup.

Configuration in New Relic Synthetics:

01. In New Relic, click on Alerts > Notification channels > New Notification Channel

02. Select Channel type as Webhook

03. Set a Channel name

04. In the Base URL field, paste the copied Endpoint URL from Freshservice

05. In the Custom Headers section, enter Name as Authorization and in the Value field, paste the Auth token copied from Freshservice without the word Authorization in it.

06. Add another row and enter Name as Content-Type and Value as application/json

07. In the Use Custom Payload section, click on Add Custom Payload

08. New Relic displays its default payload on selecting this

09. In the payload type, select JSON

10. Click on Create Channel

Setting webhook as the notification channel for your alerts

1. On clicking on Create Channel, the Alert Policies tab will be displayed

2. Clicking on Add Policies

3. It will display a list of all the Alert Policies that you have previously created.

4. Select the Alert Policies for which you want to send alerts to Freshservice and click on Save Changes.

5. Click on Alerts tab > Alert Policies > Notification Channel > Open the webhook channel that you created

6. Scroll to the bottom to find “Send a test notification” link

7. Click on this link to send a test notification to Freshservice to confirm that the integration is successful.

On successful creation of an alert in Freshservice, you will get this confirmation in New Relic Synthetics.