lib/city_watch/watchmen/disk_usage.rb in city-watch-0.5.3 vs lib/city_watch/watchmen/disk_usage.rb in city-watch-0.5.4
- old
+ new
@@ -1,9 +1,9 @@
class DiskUsage
include Watchman
- set_default :usage_threshold, 60
+ set_default :usage_threshold, 75
def self.data
dat = DF.data
sum = dat.select {|d| d[:mounted]=="/"}.first
{:partitions => dat, :summary => sum[:capacity] || sum["use%".to_sym]}
\ No newline at end of file