Fixed some misleading information strings

This commit is contained in:
2023-08-16 12:12:13 +02:00
parent 57863531fc
commit 82333a2ebc
10 changed files with 13 additions and 10 deletions

View File

@@ -96,7 +96,7 @@ metric_info["nc_database_size"] = {
}
metric_info["nc_database_opcache_hit_rate"] = {
"title": _("Database OP Cache Hit Rate"),
"title": _("Database PHP OPCache Hit Rate"),
"unit": "%",
"color": "24/a",
}

View File

@@ -17,7 +17,7 @@ def _parameter_spec_nextcloud_database():
return Dictionary(
elements=[
("levels_database_opcache_hit_rate", Tuple(
title=_("Nextcloud levels for database opcache hit rate"),
title=_("Nextcloud levels for database php opcache hit rate"),
elements=[
Percentage(
title=_("Warning below"),

View File

@@ -18,7 +18,6 @@ from cmk.gui.plugins.wato import (
)
from cmk.gui.plugins.wato.datasource_programs import RulespecGroupDatasourceProgramsCustom
#import cmk.gui.watolib as watolib
def _valuespec_special_agent_nextcloud():
return Dictionary(
@@ -53,7 +52,6 @@ def _valuespec_special_agent_nextcloud():
rulespec_registry.register(
HostRulespec(
#factory_default=watolib.Rulespec.FACTORY_DEFAULT_UNUSED,
group=RulespecGroupDatasourceProgramsCustom,
name="special_agents:nextcloud",
valuespec=_valuespec_special_agent_nextcloud,

View File

@@ -11,6 +11,7 @@ from cmk.gui.valuespec import (
Tuple,
Percentage,
Integer,
TextAscii,
Float,
)