Integrating with New Relic
New Relic helps you monitor, debug, and improve your entire stack.
After you configure an integration with New Relic, you can get the event, metric, and topology data from New Relic in BMC Helix Operations Management and BMC Helix Discovery, and you can process the data further in BMC Helix AIOps to derive actionable insights.
For example, the following figure shows the events received in BMC Helix Operations Management:
As a tenant administrator, perform the following steps to integrate with New Relic.
Before you begin
- Obtain the egress IP of your tenant by requesting BMC Support.
- Create a firewall rule to allow traffic from the egress IP to the New Relic host on the listening port. The default port is 443.
To integrate with New Relic
Log on to BMC Helix Portal, and click Launch on BMC Helix Intelligent Integrations.
- On the CONNECTORS tab, click in the SOURCES panel.
- Select New Relic.
- Specify the source connection details:
Instance Name: Specify a unique instance name.
Recommendation
BMC recommend that you specify the instance name in the following format:
<sourceType>_<sourceControllerServerName>{_<InstanceQualifier>}
The instance qualifier helps you to distinguish the multiple instances configured from the same source server. For example, you can name your instances as NewRelic_Host_PROD, NewRelic_Host_TEST, and so on.
- Access Key: Specify the API key. For instructions to create an API key from the New Relic UI, see
New Relic API keys
.
- Account ID: Specify the account ID for the New Relic source. The default value is 9999999.
- (Optional) Personal API Key (GraphQL): Obtain a personal API key, and provide the details here. This key is used to obtain additional data from the New Relic Infrastructure application using New Relic Query Language (NRQL). For more information, see
New Relic API keys
.
- Max Connections: Specify the number of maximum concurrent REST API requests that should be executed during a collection schedule. The default value is 256.
- Proxy: Click Proxy, and provide the following details:
- Uses Proxy: Select this check box you plan to configure a proxy server.
- Proxy Host and Proxy Port: Specify the host name and port number of the proxy server. The default port number is 8888.
- Click VALIDATE AND CREATE.
The specified connection details are validated and the corresponding source connection is created in the Source Connection list. Select the source connection that you created from the Source Connection list if it is not selected already.
Important
The destination host connection is created and configured automatically when the source connection is created.
- Clear the options for one or more data types for which you don't want to collect data. By default, all the options are selected.
- NewRelic Events
- NewRelic Metrics
- NewRelic Topology
Configure the collectors for the selected data types by clicking the respective data type in the Collectors section. Specify the parameters for the selected data type, as explained in the following table:
Parameter Name Data Type NewRelic Events
NewRelic Metrics NewRelic Topology
Collection Schedule
Specify the data collection frequency in minutes.Applicable
BMC recommendation: 5 minutes
Applicable
BMC recommendation: 5 minutes
Applicable
BMC recommendation: 60 minutes
Data Collection Window
Specify the historical period (in minutes) from the current time during which the data should be collected from New Relic.
Applicable
BMC recommendation: 5 minutes
Applicable
BMC recommendation: 5 minutes
Applicable
BMC recommendation: 60 minutes
Data Latency
Specify the time (in minutes) for which the data time window should be placed far back on the timeline.
Applicable Applicable
Applicable Max Buffer Age
Enter the maximum buffer age in (hours). Default is 2 hours.
Applicable Not applicable Not applicable Applications
Select All or a subset of applications from the list.
This list of applications is updated automatically from New Relic.
Applicable Applicable Applicable Metric Categories
Select All or a specific subset of metric categories from the list.
This list of metric categories is updated automatically from New Relic.
Not applicable Applicable Not applicable NRQL results Limit
Enter the maximum number of metrics to collect for NRQL.
Not applicable Applicable Not applicable - Click CREATE COLLECTORS to create the required collector streams for the selected data types.
- Configure the distributors for the selected data types by clicking the respective data type in the Distributors section. Specify the parameters for the selected data type, as explained in the following table:
Parameter Name Default Max Batching Size
Specify the maximum number of records to send in a single POST to the destination API. The batch size depends on the destination’s ability to buffer the incoming data.
250
Max Batching Delay
Specify the maximum time to wait before building a batch and processing.
3 seconds
Base Retry Delay
Specify the initial delay time (that means, for 2 seconds, the retries would proceed 2, 4, 8, 16, ... seconds later.)
2 seconds Max Intra-Retry Delay
Specify the hard limit for the above retry delay. For example, if set to 60 seconds, retries would be performed again 2, 4, 8, 16, 32, 32, 32... seconds later.
60 seconds Max Retry Duration
Specify the total time for retrying delivery. For REST destinations, a delivery is a batch of events in one REST POST request.
For example, if set to 8 hours, then requests would be made based on the above settings for 2+4+8+16+32+32+32... until 8 hours in total duration is reached, then no subsequent attempts are made to retry sending the data.
The assumption here is that if there is an outage or other issue with the destination tool, then recovery will take less than "Max Retry Duration" to complete.
5 minutes - Click CREATE DISTRIBUTORS to create the required distributor streams for the selected data types.
- Click one of the following buttons:
- SAVE STREAM: Click if you want to edit the integration details before creating the connector. After you save the stream, the connector that you just created is listed in the SOURCES panel. Slide the slider on the right to start the data stream.
- SAVE AND START STREAM: Click if you want to save the integration details and start receiving the data immediately.
For more information about the data streams, see Starting or stopping data streams.
To validate the integration
Perform the following actions to validate the integration:
- Data streams: Ensure that the status of the data streams is up and running, indicated by moving blue and red arrows:
- A moving dark blue arrow ( ) indicates that event data is being streamed.
- A moving red arrow ( ) indicates that metric data is being streamed.
- A moving light blue arrow ( ) indicates that topology data is being streamed.
- Events: From BMC Helix Operations Management, go to Monitoring > Events to ensure that you can see the events in BMC Helix Operations Management.
For more information, see Event monitoring.
- Metrics: From BMC Helix Operations Management, go to Monitoring > Devices and perform the following steps to ensure that you can see the metrics in BMC Helix Operations Management:
- Click the links for the required device.
- On the Monitors tab, click the required monitor.
You should see the metrics graph on the Performance Overview tab.
For more information, see Viewing collected data.
- Topology: From BMC Helix Discovery, go to Explore > Data, and then click <count> Import Records in the Miscellaneous section to ensure that you can see the CI records from the source (host) in BMC Helix Discovery. Use these records further to create a Business Service model for the source. For more information, see
Creating a model
.
Comments
Log in or register to comment.