Giter Site home page Giter Site logo

check_nfs_io's People

Contributors

scrat14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

check_nfs_io's Issues

This script is broken for the newer versions of nfsiostat on Ubuntu 14.04 LTS

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?

whitespace in performance data

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; ";

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.