fix: needed to open teh ports to be able to get the data

This commit is contained in:
silver 2024-05-23 22:04:15 +01:00
parent 147bd86ad5
commit f7dd90e92b
Signed by: silver
GPG key ID: 54E2C71918E93B74

View file

@ -51,6 +51,9 @@ in {
enabledCollectors = ["systemd"];
port = cfg.port_collecter;
};
# make sure the port is open
networking.firewall.allowedTCPPorts = [cfg.port_collecter];
}
(mkIf cfg.server.enable {
services.prometheus = {