mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Merge remote branch 'pull/552'
This commit is contained in:
commit
d19e457c02
@ -119,7 +119,7 @@ echo "graph_title Moodle Files Size\n";
|
||||
echo "graph_args --base 1024 --lower-limit 0\n";
|
||||
echo "graph_vlabel size\n";
|
||||
echo "graph_category Moodle\n";
|
||||
echo "graph_scale no\n";
|
||||
echo "graph_scale yes\n";
|
||||
echo "graph_total total\n";
|
||||
echo "graph_info Displays the total size of moodle users files and repartition by type\n";
|
||||
|
||||
|
@ -4,6 +4,9 @@
|
||||
* Moodle Logs
|
||||
* Munin plugin to count logs entries
|
||||
*
|
||||
* Note : This plugin does not support Moodle 2.7 or newer versions
|
||||
* If you want to use this plugin with Moodle 2.7 you have to enable logstore_legacy mode in your Moodle settings
|
||||
*
|
||||
* It's required to define a container entry for this plugin in your
|
||||
* /etc/munin/plugin-conf.d/moodle.conf
|
||||
*
|
||||
|
@ -54,7 +54,7 @@ if (count($argv) === 2 && $argv[1] === 'config') {
|
||||
echo "graph_category Moodle\n";
|
||||
echo "graph_scale no\n";
|
||||
echo "graph_info Displays the sum of module, as well as module instance number by type, in your Moodle site\n";
|
||||
echo "graph_total.label total\n";
|
||||
echo "graph_total total\n";
|
||||
$draw = "AREA";
|
||||
foreach($data as $entry) {
|
||||
echo "modules_".$entry->modulename.".label ".$entry->modulename."\n";
|
||||
|
Loading…
Reference in New Issue
Block a user