diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/base-server.nix | 90 | ||||
-rw-r--r-- | modules/monitoring/postgres.nix | 2 |
2 files changed, 46 insertions, 46 deletions
diff --git a/modules/base-server.nix b/modules/base-server.nix index 9e248e4..7473513 100755 --- a/modules/base-server.nix +++ b/modules/base-server.nix @@ -81,51 +81,51 @@ hardware.enableRedistributableFirmware = false; services = { - prometheus = { - exporters = { - node = { - enable = true; - port = 9100; - enabledCollectors = [ - #"logind" #too slow - "systemd" - "processes" - "interrupts" - # Testing: - "buddyinfo" - "cgroups" - "ksmd" - "lnstat" - "mountstats" - "network_route" - #"perf" # requires sysctl change - "qdisc" - "sysctl" - "softirqs" - "tcpstat" - ]; - disabledCollectors = [ - "textfile" - "xfs" - "zfs" - "selinux" - "cpufreq" - "btrfs" - "powersupplyclass" - "mdadm" - "tapestats" - "fibrechannel" - "cpu_vulnerabilities" - "watchdog" - "thermal_zone" - "logind" - "nfs" - "nfsd" - "infiniband" - ]; - }; - }; - }; +# prometheus = { +# exporters = { +# node = { +# enable = true; +# port = 9100; +# enabledCollectors = [ +# #"logind" #too slow +# "systemd" +# "processes" +# "interrupts" +# # Testing: +# "buddyinfo" +# "cgroups" +# "ksmd" +# "lnstat" +# "mountstats" +# "network_route" +# #"perf" # requires sysctl change +# "qdisc" +# "sysctl" +# "softirqs" +# "tcpstat" +# ]; +# disabledCollectors = [ +# "textfile" +# "xfs" +# "zfs" +# "selinux" +# "cpufreq" +# "btrfs" +# "powersupplyclass" +# "mdadm" +# "tapestats" +# "fibrechannel" +# "cpu_vulnerabilities" +# "watchdog" +# "thermal_zone" +# "logind" +# "nfs" +# "nfsd" +# "infiniband" +# ]; +# }; +# }; +# }; promtail = { enable = true; configuration = { diff --git a/modules/monitoring/postgres.nix b/modules/monitoring/postgres.nix index bbb55e6..5505892 100644 --- a/modules/monitoring/postgres.nix +++ b/modules/monitoring/postgres.nix @@ -37,7 +37,7 @@ in options = { path = builtins.fetchurl { url = "https://grafana.com/api/dashboards/14114/revisions/1/download"; - sha256 = "0qza4j8lywrj08bqbww52dgh2p2b9rkhq5p313g72i57lrlkacfl"; + sha256 = "0hk0d2nk8nh5ldd17sy3wwpn1xhyinjlsy5vgmnvpvn6g97n342z"; }; }; } |