From 8a63b627d141b3beef6bdd5aef2ca02d3c203905 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 17 Nov 2010 12:01:54 -0800 Subject: [PATCH] Have splunk monitor the diaspora dir --- chef/cookbooks/common/recipes/splunk.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chef/cookbooks/common/recipes/splunk.rb b/chef/cookbooks/common/recipes/splunk.rb index a962aaf78..27067993b 100644 --- a/chef/cookbooks/common/recipes/splunk.rb +++ b/chef/cookbooks/common/recipes/splunk.rb @@ -26,3 +26,6 @@ execute "Add forwarding server" do command "cd /opt/splunk/bin && ./splunk add forward-server splunk.joindiaspora.com:9997 -auth admin:changeme" end +execute "Add monitor for diaspora" do + command "cd /opt/splunk/bin && ./splunk add monitor /usr/local/app/diaspora/log" +end