Closed ghost closed 10 years ago
follow the instructions, while execute the plugin in commandline:
[root@ip-10-0-3-13 newrelic_logwatcher_agent]# ruby newrelic_logwatcher_agent.rb newrelic_logwatcher_agent.rb:130:in <module:LogwatcherAgent>': undefined methodkeys' for nil:NilClass (NoMethodError) from newrelic_logwatcher_agent.rb:66:in `(main)'
<module:LogwatcherAgent>': undefined method
sorry. it'd due to no agents configured in newrelic_plugin.yml
follow the instructions, while execute the plugin in commandline:
[root@ip-10-0-3-13 newrelic_logwatcher_agent]# ruby newrelic_logwatcher_agent.rb newrelic_logwatcher_agent.rb:130:in
<module:LogwatcherAgent>': undefined method
keys' for nil:NilClass (NoMethodError) from newrelic_logwatcher_agent.rb:66:in `(main)'