Global Refresh
This commit is contained in:
parent
881c767571
commit
6712e46cee
23
.gitignore
vendored
Normal file
23
.gitignore
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# PyCache
|
||||
__pycache__/
|
||||
|
||||
# ---> VisualStudioCode
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/*.code-snippets
|
||||
|
||||
# Local History for Visual Studio Code
|
||||
.history/
|
||||
|
||||
# Built Visual Studio Code Extensions
|
||||
*.vsix
|
||||
|
||||
# Exclude all "private" files (Ralf Mellis)
|
||||
RaMe*
|
||||
|
||||
# Exclude all "private" files (Torsten Behne)
|
||||
TB*
|
||||
|
@ -76,4 +76,4 @@ register.check_plugin(
|
||||
"levels_database_opcache_hit_rate": (99.7, 99.1),
|
||||
},
|
||||
check_ruleset_name="nextcloud_database",
|
||||
)
|
||||
)
|
@ -182,4 +182,4 @@ register.check_plugin(
|
||||
"levels_number_of_files": (100000, 250000),
|
||||
},
|
||||
check_ruleset_name="nextcloud_info",
|
||||
)
|
||||
)
|
@ -95,4 +95,4 @@ register.check_plugin(
|
||||
"levels_users_free_space": (256.0, 128.0)
|
||||
},
|
||||
check_ruleset_name="nextcloud_users",
|
||||
)
|
||||
)
|
||||
|
@ -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"
|
||||
|
@ -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)
|
@ -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)
|
@ -16,4 +16,4 @@ description:
|
||||
item:
|
||||
userid
|
||||
inventory:
|
||||
one service is created for each user
|
||||
one service is created for each user
|
@ -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
|
||||
|
@ -132,4 +132,4 @@ graph_info["number_of_active_users_combined"] = {
|
||||
("nc_active_users_last_1hour", "stack"),
|
||||
("nc_active_users_last_1day", "stack"),
|
||||
],
|
||||
}
|
||||
}
|
||||
|
@ -31,4 +31,4 @@ perfometer_info.append({
|
||||
"total": 100.0,
|
||||
},
|
||||
],
|
||||
})
|
||||
})
|
||||
|
@ -40,4 +40,4 @@ rulespec_registry.register(
|
||||
parameter_valuespec=_parameter_spec_nextcloud_database,
|
||||
title=lambda: _("Nextcloud Database"),
|
||||
)
|
||||
)
|
||||
)
|
||||
|
@ -4,6 +4,7 @@ from cmk.gui.plugins.wato import (
|
||||
rulespec_registry,
|
||||
RulespecGroupCheckParametersApplications
|
||||
)
|
||||
|
||||
from cmk.gui.valuespec import (
|
||||
Dictionary,
|
||||
ListChoice,
|
||||
|
@ -4,6 +4,7 @@ from cmk.gui.plugins.wato import (
|
||||
rulespec_registry,
|
||||
RulespecGroupCheckParametersOperatingSystem,
|
||||
)
|
||||
|
||||
from cmk.gui.valuespec import (
|
||||
Dictionary,
|
||||
ListChoice,
|
||||
|
@ -4,6 +4,7 @@ from cmk.gui.plugins.wato import (
|
||||
rulespec_registry,
|
||||
RulespecGroupCheckParametersApplications
|
||||
)
|
||||
|
||||
from cmk.gui.valuespec import (
|
||||
Dictionary,
|
||||
ListChoice,
|
||||
|
0
mkp/Nextcloud-2.2.0.mkp
Normal file → Executable file
0
mkp/Nextcloud-2.2.0.mkp
Normal file → Executable file
Loading…
Reference in New Issue
Block a user