Hi Chefs,I'm facing issue with mysql in datadog. Please help me to find out the solution. Am i doing anything wrong? od do i have to include the information of DB like database credentials etc.========================================================192.168.204.75192.168.204.75 NoMethodError192.168.204.75 -------------192.168.204.75 undefined method `[]' for nil:NilClass192.168.204.75192.168.204.75 Cookbook Trace:192.168.204.75 ---------------192.168.204.75 /var/chef/cache/cookbooks/datadog/recipes/mysql.rb:24:in `block in from_file'192.168.204.75 /var/chef/cache/cookbooks/datadog/recipes/mysql.rb:23:in `from_file'192.168.204.75 /var/chef/cache/cookbooks/keas-datadog/recipes/mysql.rb:3:in `from_file'192.168.204.75 /var/chef/cache/cookbooks/keas-percona/recipes/default.rb:19:in `from_file'192.168.204.75192.168.204.75 Relevant File Content:192.168.204.75 ----------------------192.168.204.75 /var/chef/cache/cookbooks/datadog/recipes/mysql.rb:192.168.204.75192.168.204.75 17: # "replication: 0",192.168.204.75 18: # "galera_cluster: 1"192.168.204.75 19: # ]192.168.204.75 20: # },192.168.204.75 21: # ]192.168.204.75 22:192.168.204.75 23: datadog_monitor 'mysql' do192.168.204.75 24>> instances node['datadog']['mysql']['instances']192.168.204.75 25: end192.168.204.75 26:192.168.204.75 27:192.168.204.75 28:192.168.204.75192.168.204.75192.168.204.75 Running handlers:192.168.204.75 [2014-11-20T15:50:04+05:30] ERROR: Running exception handlers192.168.204.75 Running handlers complete192.168.204.75 [2014-11-20T15:50:04+05:30] ERROR: Exception handlers complete192.168.204.75 [2014-11-20T15:50:04+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out192.168.204.75 Chef Client failed. 0 resources updated in 2.890363666 seconds192.168.204.75 [2014-11-20T15:50:04+05:30] ERROR: undefined method `[]' for nil:NilClass192.168.204.75 [2014-11-20T15:50:04+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccesfully (exit code 1)Regards,Sakhamuri.
Archive powered by MHonArc 2.6.16.