Add pve monitoring
Some checks failed
Run nix flake check / flake-check (push) Failing after 23m15s
Periodic flake update / flake-update (push) Successful in 1m47s

This commit is contained in:
2024-12-03 18:01:48 +01:00
parent 64c48ce07d
commit 4b38158780
4 changed files with 79 additions and 0 deletions

View File

@@ -124,6 +124,34 @@
}
];
}
{
job_name = "pve-exporter";
static_configs = [
{
targets = [ "10.69.12.75" ];
}
];
metrics_path = "/pve";
params = {
module = [ "default" ];
cluster = [ "1" ];
node = [ "1" ];
};
relabel_configs = [
{
source_labels = [ "__address__" ];
target_label = "__param_target";
}
{
source_labels = [ "__param_target" ];
target_label = "instance";
}
{
target_label = "__address__";
replacement = "127.0.0.1:9221";
}
];
}
];
};
}