Giter Club home page Giter Club logo

check_vmstat's Introduction

Bash script Nagios plugin used to analyse vmstat(8) output.

Inspired by check_apache2.

$ ./check_vmstat --help
Version 0.2, 2012, Jon Bevan (https://github.com/jdbevan)

Description:
check_vmstat is a Nagios plugin to monitor the output of 
vmstat(8) on a server. It returns a mean value based on a number
of updates for all the values provide by vmstat by default unless
specified otherwise using the arguments below.

Example calls:
./check_vmstat -P -C -Y --delay 1 --count 20
./check_vmstat --output memory,swap,io -d 3

Options:
  -P|--procs)
    Display the procs figures.
  -M|--memory)
    Display the memory figures.
  -W|--swap)
    Display the swap figures.
  -I|--io)
    Display the I/O figures.
  -Y|--system)
    Display the system figures.
  -C|--cpu)
    Display the cpu figures.

  -d|--delay)
    The delay in seconds between vmstat updates in seconds. If not 
    provided then the figures returned are the averages since system
    boot.
  -c|--count)
    The number of vmstat updates. Ignored if delay is not specified.
    Default value is 5.
  -o|--output)
    Comma separated string specifying the data output from: procs,
    memory, swap, io, system, cpu, all.
    Added to options -P -M -W -I -Y and -C. Default: all.

TODO: Allow specification of critical/warning limits as optional arguments to follow output specifiers

check_vmstat's People

Contributors

jdbevan avatar

Stargazers

elviswang avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

smerwin dyangel16

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.