I have installed logwatcher plugin in my linux servers and received the following output.
ruby newrelic_logwatcher_agent.rb
[Wed Oct 10 23:56:03 UTC 2018] WARN: SSL is disabled by default when using Ruby 1.8.x
[Wed Oct 10 23:56:03 UTC 2018] INFO: Using Ruby SDK version: 1.3.1
[Wed Oct 10 23:56:03 UTC 2018] INFO: Agent Logwatcher is at version 0.0.2
[Wed Oct 10 23:56:03 UTC 2018] DEBUG: Start collecting agent data for poll cycle
[Wed Oct 10 23:56:03 UTC 2018] DEBUG: Finished collecting agent data for poll cycle
/usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/component.rb:14:in key': undefined method+' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:101:in component_has_metrics?' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:85:inbuild_components_array'
from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:84:in each' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:84:inbuild_components_array'
from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:69:in build_request_data_structure' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:16:indeliver'
from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:128:in loop_forever' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:15:insetup_and_run'
from newrelic_logwatcher_agent.rb:137
Where the output is not reported in our new relic monitoring system
I have installed logwatcher plugin in my linux servers and received the following output.
ruby newrelic_logwatcher_agent.rb [Wed Oct 10 23:56:03 UTC 2018] WARN: SSL is disabled by default when using Ruby 1.8.x [Wed Oct 10 23:56:03 UTC 2018] INFO: Using Ruby SDK version: 1.3.1 [Wed Oct 10 23:56:03 UTC 2018] INFO: Agent Logwatcher is at version 0.0.2 [Wed Oct 10 23:56:03 UTC 2018] DEBUG: Start collecting agent data for poll cycle [Wed Oct 10 23:56:03 UTC 2018] DEBUG: Finished collecting agent data for poll cycle /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/component.rb:14:in
key': undefined method
+' for nil:NilClass (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:101:incomponent_has_metrics?' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:85:in
build_components_array' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:84:ineach' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:84:in
build_components_array' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:69:inbuild_request_data_structure' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:16:in
deliver' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:128:inloop_forever' from /usr/lib/ruby/gems/1.8/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:15:in
setup_and_run' from newrelic_logwatcher_agent.rb:137Where the output is not reported in our new relic monitoring system