This commit is contained in:
parent
87fab8c3e7
commit
8e2a0d0c88
1 changed files with 13 additions and 4 deletions
|
|
@ -54,11 +54,20 @@ quota "User quota" {
|
|||
}
|
||||
}
|
||||
|
||||
# Set one warning level to 95%
|
||||
warning warn-95 {
|
||||
quota_storage_percentage = 95
|
||||
# Set one warning level to 100%
|
||||
warning warn-100 {
|
||||
quota_storage_percentage = 100
|
||||
execute quota-warning {
|
||||
args = 95 %{user}
|
||||
args = 100 %{user}
|
||||
}
|
||||
}
|
||||
|
||||
# User is no longer over quota
|
||||
warning warn-under {
|
||||
quota_storage_percentage = 100
|
||||
threshold = under
|
||||
execute quota-warning {
|
||||
args = below %{user}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue