Let me start of by saying i LOVE NetApp harvest. It provides a LOT of insight.
It is however quite a hassle to set up (especially when lacking linux experience.
For that reasom I'm trying to install and configure it without a specific IP-configuration and without controllers added.
(So I can export it, copy it to my customers locations and set it up with minimal effort)
Now I'm running into a problem:
Once I arive at the step where you import the dashboard, harvest gives me an error:
root@SRV-NOCH-01:/opt/netapp-harvest# /opt/netapp-harvest/netapp-manager -import [OK ] Will import dashboards to https://localhost:443 [ERROR ] Failed to import dashboard [db_netapp-dashboard-7-mode-group.json] due to error: 500 SSL_verify_mode must be a number and not a string [ERROR ] -Response was :SSL_verify_mode must be a number and not a string at /usr/share/perl5/IO/Socket/SSL.pm line 2166.
I have a feeling it can be a few things:
- Im running a newer version of Grafana root@SRV-NOCH-01:/opt/netapp-harvest# apt-show-versions grafana grafana:amd64/wheezy 3.0.4-1464167696 uptodate
- Im using either localhost or 127.0.0.1 everywhere (in combination with DHCP)
- I havent fully configured harvest (/opt/netapp-harvest/netapp-harvest.conf only contains info about Grafana and Graphite)
[OK ] Will import dashboards to http://127.0.0.1:443 [ERROR ] Failed to import dashboard [db_netapp-detail-graphite-server.json] due to error: 500 addr is not a string [ERROR ] -Response was :addr is not a string at /usr/share/perl/5.20/IO/Socket/IP.pm line 453.
I have the same problem but the fix did not work for me :(.
Perl Version: revision 5 version 16 subversion 3
[ERROR ] Failed to import dashboard [db_netapp-dashboard-7-mode-group.json] due to error: 500 addr is not a string
[ERROR ] -Response was :addr is not a string at /usr/share/perl5/vendor_perl/IO/Socket/IP.pm line 662.
After some debugging, I got a message, that my api key was invalid. So I changed the grafana api key and now it works 🙂