Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

chef cookbook for newrelic_mongodb_agent #5

Open
kamal2222ahmed opened this issue Apr 23, 2017 · 0 comments
Open

chef cookbook for newrelic_mongodb_agent #5

kamal2222ahmed opened this issue Apr 23, 2017 · 0 comments

Comments

@kamal2222ahmed
Copy link

Hi,
I am interested in developing a cookbook for newrelic_mongodb_agent , if there is one already, please let me know.
From what i read so far, is that i need to develop a cookbook, to incorporate the following:

  1. run bundle install to install required gems
  2. Copy config/newrelic_plugin.yml.example to config/newrelic_plugin.yml
  3. Edit config/newrelic_plugin.yml and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
  4. Edit the config/newrelic_plugin.yml file and add MongoDB connection and database settings
  5. Running the plugin

In order to check your configuration, you can launch the plugin
in foreground mode, with all output going to stdout:

./newrelic_mongodb_agent

Carefully check plugin's output for any possible error messages.
In case of success, collected data should appear in the New Relic
user interface shortly after starting.

Plugin can also be started as a daemon using the following command:

./newrelic_mongodb_agent.daemon start

while putting the files in the hierarchies that the cookbook will parse

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant