Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
filesystems.erb 702 B
Newer Older
<% @local_volumes.split(",").each do |volume| -%>
<% unless @exclude_filesystems.include?(volume) -%>

check filesystem fs_<%= volume %> with path <%= volume %>
        if space usage > 80% for 5 times within 15 cycles then alert
        if inode usage > 80% for 5 times within 15 cycles then alert
<% end -%>
Benedikt Wegmann's avatar
Benedikt Wegmann committed
<% end -%>
<% if @nfs_volumes.to_s != '' -%>
<% @nfs_volumes.split(",").each do |nfs_volume| -%>
<% unless @exclude_filesystems.include?(nfs_volume) -%>

check filesystem fs_<%= nfs_volume %> with path <%= nfs_volume %>
        if space usage > 80% for 5 times within 15 cycles then alert
        if inode usage > 80% for 5 times within 15 cycles then alert
<% end -%>
<% end -%>