mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix demo front page and collectd graphs
git-svn-id: http://www.observium.org/svn/observer/trunk@3176 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -92,7 +92,7 @@ print_optionbar_end();
|
||||
echo("</div>");
|
||||
|
||||
$graph_array['type'] = "device_collectd";
|
||||
$graph_array['id'] = $device['device_id'];
|
||||
$graph_array['device'] = $device['device_id'];
|
||||
|
||||
$graph_array['c_plugin'] = $vars['plugin'];
|
||||
$graph_array['c_plugin_instance'] = $instance;
|
||||
|
||||
@@ -18,7 +18,7 @@ foreach ($dev_list as $device_id => $descr)
|
||||
$graph_array['height'] = "100";
|
||||
$graph_array['width'] = "310";
|
||||
$graph_array['to'] = $config['time']['now'];
|
||||
$graph_array['id'] = $device_id;
|
||||
$graph_array['device'] = $device_id;
|
||||
$graph_array['type'] = "device_bits";
|
||||
$graph_array['from'] = $config['time']['day'];
|
||||
$graph_array['legend'] = "no";
|
||||
|
||||
Reference in New Issue
Block a user