项目作者: cloudfoundry-community

项目描述 :
Newrelic Infrastructure Agent bosh release with Integrations as jobs for reporting to New Relic
高级语言: Shell
项目地址: git://github.com/cloudfoundry-community/newrelic-infra-boshrelease.git
创建时间: 2019-05-30T16:54:54Z
项目社区:https://github.com/cloudfoundry-community/newrelic-infra-boshrelease

开源协议:MIT License

下载


BOSH Release for newrelic infrastructure monitoring agent

Usage

To use this bosh release, add the release block from Releases to your manifest, or upload a version from the cloned repository.

Then add the newrelic license (you can find this at https://rpm.newrelic.com/accounts/YOUR_ACCOUNT_NUMBER) to the properties section of your manifest file and the newrelic release to the releases section:

  1. properties:
  2. ...
  3. newrelic:
  4. license_key: foobar
  5. deployment_tag: my_deployment
  6. releases:
  7. - ...
  8. - name: newrelic-infra
  9. version: latest

Finally add the newrelic-infra job to your manifest:

  1. - instances: 1
  2. name: runner_z1
  3. ...
  4. jobs:
  5. - ...
  6. - name: newrelic-infra
  7. release: newrelic-infra

This release is packaged with custom integrations for Redis, RabbitMQ, or Vault bosh releases

RabbitMQ - Haproxy Node

  1. instance_groups:
  2. - azs:
  3. ...
  4. instances: 1
  5. jobs:
  6. - name: rabbitmq-haproxy
  7. release: cf-rabbitmq
  8. - name: newrelic-infra-rabbitmq
  9. release: newrelic-infra
  10. - name: toolbelt
  11. release: toolbelt
  12. - name: toolbelt-everything
  13. release: toolbelt
  14. name: rabbitmq_haproxy
  15. - ...
  16. properties:
  17. azs:
  18. - az1
  19. newrelic:
  20. deployment_tag: ...
  21. hostname: ...-rabbitmq
  22. license_key: ...
  23. rabbitmq:
  24. env: name-of-rabbitmq-deployment
  25. hostname: 192.168.1.150 # ip address of rmq haproxy
  26. interval: 60 # newrelic infra polling interval
  27. password: rabbit # rabbitmq management creds
  28. username: rabbit

Redis

  1. - azs:
  2. ...
  3. instances: 3
  4. jobs:
  5. - name: ...
  6. release: ...
  7. - name: newrelic-infra-redis
  8. release: newrelic-infra
  9. ...

Vault

  1. - azs:
  2. ...
  3. instances: 3
  4. jobs:
  5. - name: ...
  6. release: ...
  7. - name: newrelic-infra-vault
  8. release: newrelic-infra
  9. ...
  10. properties:
  11. newrelic:
  12. deployment_tag: env-vault
  13. license_key: ...
  14. vault_url: ((redirect_address))