Commit Graph

3 Commits (0f7b48e357de2286a591531ed272d9038f316eba)

Author SHA1 Message Date
Dustin e3a349e3a1 pkg/alertmanager: Configure state directory
dustin/metricspi/pipeline/head This commit looks good Details
AlertManager is a stateful service, and as such needs a writable
location for its data.  Using the `StateDirectory` service unit
directive, we can configure systemd to create this directory
automatically, if it does not already exist when the service starts.

In order for the service to be able to write to the state directory, it
must have a stable UID.  This means it cannot use the `DynamicUser`
service unit directive.
2022-08-10 18:21:36 -05:00
Dustin 8099546ec8 pkg/alertmanager: Add systemd unit
dustin/metricspi/pipeline/head This commit looks good Details
The *alertmanager.service* systemd unit allows the AlertManager to run
as a daemon process.
2022-08-10 17:40:17 -05:00
Dustin 5a9e9c0597 Add Grafana, AlertManager, vmutils
The *vmutils* package can be built from source easily, as its just a
collection of Go applications.  Grafana and Alertmanager are quite a bit
more complicated because of their respective browser applications.  In
the interest of getting this project actually going, we'll just install
the official binary releases of these (for now?).
2022-06-26 12:35:12 -05:00