ping monitoring tool written in Python
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file ppping-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: ppping-0.1.10-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f935a10c2158f6a620cc771f86baf86859b18bd299d02d643ec4c501b9a4d47f |
|
MD5 | 16ceffd0c0e9a6adf8fecc7cb26608f5 |
|
BLAKE2b-256 | 9032f18c6c810858930f69409cd8aca37c779c70d89a5d02fd6a9cb4f9685fbe |