Giter Club home page Giter Club logo

check-sar-perf's Introduction

I Love org-mode and CFEngine.

check-sar-perf's People

Contributors

nickanderson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

check-sar-perf's Issues

how to work with /dev/cciss/c0d0p1

Hi,

thanks for the great check_plugin.
i've got a HP raidcontroller loaded with the kernel module cciss, so i get the devices like this:
storage plugins # mount
/dev/cciss/c0d0p1 on / type ext4 (rw,errors=remount-ro)

but if i try to check them with your plugin i get following error:

storage plugins # /usr/lib/nagios/plugins/check_sar_perf.py disk c0d1
Traceback (most recent call last):
File "/usr/lib/nagios/plugins/check_sar_perf.py", line 189, in
Main(sys.argv)
File "/usr/lib/nagios/plugins/check_sar_perf.py", line 173, in Main
sar = SarNRPE(myOpts[args[1]],args[2])
File "/usr/lib/nagios/plugins/check_sar_perf.py", line 70, in init
(columns, data) = self.SortCombinedOutput(sout, device)
File "/usr/lib/nagios/plugins/check_sar_perf.py", line 109, in SortCombinedOutput
mycolumns = mycolumns[0].split()
IndexError: list index out of range

i've tried to give /dev/cciss/c0d1 and cciss/c0d1

what is the right syntax?

Looping several Disks

Hi,

would it be possible to add:

  • filtering specific Counters
  • Warning + Critically Values to place it customized
  • adding possibility for several Devices in 1 line

example

./check-sar-perf disk sda sdb -f rd_secs -w 5 -c 25

thx

max

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.