ovido / check_nfs_io Goto Github PK
View Code? Open in Web Editor NEWThis plugin for Icinga/Nagios is used to monitor NFS share I/O utilization on Linux hosts.
License: GNU General Public License v3.0
This plugin for Icinga/Nagios is used to monitor NFS share I/O utilization on Linux hosts.
License: GNU General Public License v3.0
This check script works fine on most Linux distributions, however on Ubuntu 14.04 it isn't working. The script isn't capable of checking the values of the nfsiostat output, so no performance data shows up on the check output.
NFS I/O OK: [Mount points: /var/www]|
It's nfsiostat command fault, because the values aren't being aligned with the columns they represent:
192.168.17.1:/var/www mounted on /var/www:
op/s rpc bklog
0.60
0.00
read:
ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms)
0.013
2.150
169.751
0 (0.0%)
11.842
11.960
write:
ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms)
0.000
0.061
453.392
0 (0.0%)
97.151
120.760
Is there an easy patch I can do to adapt to this nfsiostat problem?
Lines 331 and 334 in check_nfs_io/plugin-dir/check_nfs_io.pl have an extra whitespace between the value and the UOM in the performance data.
$perfstats .= "'" . $nfsshare . "_r_avg_rtt'=$value " . "ms;;;0; ";
should be changed to
$perfstats .= "'" . $nfsshare . "_r_avg_rtt'=$value" . "ms;;;0; ";
my $projecturl = "https://labs.ovido.at/monitoring/wiki/check_nfs_io";
is a dead link ;-)
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.