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 = {
node = 14200;
nginx = 14201;
pve = 14210;
};
in [
(static "aerial" [ ports.node ])
(static "pineapple" [ ports.node ports.nginx ])
(static "watermelon" [ ports.node ports.nginx ])
(static "mango" [ ports.node ])
(static "happystaticbuzz" [ ports.node ])
(static "keylime" [ ports.node ])
(static "keysmash" [ ports.node ])
(static "ingress-proxy" [ ports.node ports.nginx ])
in with ports; [
(static "aerial" [ node ])
(static "pineapple" [ node nginx ])
(static "watermelon" [ node nginx ])
(static "mango" [ node ])
(static "happystaticbuzz" [ node ])
(static "keylime" [ node ])
(static "keysmash" [ node ])
(static "ingress-proxy" [ node nginx ])
{
job_name = "pve1";
static_configs = [
{ targets = [ "192.168.1.128:${builtins.toString ports.node}" ]; }
{ targets = [ map (port: "192.168.1.128:${builtins.toString port}") [ node pve ] ]; }
];
}
];