Hi @KZAWILINSKI
Errors like these:
[2016-08-26 01:44:15] [NORMAL ] [main] Using best-fit collection template: [cdot-8.3.0.conf]
print() on closed filehandle LOGFILE at /opt/netapp-harvest/netapp-worker line 2754.
Write to logfile failed: Bad file descriptor
Make me think your disk is full. Can you check?
For luns I think there may be an issue if you have LUNs defined but none of them are online/mapped (like might happen in a lab, or on a DR site with lots of mirrored LUNs but none that are online/mapped). I put in a fix (in v1.3 that will release soon on Toolchest) but you can patch v1.2.2 yourself:
1) Open /opt/netapp-harvest/netapp-worker in a text editor
2) Replace lines 1141 -1151 with:
elsif ($obj eq 'lun') ## Workaround bug 764178 and 789091 whereby LUN names can be truncated or not returned at all via perf APIs
{
$in = NaElement->new('lun-get-iter');
$in->child_add_string("max-records",$batch_size);
#Get only specific attributes we use
my $desiredAttributes = new NaElement('desired-attributes');
$in->child_add($desiredAttributes);
my $lunInfo = new NaElement('lun-info');
$desiredAttributes->child_add($lunInfo);
$lunInfo->child_add_string('path','');
$lunInfo->child_add_string('uuid','');
#Get only online and mapped LUNs (only these have CM stats instances)
my $query = new NaElement('query');
$in->child_add($query);
my $queryLunInfo = new NaElement('lun-info');
$query->child_add($queryLunInfo);
$queryLunInfo->child_add_string('online','true');
$queryLunInfo->child_add_string('mapped','true');
}
Cheers,
Chris Madden
Storage Architect, NetApp EMEA (and author of Harvest)
Blog: It all begins with data
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO or both!