diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-11 19:40:58 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-02-11 19:40:58 +0100 |
commit | e02fe27f00d899dc2c4cebc12d4679174ed512a9 (patch) | |
tree | 930c25e1fac61f6cb58b5014a4be419286fa5269 /modules/base-server.nix | |
parent | forgot lib prefix (diff) | |
download | Rory-Open-Architecture-e02fe27f00d899dc2c4cebc12d4679174ed512a9.tar.xz |
Add prometheus node exporter
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Diffstat (limited to 'modules/base-server.nix')
-rw-r--r-- | modules/base-server.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/modules/base-server.nix b/modules/base-server.nix index 41e58a4..4579496 100644 --- a/modules/base-server.nix +++ b/modules/base-server.nix @@ -46,7 +46,21 @@ extraConfig = '' MaxAuthTries 32 ''; - }; + }; + prometheus = { + exporters = { + node = { + enable = true; + port = 9100; + enabledCollectors = [ + "logind" + "systemd" + ]; + disabledCollectors = [ + #"textfile" + ]; + }; + }; }; security.sudo.wheelNeedsPassword = false; nixpkgs.config.allowUnfree = true; |