mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -56,8 +56,8 @@ foreach (dbFetchRows($sql, $param) as $processor) {
|
||||
$perc = round($processor['processor_usage'], 0);
|
||||
$graph_array['type'] = $graph_type;
|
||||
$graph_array['id'] = $processor['processor_id'];
|
||||
$graph_array['from'] = $config['time']['day'];
|
||||
$graph_array['to'] = $config['time']['now'];
|
||||
$graph_array['from'] = \LibreNMS\Config::get('time.day');
|
||||
$graph_array['to'] = \LibreNMS\Config::get('time.now');
|
||||
$graph_array['height'] = '20';
|
||||
$graph_array['width'] = '80';
|
||||
$graph_array_zoom = $graph_array;
|
||||
@@ -77,7 +77,7 @@ foreach (dbFetchRows($sql, $param) as $processor) {
|
||||
if ($vars['view'] == 'graphs') {
|
||||
$graph_array['height'] = '100';
|
||||
$graph_array['width'] = '216';
|
||||
$graph_array['to'] = $config['time']['now'];
|
||||
$graph_array['to'] = \LibreNMS\Config::get('time.now');
|
||||
$graph_array['id'] = $processor['processor_id'];
|
||||
$graph_array['type'] = $graph_type;
|
||||
$return_data = true;
|
||||
|
||||
Reference in New Issue
Block a user