New Relic is a SaaS offering that focuses on performance and availability monitoring.
OpsRamp configuration
Step 1: Install integration
Select a client from the All Clients list.
Go to Setup > Integrations > Integrations.
From Available Integrations, select Monitoring > New Relic.
Click Install.
Step 2: Configure integration
From the API tab, enter:
Authentication: Copy Tenant Id, Token, and Webhook URL for configuration.
These settings are used for creating a HTTP Request template.
Map Attributes: Enter the mapping information for the third-party.
From the Monitoring of Integration tab, click Assign Templates.
From the Audit Logs, set up audit log criteria and time frame.
Configuring the map attributes
Select the required OpsRamp property from the drop-down.
Click Add Mapping Attributes to map attributes for the specific OpsRamp alert property.
Click + to define the mappings.
From Create Alert Mappings on Status, define the mappings, parsing conditions, and default values, and Save.
The following table shows the attribute mappings.
Attributes can be modified at any time.
OpsRamp Property
Third Party Entity
Third Party Property
Alert subject
INCIDENT
details
Alert description
INCIDENT
description
Alert metric
INCIDENT
metric
Alert state
INCIDENT
severity
Alert name
INCIDENT
targets[0].name
Alert time
INCIDENT
timestamp
Alert status
INCIDENT
current_state
New Relic configuration
Step 1: Configure a notification channel
Log into New Relic.
Add Destination, Go to Alerts & AI > Destinations > Add Webhook.
Copy the URL from Opsramp Integration and paste it in the endpoint URL field.
Add Destination, Go to Alerts & AI > Workflows > Add.
Select filter conditions based on requirement. Select the channel as Webhook, under notify. Configure the details Channel Name: Enter channel name Destination : select the one created in the earlier step.
Note: These new fields are taken from the Newrelic documentation.
Ref: Notification migration
Step 2: Define the alert policy
Go to Alerts > Alert Policies.
Enter the name of the policy as OpsRamp_Alert_Policy and click Create Policy.
Click Create a Condition, and select APM, Application Metric.
Click Next and select Targets.
In Select target, select all applications Moodle, php, application, collaboration.net to name a few and click Next.
The applications may be different for few clients, but Apdex is required for all the clients.
Define the threshold to trigger an alert. The threshold is specific for each client.
To test the process of alerting, set Apdex score below 0.98 for five minutes and click Create Condition.
After the alerting is successful, reset the score to the appropriate value in Apdex threshold for the specific environment.
8. Attach the policy to the notification channel.
9. To attach the policy click Add notification channels, select Webhook and click Update Policy.
In alerts browser, the source column displays a New Relic icon which indicates that the alert is from New Relic.