Compare commits

...

1 Commits

Author SHA1 Message Date
colin 39496985f9 servo: add `munin` for monitoring/metrics 2022-10-21 02:15:07 -07:00
3 changed files with 20 additions and 0 deletions

View File

@ -8,6 +8,7 @@
./jackett.nix
./jellyfin.nix
./matrix
./munin.nix
./navidrome.nix
./nginx.nix
./pleroma.nix

View File

@ -0,0 +1,12 @@
{ config, ... }:
{
services.munin-node.enable = true;
services.munin-cron = {
enable = true;
# collect data from the localhost
hosts = ''
[${config.networking.hostName}]
address localhost
'';
};
}

View File

@ -57,6 +57,13 @@
# };
};
# server statistics
services.nginx.virtualHosts."sink.uninsane.org" = {
addSSL = true;
enableACME = true;
root = "/var/www/munin";
};
# Pleroma server and web interface
services.nginx.virtualHosts."fed.uninsane.org" = {
addSSL = true;