forked from Fachschaft/nixConfig
Enable prometheus node exporter by default
This commit is contained in:
parent
bb93d3aed5
commit
559c5a47ad
1 changed files with 7 additions and 0 deletions
|
@ -55,5 +55,12 @@ services = {
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prometheus.exporters.node = {
|
||||||
|
enable = true;
|
||||||
|
port = 9100;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
# Prometheus Monitoring
|
||||||
|
networking.firewall.allowedTCPPorts = [ 9100 ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue