MKP 0.2.2, checks for absolute values of configured mailboxes/aliases added
This commit is contained in:
@@ -45,4 +45,16 @@ metric_info["mailcow_domains_messages"] = {
|
||||
"title": _("Global Number of Messages"),
|
||||
"unit": "count",
|
||||
"color": "24/a",
|
||||
}
|
||||
|
||||
metric_info["mailcow_domains_configured_aliases"] = {
|
||||
"title": _("Number of Configured Aliases"),
|
||||
"unit": "count",
|
||||
"color": "24/a",
|
||||
}
|
||||
|
||||
metric_info["mailcow_domains_configured_mailboxes"] = {
|
||||
"title": _("Number of Configured Mailboxes"),
|
||||
"unit": "count",
|
||||
"color": "24/b",
|
||||
}
|
||||
@@ -75,7 +75,20 @@ def _parameter_spec_mailcow_domains():
|
||||
],
|
||||
)),
|
||||
("levels_mailcow_domains_num_aliases", Tuple(
|
||||
title=_("Number of aliases"),
|
||||
title=_("Number of configured aliases"),
|
||||
elements=[
|
||||
Integer(
|
||||
title=_("Warning at"),
|
||||
default_value=100,
|
||||
),
|
||||
Integer(
|
||||
title=_("Critical at"),
|
||||
default_value=250,
|
||||
)
|
||||
],
|
||||
)),
|
||||
("levels_mailcow_domains_num_mailboxes", Tuple(
|
||||
title=_("Number of configured mailboxes"),
|
||||
elements=[
|
||||
Integer(
|
||||
title=_("Warning at"),
|
||||
|
||||
Reference in New Issue
Block a user