Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josacar/myvaping
My setup to monitor latency
https://github.com/josacar/myvaping
site-monitoring smokeping
Last synced: 11 days ago
JSON representation
My setup to monitor latency
- Host: GitHub
- URL: https://github.com/josacar/myvaping
- Owner: josacar
- Created: 2024-07-12T15:05:47.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-07-15T18:12:59.000Z (5 months ago)
- Last Synced: 2024-10-25T01:40:41.168Z (about 2 months ago)
- Topics: site-monitoring, smokeping
- Language: Shell
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```