monitoring

This commit is contained in:
41666 2024-02-11 00:54:49 -05:00
parent a0311c4837
commit 2670aee5f1
3 changed files with 38 additions and 27 deletions

View file

@ -6,6 +6,7 @@ in {
../../server.nix
../../features/dns-cache.nix
../../features/nginx.nix
../../features/telemetry.nix
];
networking.hostName = "ingress-proxy";

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ ... }: {
imports = [
../../templates/proxmox-lxc.nix
../../server.nix
@ -9,10 +9,6 @@
system.stateVersion = "24.05";
nixpkgs.hostPlatform = "x86_64-linux";
#networking.firewall.allowedTCPPorts = [
# config.services.grafana.settings.server.http_port
#];
services.grafana = {
enable = true;
settings = {
@ -48,8 +44,22 @@
}
];
};
port = 14200;
in [
(static "aerial" [ 14200 ])
(static "aerial" [ port ])
(static "pineapple" [ port (port + 1) ])
(static "watermelon" [ port (port + 1) (port + 2) ])
(static "mango" [ port ])
(static "happystaticbuzz" [ port ])
(static "keylime" [ port ])
(static "keysmash" [ port ])
(static "ingress-proxy" [ port ])
{
job_name = "pve1";
static_configs = [
{ targets = [ "192.168.1.128:${port}" ]; }
];
}
];
};