Version 2.2.1
This commit is contained in:
@@ -78,7 +78,13 @@ metric_info["nc_active_users_last_1day"] = {
|
||||
}
|
||||
|
||||
metric_info["nc_users_free_space"] = {
|
||||
"title": _("Free Space"),
|
||||
"title": _("Free Space of User"),
|
||||
"unit": "bytes",
|
||||
"color": "22/a",
|
||||
}
|
||||
|
||||
metric_info["nc_free_space"] = {
|
||||
"title": _("Free Space on Disk"),
|
||||
"unit": "bytes",
|
||||
"color": "22/a",
|
||||
}
|
||||
|
||||
@@ -29,6 +29,34 @@ def _parameter_spec_nextcloud_info():
|
||||
)
|
||||
],
|
||||
)),
|
||||
("levels_free_space", Tuple(
|
||||
title=_("Nextcloud levels for free disk space overall"),
|
||||
elements=[
|
||||
Float(
|
||||
title=_("Warning below"),
|
||||
default_value=8.0,
|
||||
unit="GBytes",
|
||||
),
|
||||
Float(
|
||||
title=_("Critical below"),
|
||||
default_value=4.0,
|
||||
unit="GBytes",
|
||||
)
|
||||
],
|
||||
)),
|
||||
("levels_number_of_files", Tuple(
|
||||
title=_("Nextcloud number of files"),
|
||||
elements=[
|
||||
Integer(
|
||||
title=_("Warning at"),
|
||||
default_value=100000,
|
||||
),
|
||||
Integer(
|
||||
title=_("Critical at"),
|
||||
default_value=250000,
|
||||
)
|
||||
],
|
||||
)),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user