monitoring
This commit is contained in:
parent
730b7793c1
commit
3b7106314f
1 changed files with 11 additions and 10 deletions
|
@ -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 ] ]; }
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue