Coder Social home page Coder Social logo

aleex42 / collectd-plugins-netapp Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 207 KB

NetApp Modules for Collectd Perl Plugin

License: GNU General Public License v3.0

Perl 100.00%
netapp netapp-ontap-cluster collectd-plugins-netapp netapp-modules collectd-perl-plugin perl capacity-planning

collectd-plugins-netapp's People

Contributors

aleex42 avatar simplyryan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

collectd-plugins-netapp's Issues

Missing Flash.pm file

Hello, I just installed you plugin and noticed that the file Flash.pm is missing.

I commented it out in NetApp.pm and removed the Flash metrics and seems to be working correctly.

netapp.ini sample : DF should be renamed to Aggr

Hi,
First, thank for this module !

Some comments:

in netapp.ini , DF should be rename to Aggr

Also, you should add note in readme that sdk in required
/usr/lib/netapp-manageability-sdk-5.1/lib/perl/NetApp

and also that netapp.ini should be in
/etc/collectd/netapp.ini

Check if instances is empty in Volumes.pm

Very frequently I get the following error and collectd dies:
Can't call method "children_get" on an undefined value at /root/Collectd-Plugins-NetApp//Collectd/Plugins/NetApp/Volume.pm line 175

Apparently I'm getting an empty instances object. To avoid the error when we get an empty $instances, I'm using the following patch:

diff --git a/Collectd/Plugins/NetApp/Volume.pm b/Collectd/Plugins/NetApp/Volume.pm
index c155940..4667722 100644
--- a/Collectd/Plugins/NetApp/Volume.pm
+++ b/Collectd/Plugins/NetApp/Volume.pm
@@ -172,7 +172,7 @@ sub cdot_qos_policy {
my $xo = connect_filer($hostname)->invoke_elem($instance_api);

 my $instances = $xo->child_get("instances");
  • my @instance_result = $instances->children_get();
  • my @instance_result = $instances->children_get() if $instances;

my %vol_values;

Having issues getting this going

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!

Can't locate Collectd/Plugins/NetApp/FlashCache.pm

Hi guys,

In the file NetApp.pm, line 26, invokes the next lib:
use Collectd::Plugins::NetApp::FlashCache qw(flashcache_module);

But the FlashCache.pm file is not in the folder.
Could you upload it or is it in development?

Thanks!!
Regards.

Problems while moving volumes around

It seems theres a problem while moving volumes from one aggregate to another.

Volume name before: vol_test01
Volume name after: vol_test01(1)

The volume name in the clustershell is the same name as before, but in the nodeshell there is an additionall "(1)" which creates a new graph ...

No fix yet :(

segfault in SSLeay.so

Hello,

When I run the Perl plugin it returns the following error:
kernel: collectd [10813]: segfault at c58 ip 00007f6e3d89f359 sp 00007f6e36492620 error 4 in SSLeay.so [7f6e3d892000 + 6f000]

Our collectd configuration:

LoadPlugin perl

<Plugin perl>
IncludeDir "/apps/collectd/scripts/NetApp"
BaseName "Collectd::Plugins"
LoadPlugin NetApp
</Plugin>

The version of collectd is 5.5.0.
The OS version is CentOS Linux release 7.3

Before we had this plugin and it worked correctly (the version of collectd and OS is the same).

Thanks!!
Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.