Eradicate is file checks for our rrds (leave them for nfsen and collectd)

This commit is contained in:
Tony Murray
2016-07-08 15:09:11 -05:00
parent c5c5469179
commit c01d8b7c4e
98 changed files with 133 additions and 133 deletions

View File

@@ -5,7 +5,7 @@ $i = 0;
foreach ($ports as $port) {
$rrd_file = get_port_rrdfile_path ($port['hostname'], $port['port_id']);
if (is_file($rrd_file)) {
if (rrdtool_check_rrd_exists($rrd_file)) {
$rrd_list[$i]['filename'] = $rrd_file;
$rrd_list[$i]['descr'] = $port['ifDescr'];
$i++;