]> git.openstreetmap.org Git - chef.git/blobdiff - roles/base.rb
Set alert thresholds for ntp offset
[chef.git] / roles / base.rb
index 5ffc5dee9adf35ad3fd6129bd85e1cb759582e36..859c154b48a080484e46588a94713e5643a4a281 100644 (file)
@@ -13,6 +13,13 @@ default_attributes(
   :apt => {
     :sources => ["openstreetmap"]
   },
   :apt => {
     :sources => ["openstreetmap"]
   },
+  :munin => {
+    :plugins => {
+      :ntp_offset => {
+        :offset => { :warning => "20", :critical => "100" }
+      }
+    }
+  },
   :networking => {
     :roles => {
       :internal => { :metric => 200, :zone => "loc" },
   :networking => {
     :roles => {
       :internal => { :metric => 200, :zone => "loc" },