diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-10 10:45:04 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-07-11 08:02:15 +0200 |
commit | bff7d1b743bc2239d7ce7ced37dd03e4e846c03d (patch) | |
tree | e8f46c07837c1c44c599673072fe34d55c767683 /modules/profile/manifests/fstab.pp | |
parent | a0df248a2be61557b8a67c3d6e4df24dc3e7843e (diff) | |
download | Puppet-bff7d1b743bc2239d7ce7ced37dd03e4e846c03d.tar.gz Puppet-bff7d1b743bc2239d7ce7ced37dd03e4e846c03d.tar.zst Puppet-bff7d1b743bc2239d7ce7ced37dd03e4e846c03d.zip |
Add monitoring for backup
Diffstat (limited to 'modules/profile/manifests/fstab.pp')
-rw-r--r-- | modules/profile/manifests/fstab.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/profile/manifests/fstab.pp b/modules/profile/manifests/fstab.pp index 8ecfe72..3af316e 100644 --- a/modules/profile/manifests/fstab.pp +++ b/modules/profile/manifests/fstab.pp | |||
@@ -15,6 +15,12 @@ class profile::fstab ( | |||
15 | device => "UUID=${infos[1]}", | 15 | device => "UUID=${infos[1]}", |
16 | fstype => $infos[2] | 16 | fstype => $infos[2] |
17 | } | 17 | } |
18 | |||
19 | @profile::monitoring::local_service { "Size on ${infos[0]} partition": | ||
20 | local => { | ||
21 | check_command => "check_local_disk!10%!5%!${infos[0]}", | ||
22 | }; | ||
23 | } | ||
18 | } | 24 | } |
19 | } | 25 | } |
20 | } | 26 | } |