open firewall for monitoring
This commit is contained in:
parent
f4155bc8a8
commit
c36ea77671
1 changed files with 14 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
services.prometheus.exporters = {
|
||||
node = {
|
||||
|
|
@ -9,6 +9,19 @@
|
|||
"--collector.softirqs"
|
||||
"--collector.tcpstat"
|
||||
];
|
||||
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
postgres = {
|
||||
enable = config.services.postgresql.enable;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services.caddy.globalConfig = "
|
||||
metrics {
|
||||
per_host
|
||||
}
|
||||
";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue