Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josacar/myvaping

My setup to monitor latency
https://github.com/josacar/myvaping

site-monitoring smokeping

Last synced: 15 days ago
JSON representation

My setup to monitor latency

Awesome Lists containing this project

README

        

This is the repository for the setup of [vaping](https://github.com/20c/vaping) to check my internal and some third-party DNS providers.

This comes with some scripts for Debian boxes:
- `setup.sh` Enables ping for normal users below Max UID without SUID ( for podman `uidmap` )
- `deps.sh` Installs python, poetry and the vaping dependencies in a virtualenv.
- `vaping.sh` Has the probes to check the targets and use 0mq for transport
- `web.sh` Gets the metrics from 0mq and exposes `gunicorn` and the `flask` application.

This setup is reproducible and work with Python 3.11.

# Podman

Use `Dockerfile` to build the image and run it with this command ( where `PWD` is this repository )

```
git clone https://github.com/josacar/myvaping.git
cd myvaping
sh setup.sh
podman run --cap-add net_raw -ti -w /app -v $PWD:/app vaping poetry run vaping start --home=config/vaping --no-fork --debug
```