Fix sensors rrd name issue

Use last instead of first, as last won't flush rrdcached
Only stream_select if timeout > 0
Attempt to fix mysql
This commit is contained in:
Tony Murray
2016-07-08 22:58:36 -05:00
parent c01d8b7c4e
commit 01cfb960d1
8 changed files with 49 additions and 42 deletions

View File

@@ -57,9 +57,12 @@ $graph_types = array(
'upkts' => 'Unicast Packets',
'nupkts' => 'Non-Unicast Packets',
'errors' => 'Errors',
'etherlike' => 'Etherlike',
);
if ($config['enable_ports_etherlike']) {
$graph_types['etherlike'] = 'Etherlike';
}
foreach ($graph_types as $type => $descr) {
echo "$type_sep";
if ($vars['graph'] == $type && $vars['view'] == 'graphs') {