leotsem / newrelic_pivotal_agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pivotal Plugins for New Relic

This README describes how to install and configure the Pivotal Plugins for New Relic. For convenenience, the procedure installs all plugins at once.

This procedure installs plugins that gather metrics about the following products and displays them in your New Relic dashboard:

  • RabbitMQ: A protocol-based messaging solution designed for cloud computing and modern, widely distributed web applications. It is the de facto standard for cloud messaging and the leading implementer of Advanced Message Queuing Protocol (AMQP), an open-standards alternative to costly, proprietary commercial messaging technologies.
  • vFabric Web Server: Web server and load-balancing component based on Apache HTTP Server.
  • Redis: Redis is an open source, BSD licensed, advanced key-value store.

Before You Begin

  • Ensure that Ruby (version 1.9.1 or later if using the RabbitMQ Plugin) is installed on the computer on which you will install the Pivotal Plugins for New Relic.
  • Install the bundle Ruby gem.
  • Ensure that the computer on which you are installing the Pivotal plugins has network access to the computer on which the desired product to be monitored (such as RabbitMQ) is installed, or that both are installed on the same computer.
  • For RabbitMQ Monitoring: Enable the RabbitMQ management plugins by executing the rabbitmq-plugins enable rabbitmq_management command. See Management Plugins.
  • For vFabric Web Server Monitoring: The vFabric Web Server monitoring module (mod_bmx) is enabled by default in a Web Server instance and allows access from localhost. If, however, the Web Server instance is on a remote machine, you will need to enable access. The default URL for BMX is http://localhost/bmx. See Configure BMX for Monitoring vFabric Web Server Instances.

Installation Procedure

  1. Create a directory that will contain the Pivotal Plugins for New Relic.

  2. Download the latest ZIP of the Pivotal Agent for New Relic from the tags section of https://github.com/gopivotal/newrelic_pivotal_agent and extract the contents into the directory you just created.

  3. In the config directory, make a copy of the template_newrelic_plugin.yml file and name it newrelic_plugin.yml

  4. Edit config/newrelic_plugin.yml and replace the string YOUR_LICENSE_KEY_HERE with your New Relic license key.

  5. If you are installing the RabbitMQ plugin: In the same config/newrelic_plugin.yml file, set the rabbitmq:management_api_url property to your RabbitMQ management URL. The configuration file contains examples which are commented out. Different RabbitMQ version use different ports.

  6. If you are installing the vFabric Web Server plugin: In the config/newrelic_plugin.yml file, set the configuration properties for your Web Server instances, such as the host and port to which they are listening. The template shows how to configure multiple Web server instances.

  7. If you are using the Redis server monitoring plugin: In config/newrelic_plugin.yml file, set the configuration properties for your redis server.

  8. If you are only using one plugin in the agent make sure the unused plugin's configuration is commented out with # in front of the lines

  9. Be sure to comment out configuration information for plugins that you are not installing from the config/newrelic_plugin.yml file.

  10. From the top-level directory, run the following commands:

    $ bundle install
    $ ./pivotal_agent
    
  11. After a brief period, the Pivotal Plugins will appear on the left of your New Relic dashboard.

Reporting Issues

Report any issues with these plugins with the Github issue tracker

Contributing

We welcome contributions. Please fork the repository and issue a pull request for changes.

About

License:MIT License


Languages

Language:Ruby 100.0%