2018-04-21 15:52:45 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
2018-04-28 07:41:43 +00:00
|
|
|
krebs.iptables.tables.filter.INPUT.rules = [
|
|
|
|
{ predicate = "-i retiolum -p tcp --dport 9100 -s ${config.krebs.hosts.prism.nets.retiolum.ip4.addr}"; target = "ACCEPT"; v6 = false; }
|
|
|
|
{ predicate = "-i retiolum -p tcp --dport 9100 -s ${config.krebs.hosts.prism.nets.retiolum.ip6.addr}"; target = "ACCEPT"; v4 = false; }
|
|
|
|
];
|
2018-04-21 15:52:45 +00:00
|
|
|
services.prometheus.exporters = {
|
|
|
|
node = {
|
|
|
|
enable = true;
|
|
|
|
enabledCollectors = [
|
|
|
|
"systemd"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|