Configuring New Relic Observer jobs
Use New Relic Observer when you have a New Relic account with a New Relic Infrastructure subscription. Using New Relic Observer, you can configure jobs that dynamically load New Relic Infrastructure resource data via New Relic for analysis by Netcool Agile Service Manager.
Before you begin
Ensure you have the New Relic account and New Relic Infrastructure subscription details to hand, such as the account name, account ID, and New Relic Insights API query key.
"SINCE 4 hours ago LIMIT 1000"
About this task
The Observer uses the New Relic Infrastructure subscription and makes active New Relic Query Language (NRQL) calls over REST to New Relic Insights to download New Relic Infrastructure resource data.
- Host
- Storage
- OS
- Network Interfaces
- Processes
The New Relic Observer job extracts New Relic Infrastructure resources from New Relic using New Relic Query Language (NRQL) over REST. The observer loads and updates the resources and their relationships within the Agile Service Manager core topology service.
- Load
- By default, Load jobs are one-off, transient jobs that perform a full upload of all requested topology data as soon as they are triggered.
| Parameter | Action | Details |
|---|---|---|
| Unique ID | Enter a unique name for the job. | Required |
| New Relic Name | Specify the New Relic account name or tenant name. | Required |
| New Relic account ID | Specify the New Relic account ID. | Required. For more information, see account ID tip |
| New Relic Insights Query API key | Specify the New Relic Insights Query API key. | Required. Must be encrypted. For more information, see query API key tip |
| filterCriteria | Extend the result set returned to Agile Service Manager. |
Optional. The default value is 'SINCE 4 hours ago LIMIT 1000'. For more information, see the documentation for New Relic Query Language. |
| Job schedule | Specify when the job runs. | Optional. Load jobs only. |
| Observer job description | Enter additional information to describe the job. | Optional |
https://login.newrelic.com/login and then obtain the account ID from this URL:
https://rpm.newrelic.com/accounts/<accountId>
- Encryption requirement
- The load job requires the insightsQueryAPIKey in encrypted form. To encrypt the
insightsQueryAPIKey, run the encrypt_password.sh script in the
ASM_HOME/bin directory:
Enter and then confirm the password. The encryption utility will return an encrypted password../bin/encrypt_password.sh
Procedure
Results
This job loads all requested topology data. Run this job whenever you need New Relic topology data refreshed.