Enable prometheus node exporter by default #19
1 changed files with 7 additions and 0 deletions
|
@ -55,5 +55,12 @@ services = {
|
|||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
prometheus.exporters.node = {
|
||||
Gonne marked this conversation as resolved
Outdated
|
||||
enable = true;
|
||||
port = 9100;
|
||||
};
|
||||
};
|
||||
# Prometheus Monitoring
|
||||
networking.firewall.allowedTCPPorts = [ 9100 ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue
This is the closing bracket of the services record, there should be less white space, right?