Giter VIP home page Giter VIP logo

netapp-ontap-monitoring-rest's People

Contributors

aleex42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dh-roland

netapp-ontap-monitoring-rest's Issues

check_volume.pl breaks with offline volumes

hi, thanks for doing this perl port!

in check_volume you get a division by zero if a volume is offline, this would work around the problem:

diff --git a/check_volume.pl b/check_volume.pl
index 7095125..b729fd7 100755
--- a/check_volume.pl
+++ b/check_volume.pl
@@ -227,6 +227,8 @@ foreach my $vol (sort { $a->{name} cmp $b->{name} } @$volumes){
                }
        }
 
+       next unless $vol->{'files'};
+
        my $inode_used = $vol->{'files'}->{'used'};
        my $inode_total = $vol->{'files'}->{'maximum'};
 

Check_volume problem

Hi Aleex42:
First of all, thanks for de plugins.

check_volume.pl -H IP -u user -p password -w90 -c 95 -V ALFRESCO_INTEG -P
CRITICAL: ALFRESCO_INTEG (Size: 403.58 GB/400.00 GB, 101%[>=95%])|Volume_count::check_cdot_volume_count::count=1;;;0;; Vol_ALFRESCO_INTEG::check_cdot_volume_usage::space_used=433336909824B;386547056640;408021893120;0;429496729600 inode_used=1832204;8093691;10584058;0;12451833 snap_used=7127040B;54760833024;65712999628;0;73014444032 data_total=429496729600B snap_total=73014444032B

In netapp I see the volume with 209GB used off 400GB, Why?.

Thanks you so much.

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.