Brendan Haines
5891409fdb
All checks were successful
Python package / lint (push) Successful in 6s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Successful in 8s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Successful in 5s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to TestPyPI (push) Successful in 5s
|
||
---|---|---|
.github/workflows | ||
.vscode | ||
goat_monitor | ||
.gitignore | ||
Pipfile | ||
Pipfile.lock | ||
pyproject.toml | ||
README.md | ||
setup.cfg |
Goat Monitor
A command line tool for remotely monitoring command execution using Gotify.
Yes, I know Gotify doesn't have "goat" in its name but it sounds like it.
Configuration
Configuration lives in a TOML file which should have (at a minimum) the following:
server = "https://gotify.example.com"
app_token = "app_token_from_gotify"
Usage
goat_monitor --config ./config.toml --retries 3 -- <COMMAND TO MONITOR>
The command can be any shell command including arbitrarily many options / arguments.
Note that --
is often necessary to prevent options within the monitored command from being parsed as options to goat_monitor.