2016-08-15 17:46:10 -03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
$graphs = array(
|
2017-05-04 22:04:10 +12:00
|
|
|
'unbound_queries' => 'Unbound - Queries',
|
2018-04-25 21:52:12 +02:00
|
|
|
'unbound_cache' => 'Unbound - Cache',
|
2020-03-05 11:35:23 +01:00
|
|
|
'unbound_operations' => 'Unbound - Operations',
|
|
|
|
|
'unbound_requestlist' => 'Unbound - Request list',
|
|
|
|
|
'unbound_recursiontime' => 'Unbound - Recursion time'
|
2016-08-18 20:28:22 -05:00
|
|
|
);
|
|
|
|
|
foreach ($graphs as $key => $text) {
|
|
|
|
|
$graph_type = $key;
|
2016-08-15 17:46:10 -03:00
|
|
|
$graph_array['height'] = '100';
|
|
|
|
|
$graph_array['width'] = '215';
|
2019-06-23 00:29:12 -05:00
|
|
|
$graph_array['to'] = \LibreNMS\Config::get('time.now');
|
2016-08-15 17:46:10 -03:00
|
|
|
$graph_array['id'] = $app['app_id'];
|
|
|
|
|
$graph_array['type'] = 'application_'.$key;
|
|
|
|
|
|
|
|
|
|
echo '<div class="panel panel-default">
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
<h3 class="panel-title">'.$text.'</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<div class="row">';
|
2019-04-11 23:26:42 -05:00
|
|
|
include 'includes/html/print-graphrow.inc.php';
|
2016-08-15 17:46:10 -03:00
|
|
|
echo '</div>';
|
|
|
|
|
echo '</div>';
|
|
|
|
|
echo '</div>';
|
2016-08-18 20:28:22 -05:00
|
|
|
}
|