Files
librenms-librenms/includes/html/graphs/device/processor.inc.php

10 lines
328 B
PHP
Raw Normal View History

<?php
$procs = dbFetchRows('SELECT * FROM `processors` where `device_id` = ?', array($device['device_id']));
if (\LibreNMS\Config::get("os.{$device['os']}.processor_stacked")) {
include 'includes/html/graphs/device/processor_stack.inc.php';
} else {
include 'includes/html/graphs/device/processor_separate.inc.php';
}