Rauks / MuninCloudPlugins

Munin plugins monitoring Owncloud or Nextcloud
13 stars 0 forks source link
munin-plugins nextcloud owncloud shell sql

MuninCloudPlugins

Simple Munin plugins for monitoring Owncloud (tested with Owncloud 9.1) or Nextcloud (should be compatible with Nextcloud 9 and 10, tested with Nextcloud 11)

Plugins

Configuration

Sample setup for '/etc/munin/plugin-conf.d/munin-node':

[cloud_*]
env.dbuser owncloud
env.dbpassword password
env.dbname owncloud
env.dbtableprefix oc_
env.quotaratio 0.95

env.dbuser can be any user having a SELECT right on the env.dbname database used by Owncloud/Nextcloud. Or at least a SELECT right on the following tables:

The pulgins are currently assuming that the owncloud database is a MySQL one, on localhost. The table prefix can changed using env.dbtableprefix (by default, it's the owncloud default one which is used: oc_).

Samples

Graphs

cloud_disk:

cloud_disk

cloud_session:

cloud_session

cloud_storage:

cloud_storage

Graph informations

cloud_storage: (quota thresholds can be changed using env.quotaratio) cloud_storage