- Starting and stopping processes
- Controlling the Daemon
- Managing clusters
- Installing and running apps
- Remote access and monitoring (e.g. guv-web)
- Web interface
- Web interface - configuration
- Web interface - user management
- Programmatic access
- Programmatic access - local
- Programmatic access - remote
- Programmatic access - events
A web interface for the guvnor node.js process manager.
Memory usage and per-core CPU load:
Process usage graphs including heap size, resident set size, CPU, event loop latency, etc.
See stack traces for the uncaught exceptions that took your app down
Live logs for your process
- Guvnor installed on one or more servers
- A modern web browser
Here $CONFIG_DIR
is /etc/guvnor
if you are root or $HOME/.config/guvnor
if you are not.
Unless you want it to listen on privileged ports (e.g. 80 or 443), you do not need to be root to run guvnor-web.
It's generally advised to not run processes as root unless you absolutley have to, so please consider running guvnor-web as a non-priveleged user.
$ guv-web useradd alex
$ sudo guv remoteconfig
Add the following to your guvnor-web-hosts file:
[foo-bar-com]
host = foo.bar.com
port = 57483
user = root
secret = ZD57XFx6sBz....
Create a file named $CONFIG_DIR/guvnor-web-hosts
with the output from the remoteconfig
command.
$ sudo guv useradd alex
[alex.foo-bar-com]
secret = LsYd5UaH...
The file $CONFIG_DIR/guvnor-web-users
should have been created during step 1 - open it and add the output from useradd
.
If you wish to log in to guvnor-web as alex
, but need to administer a process running on a remote host as alan
, you can override the user you connect to a given server in $CONFIG_DIR/guvnor-web-users
:
[alex.foo-bar-com]
user = alan
secret = LsYd5UaH...
$ guv-web
Ouroboros style:
$ guv web
Let's Encrypt still future tech? Generate a 30 day self-signed certificate with:
$ guv-web genssl 30
If the number of days is omitted it defaults to one year.
Alternatively if you've bought an SSL certificate, configure guvnor-web according to the comments in the [https]
section of the default configuration file.