feat: db & git backups, bots on matrix, proxmox monitors, ...

This commit is contained in:
Xavier Morel
2025-11-19 22:01:27 +01:00
parent 4035967f21
commit e7aa43acaf
17 changed files with 116 additions and 21 deletions

View File

@@ -15,6 +15,20 @@ in
"--web.enable-remote-write-receiver"
"--storage.tsdb.retention.time=${config.globals.retention}"
];
exporters.pve = {
enable = true;
collectors = {
cluster = true;
config = false;
node = true;
replication = false;
resources = true;
status = true;
version = true;
};
configFile = config.age.secrets.metrics-pve.path;
port = 9221;
};
globalConfig = {
scrape_interval = "30s";
};
@@ -30,6 +44,14 @@ in
service = "prometheus";
};
}
{
targets = [ "localhost:9221" ];
labels = {
host = tools.build_hostname "proxmox";
host_ip = tools.build_ip "proxmox";
service = "proxmox";
};
}
];
}
]