Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit c100b203 authored by Benedikt Wegmann's avatar Benedikt Wegmann
Browse files

monit: FIX undefined local variable

parent 55dff56b
No related branches found
No related tags found
No related merge requests found
<% @local_volumes.split(",").each do |volume| -%>
<% unless exclude_filesystems.include?(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
......@@ -9,7 +9,7 @@ check filesystem fs_<%= volume %> with path <%= volume %>
<% if @nfs_volumes.to_s != '' -%>
<% @nfs_volumes.split(",").each do |nfs_volume| -%>
<% unless exclude_filesystems.include?(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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment