Skip to content

Griesbacher/check_jitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

check_jitter

Poor man's check_jitter. Measures the jitter by ping or other external tools. Works with python 2 and 3, as well on Windows and Linux. ##Usage

usage: check_jitter.py [-h] [--tool [TOOL]] [-w [WARN]] [-c [CRIT]]
                       [--retries [RETRIES]]
                       host

Poor man's check_jitter. Measures the jitter by ping or other external tools.
Available @ https://github.com/Griesbacher/check_jitter - Philip Griesbacher
Pings the target twice with a delay of one second. Returns the difference
between the rtt. If one ping did not success it will wait a second and try
again.

positional arguments:
  host                 Target Host

optional arguments:
  -h, --help           show this help message and exit
  --tool [TOOL]        External tool to measure the jitter. Supported: ping.
                       Default: ping.
  -w [WARN]            Warning threshold
  -c [CRIT]            Critical threshold
  --retries [RETRIES]  Retires for lost ping package. Default: 3

###Example

$ python check_jitter.py  -c 20 -w 5 baidu.com
WARNING - baidu.com: 7ms | 'baidu.com'=7ms;5;20;0;

About

Poor man's jitter check for nagios, based on ping.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages