monitoring

This commit is contained in:
41666 2024-02-11 04:21:17 -05:00
parent f06fdc75a6
commit fbc5fead77

View file

@ -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"];
};
}
]; ];
}; };