monitoring

This commit is contained in:
41666 2024-02-11 04:01:00 -05:00
parent 730b7793c1
commit 3b7106314f

View file

@ -47,20 +47,21 @@
ports = { ports = {
node = 14200; node = 14200;
nginx = 14201; nginx = 14201;
pve = 14210;
}; };
in [ in with ports; [
(static "aerial" [ ports.node ]) (static "aerial" [ node ])
(static "pineapple" [ ports.node ports.nginx ]) (static "pineapple" [ node nginx ])
(static "watermelon" [ ports.node ports.nginx ]) (static "watermelon" [ node nginx ])
(static "mango" [ ports.node ]) (static "mango" [ node ])
(static "happystaticbuzz" [ ports.node ]) (static "happystaticbuzz" [ node ])
(static "keylime" [ ports.node ]) (static "keylime" [ node ])
(static "keysmash" [ ports.node ]) (static "keysmash" [ node ])
(static "ingress-proxy" [ ports.node ports.nginx ]) (static "ingress-proxy" [ node nginx ])
{ {
job_name = "pve1"; job_name = "pve1";
static_configs = [ static_configs = [
{ targets = [ "192.168.1.128:${builtins.toString ports.node}" ]; } { targets = [ map (port: "192.168.1.128:${builtins.toString port}") [ node pve ] ]; }
]; ];
} }
]; ];