fix adding/removal of graphs (DUH). fix UCD-MIB. (also switch to /new/ format graphs soon? :))

git-svn-id: http://www.observium.org/svn/observer/trunk@2267 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-05-08 00:13:58 +00:00
parent 264ae72505
commit 2383cd1dfe
3 changed files with 32 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ $query = mysql_query("SELECT * FROM device_graphs WHERE device_id = '".$device['
while ($graph = mysql_fetch_assoc($query))
{
echo($graph['graph']."</br>");
$section = $config['graph_types']['device'][$graph['graph']]['section'];
$graph_enable[$section][$graph['graph']] = $graph['graph'];
}