aleex42 / netapp-ontap-monitoring-rest Goto Github PK
View Code? Open in Web Editor NEWNetApp Monitoring over REST-API (Nagios, Icinga, CheckMK, etc.)
License: GNU General Public License v3.0
NetApp Monitoring over REST-API (Nagios, Icinga, CheckMK, etc.)
License: GNU General Public License v3.0
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'};
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.