Add pve monitoring
This commit is contained in:
17
services/monitoring/pve.nix
Normal file
17
services/monitoring/pve.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets.pve_exporter = {
|
||||
format = "yaml";
|
||||
sopsFile = ../../secrets/monitoring01/pve-exporter.yaml;
|
||||
key = "";
|
||||
mode = "0444";
|
||||
};
|
||||
services.prometheus.exporters.pve = {
|
||||
enable = true;
|
||||
configFile = config.sops.secrets.pve_exporter.path;
|
||||
collectors = {
|
||||
cluster = false;
|
||||
replication = false;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user