monitoring
This commit is contained in:
parent
f06fdc75a6
commit
fbc5fead77
1 changed files with 14 additions and 2 deletions
|
@ -59,11 +59,23 @@
|
||||||
(static "keysmash" [ node ])
|
(static "keysmash" [ node ])
|
||||||
(static "ingress-proxy" [ node nginx ])
|
(static "ingress-proxy" [ node nginx ])
|
||||||
{
|
{
|
||||||
job_name = "pve1";
|
job_name = "pve_node";
|
||||||
static_configs = [
|
static_configs = [
|
||||||
{ targets = map (port: "192.168.1.128:${builtins.toString port}") [ node pve ]; }
|
{ targets = map (port: "192.168.1.128:${builtins.toString port}") [ node ]; }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "pve_pve";
|
||||||
|
static_configs = [
|
||||||
|
{ targets = [ "192.168.1.128:${builtins.toString pve}" ]; }
|
||||||
|
];
|
||||||
|
metrics_path = "/pve";
|
||||||
|
params = {
|
||||||
|
module = ["default"];
|
||||||
|
cluster = ["1"];
|
||||||
|
node = ["1"];
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue