HTTP service that returns a list of process' names with boolean values that respectively telling us if process is running or not. For UNIX-like OS only.
.gitignore | ||
config.example.json | ||
go.mod | ||
httpprocwatchd.service | ||
main.go | ||
Makefile | ||
README.md |
httpprocwatchd
It is a process watcher that gives processes' statuses in a JSON format via HTTP GET request on /processes endpoint.
A JSON object looks like this: { "<process name>":<true|false>, ... }
.
A configuration file is in JSON format as well. There are two options:
listen_address
is a string that looks like "[<ip|host>]:<port>"
and an array
of process names.
An example configuration is stored in config.example.json
file.