Fixed some misleading information strings
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -11,6 +11,7 @@ from cmk.gui.valuespec import (
|
||||
Tuple,
|
||||
Percentage,
|
||||
Integer,
|
||||
TextAscii,
|
||||
Float,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user