Ajout du monitoring par prometheus-node-exporter

4-message-d-erreur-en-cas-d-echec-de-sudo
Lzebulon 2024-12-10 23:28:08 +01:00
parent 428e049254
commit 2be452e89b
No known key found for this signature in database
GPG Key ID: D6CDAB8050CBBE7D
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,7 @@
./users.nix
./home.nix
./sops.nix
./monitoring.nix
];
services.qemuGuest.enable = true;

View File

@ -0,0 +1,9 @@
{...}:
{
services.prometheus.exporters.node = {
enable = true;
port = 9100;
openFirewall = true;
};
}