Subscribe

NetApp-Harvest install problem

Hello,

 

I'ved instaled netapp-harvest-1.2.2.zip and unzip netapp-manageability-sdk-5.3.1.zip at a RHEL 6.6 with 

Name : perl
Arch : x86_64
Epoch : 4
Version : 5.10.1
Release : 136.el6

 

Getting the following error's at test of

# /opt/netapp-harvest/netapp-manager

Can't locate JSON.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/netapp-harvest/netapp-manager line 22.
BEGIN failed--compilation aborted at /opt/netapp-harvest/netapp-manager line 22.


# /opt/netapp-harvest/netapp-worker
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/netapp-harvest/netapp-worker line 30.
BEGIN failed--compilation aborted at /opt/netapp-harvest/netapp-worker line 30.

 

Does someone knows how to fix?

 

Regards, Maarten de Boer.

 

Re: NetApp-Harvest install problem

[ Edited ]

Hello your error is indicating you are missing perl packages.

Here are the commands to add via yum. 

 

sudo yum install perl-Time-HiRes

sudo yum install perl-JSON

 

 

Re: NetApp-Harvest install problem


olson wrote:

Hello your error is indicating you are missing perl packages.

Here are the commands to add via yum. 

 

sudo yum install perl-Time-HiRes

sudo yum install perl-JSON

 

 


Hello Olson,

Thanks for your suggestion.

The 1st worked:

Installed:
perl-Time-HiRes.x86_64 4:1.9721-136.el6

Complete!

 

The 2nd not:

No package perl-JSON available.
Error: Nothing to do

 

Any clue. I'm not familiar with those perl installations (yet).

Thanks, Maarten de Boer.

 

Re: NetApp-Harvest install problem

Sorry to hear you are still having issues with this installation. 

 

A complete installation and configuraiton guide was published on the communities site which may be helpful in resolving your issues. 

http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Articles-and-Resources/How-to-install-Graphite-and-Grafana/ta-p/109456

 

 

Re: NetApp-Harvest install problem

I succeeded by doing (as root);

# yum install cpan

# cpan JSON

 

Found in http://stackoverflow.com/questions/11753529/install-perl-json-on-centos

 

Regards, Maarten de Boer