Go to file
Brendan Haines e02737abd1
All checks were successful
Python package / lint (push) Successful in 7s
Publish Python 🐍 distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Successful in 9s
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 4s
fix behavior with infinite retries
2024-09-14 17:50:59 -06:00
.github/workflows disable signing 2024-09-14 17:32:39 -06:00
.vscode messing around with nested commands in click 2024-09-13 19:59:01 -06:00
goat_monitor fix behavior with infinite retries 2024-09-14 17:50:59 -06:00
.gitignore ignore _version.py 2024-09-14 17:21:21 -06:00
Pipfile simplify Pipfile 2024-09-14 14:10:28 -06:00
Pipfile.lock relock 2024-09-14 17:43:18 -06:00
pyproject.toml allow earlier python versions 2024-09-14 17:31:23 -06:00
README.md get rid of default config path 2024-09-14 17:46:39 -06:00
setup.cfg messing around with nested commands in click 2024-09-13 19:59:01 -06:00

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.