GithubHelp home page GithubHelp logo

nagios-plugin's People

Contributors

jryberg avatar sysc0d avatar

Stargazers

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

Watchers

 avatar  avatar

nagios-plugin's Issues

For which docker version ?

Hi,

--format is not an existing parameter for docker stats (I use a Docker 1.10 on customer server), and without the pretty print format even shortid grep does not catch anything.
So, which is the lower version your script is compatible with ?

Regards
Cédric

Problems with cpu/ram parameters

Hi,

[ec2-user@ip-172-31-44-152 ~]$ sudo bash check_docker.sh --name voo4-collecte --status --cpulimitperc=00,90
Unknown argument: --cpulimitperc=00,90
Usage: ./check_docker_stats.sh [-v] [-h] [-n [-s -c -m -N]]
-h, --help
print this help message
-v, --version
print version program
-n, --name
name docker to check
-c, --cpulimitperc=PERC_WARNING_CPU,PERC_CRITCAL_CPU
number in percent alert for CPU
-m, --memlimitperc=PERC_WARNING_MEM,PERC_CRITICAL_MEM
number in percent alert for MEM usage
-N, --ntwlimit=WARNING_NET_RX,WARNING_NET_TX,CRITCAL_NET_RX,CRITCAL_NET_TX
bandwidth (RX -> DL,TX -> UL) in kBps for docker selected
-s, --status
check if docker is alive

[ec2-user@ip-172-31-44-152 ~]$ sudo bash check_docker.sh --name voo4-collecte --status --cpulimitperc 00,90
voo4-collecte OK , running

Reading the code, the equal sign is not useful, but documentation still give it
-c, --cpulimitperc**=PERC_WARNING_CPU,PERC_CRITCAL_CPU
-m, --memlimitperc
=**PERC_WARNING_MEM,PERC_CRITICAL_MEM

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.