Mailcow-CheckMK/local/share/check_mk/web/plugins/perfometer/mailcow_perfometers.py

45 lines
929 B
Python
Raw Normal View History

#!/usr/bin/env python3
from cmk.gui.plugins.metrics import perfometer_info
2025-01-25 11:30:43 +01:00
perfometer_info.append(
{
"type": "stacked",
"perfometers": [
{
"type": "linear",
"segments": [
"mc_num_domains",
"mc_num_mailboxes",
"mc_num_global_messages",
],
},
],
}
)
2025-01-25 11:30:43 +01:00
perfometer_info.append(
{
"type": "stacked",
"perfometers": [
{
"type": "linear",
"segments": ["mailcow_domains_used_quota"],
"total": 100.0,
},
],
}
)
2023-08-26 15:02:28 +02:00
2025-01-25 11:30:43 +01:00
perfometer_info.append(
{
"type": "stacked",
"perfometers": [
{
"type": "linear",
"segments": ["mailcow_mailboxes_used_quota"],
"total": 100.0,
},
],
}
)