43 lines
880 B
PHP
43 lines
880 B
PHP
<?php
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage web
|
|
* @copyright (C) Adam Armstrong
|
|
*
|
|
*/
|
|
|
|
if ($_SESSION['userlevel'] < 7) {
|
|
print_error_permission();
|
|
return;
|
|
}
|
|
|
|
// Display devices as a list in detailed format
|
|
?>
|
|
<table class="table table-hover table-striped table-condensed " style="margin-top: 10px;">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th></th>
|
|
<th>Device/Location</th>
|
|
<th>Poller Performance times</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<?php
|
|
foreach ($devices as $device) {
|
|
if (device_permitted($device['device_id'])) {
|
|
if (!$location_filter || $device['location'] == $location_filter) {
|
|
print_device_row($device, 'perf');
|
|
//include("includes/hostbox-status.inc.php");
|
|
}
|
|
}
|
|
}
|
|
|
|
echo("</table>");
|
|
|
|
// EOF
|