]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/profile/manifests/fstab.pp
Add monitoring for backup
[perso/Immae/Projets/Puppet.git] / modules / profile / manifests / fstab.pp
index 8ecfe723dc016685464d3db6a4d321bb7f26016a..3af316e2808bf23afeac853ae2f69d44d1089120 100644 (file)
@@ -15,6 +15,12 @@ class profile::fstab (
         device => "UUID=${infos[1]}",
         fstype => $infos[2]
       }
+
+      @profile::monitoring::local_service { "Size on ${infos[0]} partition":
+        local => {
+          check_command => "check_local_disk!10%!5%!${infos[0]}",
+        };
+      }
     }
   }
 }