add nginx log directory
This commit is contained in:
parent
fbc453d1dd
commit
9756e86c82
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ execute "Add monitor for diaspora" do
|
|||
end
|
||||
|
||||
execute "Add monitor for nginx" do
|
||||
command "splunk add monitor /usr/local/nginx/logs"
|
||||
command "mkdir -p /usr/local/nginx/logs && splunk add monitor /usr/local/nginx/logs"
|
||||
not_if "splunk list monitor | grep nginx"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue