monitoring

This commit is contained in:
41666 2024-02-11 01:37:53 -05:00
parent 6d35bcf7d1
commit dfc23c5c92

View file

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