ppping
Description
ping monitoring tool written in Python affected deadman
Demo
Environment
ppping works using python's curses
List of environments actually checking the operation
- Linux distribution (Ubuntu, ArchLinux)
- Windows Subsystem for Linux (Ubuntu)
- UNIX (macOS)
Requirements
- Python 3.5 or later
- cURL (optional: used to acquire global IP)
Install
From PyPi
$ pip install -U ppping
Standalone (recommended)
Download standalone script to a directory that is convenient for you (e.g. "~/.local/bin/" or "/usr/local/bin/")
$ curl "https://raw.githubusercontent.com/johejo/ppping/master/standalone/ppping" -O
$ chmod +x ppping
Usage
Simple Usage
$ ppping foo.com bar.org WW.XX.YY.ZZ ...
Futher help
$ ppping --help
Config File Usage
$ ppping -c [CONFIG_FILE]
This is a sample of configuration file.
[Hosts] google: www.google.com google DNS: 8.8.8.8 GitHub: www.github.com
Docker image
$ docker run --rm -it johejo/ppping foo.bar ...
When using the docker container, you can not read the config file by the method shown above.
It is necessary to mount the config file on the container. For example -v CONFIGFILE:/CONFIGFILE
License
MIT