2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

remove forum_discussions

This commit is contained in:
ak4t0sh 2014-09-23 00:04:06 +02:00
parent 79e9b2b9da
commit 4a8a998519

View File

@ -45,9 +45,6 @@ if (count($argv) === 2 && $argv[1] === 'config') {
echo "forum_posts.label posts\n"; echo "forum_posts.label posts\n";
echo "forum_posts.min 0\n"; echo "forum_posts.min 0\n";
echo "forum_posts.draw AREA\n"; echo "forum_posts.draw AREA\n";
echo "forum_discussions.draw STACK\n";
echo "forum_discussions.min 0\n";
echo "forum_discussions.label discussions\n";
exit(0); exit(0);
} }
@ -64,9 +61,3 @@ if (($stmt = $dbh->query("SELECT count(id) FROM {$table_prefix}forum_posts WHERE
$nb = $stmt->fetchColumn(); $nb = $stmt->fetchColumn();
} }
echo "forum_posts.value $nb\n"; echo "forum_posts.value $nb\n";
$nb = 0;
if (($stmt = $dbh->query("SELECT count(id) FROM {$table_prefix}forum_discussions WHERE timemodified > $graph_period")) != false) {
$nb = $stmt->fetchColumn();
}
echo "forum_discussions.value $nb\n";