Adam Amstrong 952ae3b365 all graphs to db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2309 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 13:27:54 +00:00

14 lines
330 B
PHP

<?php
$device = device_by_id_cache($id);
$procs = dbFetchRows("SELECT * FROM `processors` where `device_id` = ?", array($id));
if($config['os'][$device['os']]['processor_stacked'] == 1)
{
include("includes/graphs/device/processor_stack.inc.php");
} else {
include("includes/graphs/device/processor_separate.inc.php");
}
?>