diff --git a/chef/cookbooks/common/recipes/splunk.rb b/chef/cookbooks/common/recipes/splunk.rb index 04d6354a4..e2ec2a498 100644 --- a/chef/cookbooks/common/recipes/splunk.rb +++ b/chef/cookbooks/common/recipes/splunk.rb @@ -34,10 +34,10 @@ execute "Add monitor for diaspora" do not_if "splunk list monitor | grep diaspora" end -execute "Add monitor for nginx" do - command "mkdir -p /usr/local/nginx/logs && splunk add monitor /usr/local/nginx/logs" - not_if "splunk list monitor | grep nginx" -end +#execute "Add monitor for nginx" do + #command "mkdir -p /usr/local/nginx/logs && splunk add monitor /usr/local/nginx/logs" + #not_if "splunk list monitor | grep nginx" +#end execute 'Splunk Restart' do command "splunk restart"