Alexander "Arav" Andreev
d9087102fd
Aside from JSON there is also XML available now. You need to provide an Accept: application/xml to get XML. Fixed removing from list, so it works now. Implemented reloading of list of procs by sending SIGHUP signal to process. Spread everything across multiple files for readability.
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.
Description
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.
httprocprobed ver. 3.2.0
Latest
Languages
Go
69.7%
Makefile
15.5%
Shell
14.8%