HTTP service that returns a list of process' names with boolean values that respectively telling us if process is running or not.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Alexander Andreev c7fe073623
Code was restructurised again. Moved out back to root dir.
9 months ago
contrib Moving aux files into contrib dir. Added PKGBULD for Archlinux. 9 months ago
.gitignore [.gitignore] Let it suite this project already. 9 months ago
LICENSE License is switched to MIT+NIGGER. :) 9 months ago
Makefile Now also store a copy of license when installing. 9 months ago
README.md Added license notice to README. 9 months ago
confguration.go Code was restructurised again. Moved out back to root dir. 9 months ago
errors.go Code was restructurised again. Moved out back to root dir. 9 months ago
go.mod Initial commit. 2 years ago
main.go Code was restructurised again. Moved out back to root dir. 9 months ago
processlist.go Code was restructurised again. Moved out back to root dir. 9 months ago
server.go Code was restructurised again. Moved out back to root dir. 9 months ago
util.go Code was restructurised again. Moved out back to root dir. 9 months ago

README.md

httpprocwatchd Ver 1.3

License: MIT+NIGGER.

This utility provides a HTTP /processes GET endpoint that returns a list of processes and if they are currently running or not.

A list of processes could be in JSON or XML format, By default JSON being returned. To get XML you need to provide a Accept: application/xml header in GET reqest.

A JSON object looks like this: { "process": true|false, ... }.

And XML <ProcessList><Process name="process">true|false</Process>...</ProcessList>.

Configuration file is a simple JSON object consisting of listen_address string field in form "[<ip|host>]:<port>". And processes array of process names.