search for: puppetagentrun

Displaying 1 result from an estimated 1 matches for "puppetagentrun".

2012 Aug 07
0
hooking NewRelic into Puppet agent
...; require ''newrelic_rpm'' > require ''new_relic/agent/instrumentation/controller_instrumentation'' > NewRelic::Agent.manual_start > include NewRelic::Agent::Instrumentation::ControllerInstrumentation > perform_action_with_newrelic_trace(:name => "PuppetAgentRun: > #{`hostname`}", :category => :task) do > require ''puppet/util/command_line'' > Puppet::Util::CommandLine.new.execute > end This (and a newrelic.yml) gets me some basic information in NewRelic''s Background Tasks showing data like this: Categ...