Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/griesbacher/check_jitter
Poor man's jitter check for nagios, based on ping.
https://github.com/griesbacher/check_jitter
Last synced: about 1 month ago
JSON representation
Poor man's jitter check for nagios, based on ping.
- Host: GitHub
- URL: https://github.com/griesbacher/check_jitter
- Owner: Griesbacher
- License: gpl-3.0
- Created: 2016-01-20T12:14:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T12:28:33.000Z (almost 9 years ago)
- Last Synced: 2023-03-02T14:46:32.595Z (almost 2 years ago)
- Language: Python
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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]]
hostPoor 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 Hostoptional 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
``` bash
$ python check_jitter.py -c 20 -w 5 baidu.com
WARNING - baidu.com: 7ms | 'baidu.com'=7ms;5;20;0;
```