2023-08-20 18:01:52 +02:00
|
|
|
#!/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",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
)
|
2023-08-20 18:01:52 +02:00
|
|
|
|
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,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
)
|