Get your own customer support community
 

New plugin version incompatible with older newrelic.yml

Just thought I'd point out that the config file which I was emailed that worked for v2.2.4 causes the following error to be thrown in the mongrel log (and disables the agent) when you attempt to use it with the most recent version (v2.3.3). I was able to work around it by just adding my key to the new file. Ideally it would accept the older config file with reasonable defaults for new items if possible or give a more useful error...

** [NewRelic] New Relic RPM Agent Initialized: pid = 6572
** [NewRelic] Agent Log is found in /data/ublip_blah/current/config/../log/newrelic_agent.5001.log
** [NewRelic] Error parsing /data/ublip_blah/current/config/../vendor/plugins/newrelic_rpm/../../../config/newrelic.yml
** [NewRelic] undefined method `intern' for :obfuscated:Symbol
** [NewRelic] /data/ublip_blah/current/config/../vendor/plugins/newrelic_rpm/lib/newrelic/agent/agent.rb:168:in `start_reporting'
/data/ublip_blah/current/config/../vendor/plugins/newrelic_rpm/lib/newrelic/agent/agent.rb:151:in `start'
/data/ublip_blah/current/config/../vendor/plugins/newrelic_rpm/init.rb:33:in `load_plugin'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in `load_plugin'
/usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in `load_plugin'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:185:in `load_plugins'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:185:in `each'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:185:in `load_plugins'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:105:in `process'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:43:in `send'
/usr/lib64/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:43:in `run'
/data/ublip_blah/current/config/environment.rb:17
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:147:in `rails'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:113:in `cloaker_'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:149:in `call'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:149:in `listener'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:99:in `cloaker_'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:50:in `call'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:50:in `initialize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:84:in `new'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:84:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19
** [NewRelic] Agent is disabled.
Inappropriate?
2 people have this problem

The company marked this problem solved.


User_default_medium