Bladeren bron

updated readme

sebastian 4 jaren geleden
bovenliggende
commit
da1eb84712
1 gewijzigde bestanden met toevoegingen van 23 en 0 verwijderingen
  1. 23 0
      README.md

+ 23 - 0
README.md

@@ -0,0 +1,23 @@
+# Nextcloud Munin Plugin
+This repository contains a munin plugin writen as a bash script to gather information about the size of the nextcloud instance. 
+
+## install
+Copy the script du_nextcloud into the directory of your munin plugins, e.g 
+```
+cp ./du_nextcloud /usr/share/munin/plugins
+```
+Then link the plugin into the munin configuration folder, e.g.
+```
+    ln -s /usr/share/munin/plugins/du_nextcloud /etc/munin/plugins/du_nextcloud
+```
+
+Make sure the script runs as root. Add the following two lines at the end of the file /etc/munin/plugin-conf.d/munin-node
+```
+[du_nextcloud]
+user root
+```
+
+Test your installation with 
+```
+munin-run du_nextcloud
+```