Skip to content

New Relic

ssiwan edited this page Apr 27, 2017 · 7 revisions
  • echo "license_key: <> " | sudo tee -a /etc/newrelic-infra.yml

  • printf "[newrelic-infra]\nname=New Relic Infrastructure\nbaseurl=http://download.newrelic.com/infrastructure_agent/linux/yum/el/6/x86_64\nenable=1\ngpgcheck=0" | sudo tee -a /etc/yum.repos.d/newrelic-infra.repo

  • yum -q makecache -y --disablerepo='*' --enablerepo='newrelic-infra'

  • sudo yum install newrelic-infra -y

  • To Uninstall infrasture
    sudo yum remove newrelic-infra

  • To check status sudo initctl <start|stop|restart|status> newrelic-infra

  1. connect your Amazon account to Infrastructure: From infrastructure.newrelic.com , select Integrations.
  2. Select Amazon Web Services additional account. Follow the instructions in the Infrastructure Integrations UI to create a role in AWS. In particular, be sure to:
  3. In the Establish trust AWS role creation step, use **754728514883 **for the Account ID, and your New Relic account number for the External ID.
  4. Copy the entire ARN, as it is required for a later step.
  5. Once you have created the new role in AWS, return to Infrastructure Integrations setup page, and select Next.
  6. On the Account name and ARN page, add a name for the AWS account, as well as the same ARN used while creating a role in the previous step. If you are connecting multiple AWS accounts to New Relic, choose an account name that is easy to differentiate from your other accounts. Select Next.
  7. On the Configure monitoring page, select the Amazon Web Services to be monitored with New Relic Infrastructure Integrations.
  8. Select Save.

Integrate Iam with newrelic

https://docs.newrelic.com/docs/infrastructure/infrastructure-integrations/getting-started/connect-aws-integrations-infrastructure

wget http://download.newrelic.com/infrastructure_agent/linux/yum/el/6/x86_64/newrelic-infra-1.0.682-1.x86_64.rpm

Clone this wiki locally