2023-03-11 14:29:54 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
from cmk.gui.plugins.metrics import perfometer_info
|
|
|
|
|
|
|
|
perfometer_info.append({
|
|
|
|
"type": "stacked",
|
|
|
|
"perfometers": [
|
|
|
|
{
|
|
|
|
"type": "linear",
|
|
|
|
"segments": ["nc_database_opcache_hit_rate"],
|
|
|
|
"total": 100.0,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
})
|
|
|
|
|
|
|
|
perfometer_info.append({
|
|
|
|
"type": "stacked",
|
|
|
|
"perfometers": [
|
|
|
|
{
|
|
|
|
"type": "linear",
|
|
|
|
"segments": ["nc_database_size"],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
})
|
|
|
|
|
|
|
|
perfometer_info.append({
|
|
|
|
"type": "stacked",
|
|
|
|
"perfometers": [
|
|
|
|
{
|
|
|
|
"type": "linear",
|
|
|
|
"segments": ["nc_users_quota_used"],
|
|
|
|
"total": 100.0,
|
|
|
|
},
|
|
|
|
],
|
2023-08-08 09:12:08 +02:00
|
|
|
})
|