34 lines
676 B
Python
34 lines
676 B
Python
|
#!/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,
|
||
|
},
|
||
|
],
|
||
|
})
|