aleex42/Collectd-Plugins-NetApp

Having issues getting this going

trenb opened this issue · 3 comments

trenb commented

Unfortunately the documentation links you provided no longer exist. If I use your sample configs, I get:

[2015-11-27 23:05:44] perl: init_pi: Unable to bootstrap Collectd: Can't locate Devel/NetApp.pm in @INC (@INC contains: /opt/git/Collectd-Plugins-NetApp/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted
[2015-11-27 23:05:44] perl: Configuration failed with a fatal error - plugin disabled!

Would it be possible to get your documentation examples up again?

Thank you in advance!

trenb commented

And if I put the pieces where collectd is wanting them, I only get:

[2015-11-27 23:10:15] perl: Initializing Perl interpreter...
[2015-11-27 23:10:15] perl: Initializing Perl interpreter...
[2015-11-27 23:10:15] perl: Initializing Perl interpreter...
[2015-11-27 23:10:15] perl: Initializing Perl interpreter...
[2015-11-27 23:10:15] perl: Initializing Perl interpreter...
[2015-11-27 23:10:15] perl: Initializing Perl interpreter...
[2015-11-27 23:10:15] perl: Initializing Perl interpreter...
[2015-11-27 23:10:16] perl: Initializing Perl interpreter...
[2015-11-27 23:10:16] perl: Initializing Perl interpreter...
[2015-11-27 23:10:16] perl: Initializing Perl interpreter...
[2015-11-27 23:10:16] perl: Initializing Perl interpreter...
[2015-11-27 23:10:16] perl: Initializing Perl interpreter...

Here is my /etc/collectd.d/netapp.conf:

# Sniplet for /etc/collectd/collectd.conf

<LoadPlugin perl>
    Globals true
</LoadPlugin>

<Plugin perl>
        IncludeDir "/opt/git/Collectd-Plugins-NetApp/"
        BaseName "Collectd::Plugins"
        EnableDebugger "NetApp"
        LoadPlugin NetApp
</Plugin>

and the /etc/collectd/netapp.ini

# Sample Credentials File

# Specify Hostname, Credentials and Type of NetApp Data ONTAP (7-Mode or Clustered ONTAP)

[fas2554-admin.mycomapny.com]
Username=graphite
Password=xxx
Mode=cDOT
Modules=CPU,Aggr,Volume,NIC,Disk

Sorry for this very late answer. I think you are missing the NetApp SDK (at /usr/lib/netapp-management-sdk.... )

trenb commented

Nope, I had it. However I could never make this work. I ended up switching to the Netapp-Harvest utility they provide to ship the metrics I need to graphite. Anyhow, thanks for getting back to me! I've closed this ticket.