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
@@ -5,7 +5,7 @@ $i = 0;
foreach ($procs as $proc) {
$rrd_filename = rrd_name($device['hostname'], array('processor', $proc['processor_type'], $proc['processor_index']));
if (is_file($rrd_filename)) {
if (rrdtool_check_rrd_exists($rrd_filename)) {
$descr = short_hrDeviceDescr($proc['processor_descr']);
$rrd_list[$i]['filename'] = $rrd_filename;