1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00

replace some draw area by draw stack

This commit is contained in:
ak4t0sh 2014-09-16 13:34:46 +02:00
parent afc0bcab08
commit e0ed244962
2 changed files with 5 additions and 4 deletions

View file

@ -55,11 +55,12 @@ if (count($argv) === 2 && $argv[1] === 'config') {
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";
$draw = "AREA";
foreach($data as $entry) {
echo "modules_".$entry->modulename.".label ".$entry->modulename."\n";
echo "modules_".$entry->modulename.".min 0\n";
echo "modules_".$entry->modulename.".draw AREA\n";
echo "modules_".$entry->modulename.".draw $draw\n";
$draw = "STACK";
}
exit(0);
}

View file

@ -48,9 +48,9 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "users_active.min 0\n";
echo "users_active.draw AREA\n";
echo "users_suspended.min 0\n";
echo "users_suspended.draw AREA\n";
echo "users_suspended.draw STACK\n";
echo "users_deleted.min 0\n";
echo "users_deleted.draw AREA\n";
echo "users_deleted.draw STACK\n";
exit(0);
}