Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ncp-config.d/metrics.cfg')
-rw-r--r--etc/ncp-config.d/metrics.cfg28
1 files changed, 28 insertions, 0 deletions
diff --git a/etc/ncp-config.d/metrics.cfg b/etc/ncp-config.d/metrics.cfg
new file mode 100644
index 00000000..07e60ab2
--- /dev/null
+++ b/etc/ncp-config.d/metrics.cfg
@@ -0,0 +1,28 @@
+{
+ "id": "metrics",
+ "name": "System Metrics, that can be collected by an external server",
+ "title": "System Metrics",
+ "description": "Prometheus (https://prometheus.io) compatible metrics for things like, CPU/memory/disk usage etc.",
+ "info": "In order to use these metrics, you will need to setup at least an external Prometheus instance. You can find a quick and easy way to start at https://github.com/theCalcaholic/ncp-monitoring-dashboard",
+ "infotitle": "External service required",
+ "params": [
+ {
+ "id": "ACTIVE",
+ "name": "Active",
+ "value": "no",
+ "type": "bool"
+ },
+ {
+ "id": "USER",
+ "name": "Metrics User",
+ "value": "metrics",
+ "suggest": "metrics"
+ },
+ {
+ "id": "PASSWORD",
+ "name": "Metrics Password",
+ "value": "",
+ "type": "password"
+ }
+ ]
+}