Skip to content

Commit

Permalink
Point collectd df at "/", "/mnt", and "/data/travis" on travis-worker…
Browse files Browse the repository at this point in the history
… hosts
  • Loading branch information
Dan Buch committed Dec 1, 2014
1 parent 32bae18 commit fbc9f8d
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions worker_host/travis_worker_collectd/recipes/ec2-docker.rb
Expand Up @@ -8,16 +8,11 @@
options :interface => %w[eth0 docker0]
end

collectd_plugin "df" do
options :mount_point => "/",
:report_reserved => false,
:report_inodes => false,
:values_percentage => true
end

collectd_plugin "df" do
options :mount_point => "/mnt",
:report_reserved => false,
:report_inodes => false,
:values_percentage => true
%w[/ /mnt /data/travis].each do |mount_point|
collectd_plugin "df" do
options :mount_point => mount_point,
:report_reserved => false,
:report_inodes => false,
:values_percentage => true
end
end

0 comments on commit fbc9f8d

Please sign in to comment.