Global Refresh

This commit is contained in:
2023-08-08 09:12:08 +02:00
parent 881c767571
commit 6712e46cee
16 changed files with 37 additions and 10 deletions

View File

@@ -33,6 +33,7 @@ OPTIONS:
# set this to true to produce debug output (this clutters the agent output)
# be aware: activating this logs very sensitive information to debug files in ~/tmp
# !!DO NOT FORGET to delete these files after debugging is done!!
DEBUG = False
nc_api_endpoint = "ocs/v2.php/apps/serverinfo/api/v1/info?format=json"

View File

@@ -13,4 +13,4 @@ description:
Shows several information about a Nextcloud database (type/version/size).
The check will raise WARN/CRIT if Database OP cache hit rate is below the configurable levels.
inventory:
one service is created (with several details)
one service is created (with several details)

View File

@@ -15,4 +15,4 @@ description:
The check will raise WARN/CRIT if free space on disk is below the configurable levels.
The check will raise WARN/CRIT if the number of installed apps with available updates is above the configurable levels.
inventory:
one service is created (with several details)
one service is created (with several details)

View File

@@ -16,4 +16,4 @@ description:
item:
userid
inventory:
one service is created for each user
one service is created for each user

View File

@@ -11,4 +11,4 @@ def agent_nextcloud_arguments(params, hostname, ipaddress):
ipaddress,
]
special_agent_info['nextcloud'] = agent_nextcloud_arguments
special_agent_info['nextcloud'] = agent_nextcloud_arguments

View File

@@ -132,4 +132,4 @@ graph_info["number_of_active_users_combined"] = {
("nc_active_users_last_1hour", "stack"),
("nc_active_users_last_1day", "stack"),
],
}
}

View File

@@ -31,4 +31,4 @@ perfometer_info.append({
"total": 100.0,
},
],
})
})

View File

@@ -40,4 +40,4 @@ rulespec_registry.register(
parameter_valuespec=_parameter_spec_nextcloud_database,
title=lambda: _("Nextcloud Database"),
)
)
)

View File

@@ -4,6 +4,7 @@ from cmk.gui.plugins.wato import (
rulespec_registry,
RulespecGroupCheckParametersApplications
)
from cmk.gui.valuespec import (
Dictionary,
ListChoice,

View File

@@ -4,6 +4,7 @@ from cmk.gui.plugins.wato import (
rulespec_registry,
RulespecGroupCheckParametersOperatingSystem,
)
from cmk.gui.valuespec import (
Dictionary,
ListChoice,

View File

@@ -4,6 +4,7 @@ from cmk.gui.plugins.wato import (
rulespec_registry,
RulespecGroupCheckParametersApplications
)
from cmk.gui.valuespec import (
Dictionary,
ListChoice,