]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tilecache.rb
Increase CPU altering thresholds for tile caches
[chef.git] / roles / tilecache.rb
index e60598efe64288c958648684777b1b0b0e24f8b5..0b19eb89088ee7092975e4be97606546205ee963 100644 (file)
@@ -12,6 +12,13 @@ default_attributes(
   :apt => {
     :sources => ["nginx"]
   },
+  :munin => {
+    :plugins => {
+      :cpu => {
+        :user => { :warning => 200, :critical => 400 }
+      }
+    }
+  },
   :sysctl => {
     :network_conntrack_time_wait => {
       :comment => "Only track completed connections for 30 seconds",
@@ -35,6 +42,5 @@ default_attributes(
 )
 
 run_list(
-  "role[geodns]",
   "recipe[tilecache]"
 )