/gm

Simple server dashboard to watch disk usage, systemd units, and rkt containers

Primary LanguageGoMIT LicenseMIT

icon

gm

Status GitHub Issues GitHub Pull Requests GoDoc License


Local server management, with podman actions

About

gm is a local server monitoring minisite. It has no authentication, authorization, or access control. It is extremely simplistic. More polished alternatives like cockpit may be a better option for you. This is simply tailored to my needs over LAN.

It primarily monitors systemd service units, some of which are podman containers. It monitors the status of the services, ports in use, server disk information (blocks size, usage, inodes), and where applicable, podman container info: mounts, ports, status, image info.

gm is accessed as a website. The backend is written in go. This fetches the systemd info via dbus, and podman info via the podman REST API if you have it running. The front-end is a static site built with Nuxt and Vue.

Building & Installation

Just run make to install any needed dependencies with npm, and with go automatically.

Podman API

To get podman information, you need the podman system service running. You can run the process manually via:

podman system service -t 0

or set it up via systemd service (podman.service) or auto-activation with socket:

sudo systemctl start podman.socket
sudo systemctl enable podman.socket

License

MIT License (c) 2018 Dan Panzarella