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

github.com/y-u-r/nextcloud-zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nextcloud.conf')
-rw-r--r--nextcloud.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/nextcloud.conf b/nextcloud.conf
new file mode 100644
index 0000000..e4f4e0c
--- /dev/null
+++ b/nextcloud.conf
@@ -0,0 +1 @@
+UserParameter=nextcloud[*],curl -s https://api:"$2"@cloud.your.domain/ocs/v2.php/apps/serverinfo/api/v1/info | grep "$1" | cut -d "<" -f 2 | cut -d ">" -f 2 | head -n 1 \ No newline at end of file