Installing newrelic_rpm gem in Foreman

I would like to install new relic on our foreman server/app but had trouble
figuring out how to do it. Does the gem need to be installed under the
foreman user? Should it be installed inside Gemfile.in? Thanks for the
help!

Dylan

Dylan,

If you've used the installer and you're under a Red Hat based
distribution, run
$ sudo scl enable ruby193 "gem install newrelic_rpm"
create bundler.d/Gemfile.local.rb and add - gem "newrelic_rpm"
add your newrelic_config.yml to config/
$ sudo chown foreman:root newrelic_config.yml
$ sudo service foreman restart

You should see a file in /var/log/foreman/newrelic_agent.log which logs all
Foreman activity posted to New Relic. Hope this was useful.

··· On Wed, Sep 24, 2014 at 11:54 PM, Dylan Charleston < dcharleston@opentable.com> wrote:

I would like to install new relic on our foreman server/app but had
trouble figuring out how to do it. Does the gem need to be installed under
the foreman user? Should it be installed inside Gemfile.in? Thanks for
the help!

Dylan


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato

@elobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30